Re: Keymaps in X11 and consoles should be the same with TEKEN_XTERM in the kernel.

From: crocket <crockabiscuit_at_yahoo.com>
Date: Sat, 13 Nov 2010 09:26:47 -0800 (PST)
--- On Sat, 11/13/10, Eir Nym <eirnym_at_gmail.com> wrote:

> From: Eir Nym <eirnym_at_gmail.com>
> Subject: Re: Keymaps in X11 and consoles should be the same with TEKEN_XTERM in the kernel.
> To: "crocket" <crockabiscuit_at_yahoo.com>
> Cc: freebsd-current_at_freebsd.org
> Date: Saturday, November 13, 2010, 4:54 PM
> On 13 November 2010 15:52, crocket
> <crockabiscuit_at_yahoo.com>
> wrote:
> > TEKEN_XTERM turns on xterm mode.
> > I compiled a kernel with TEKEN_XTERM, and changed
> cons25 to xterm in /etc/ttys.
> >
> > When I executed vim on a console, the keyboard acted
> weirdly.
> > After setting TERM back to cons25 again, vim acted
> normally again on consoles.
> > I could assign xterm console characters in
> /etc/termcap to fkeys by writing keychanges="fkeycode
> consolecharacter" in /etc/rc.conf, but it is just a quick
> hack, and it is just a solution for me but not for
> everyone.
> >
>
> Oh... you can do `vidcontrol -T xterm` and your keybindings
> will be correct.

When I execute 'vidcontrol -T xterm', "vidcontrol: illegal option -- T" is displayed. Ah, I use FreeBSD 8.1-RELEASE, not -CURRENT. Maybe that's why I don't have -T option. I posted my message here because development of TEKEN_XTERM is an ongoing process.

>
> > I would be glad keymaps in X11 and consoles became the
> same with TEKEN_XTERM in the kernel.
> > If the keymaps in consoles and X11 are the same, 99%
> of configurations I needed to make in applications will be
> unneeded. It will benefit everyone.
> >
> >
>
> As Ed said some days before, you should use TEKEN_XTERM
> _or_
> TEKEN_CONS25 in your kernel.

I don't understand what you answered to. However, TEKEN_CONS25 is not in my kernel configuration. And There was a typo.
"I would be glad keymaps in X11 and consoles became the same with TEKEN_XTERM in the kernel" should be
"I would be glad "if" keymaps in X11 and consoles became the same with TEKEN_XTERM in the kernel"

Do you think xterm way(instead of syscons way) of key symbol to console character conversion should become the default in 9.0-RELEASE?
I think it should be since syscons is being replaced by teken, which uses xterm. I'm not sure if I used terms right.

PS. teken reminds me of tekken, an arcade game.



      
Received on Sat Nov 13 2010 - 16:26:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:09 UTC