Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Nov 2010 09:26:47 -0800 (PST)
From:      crocket <crockabiscuit@yahoo.com>
To:        freebsd-current@freebsd.org
Subject:   Re: Keymaps in X11 and consoles should be the same with TEKEN_XTERM in the kernel.
Message-ID:  <199606.57296.qm@web120309.mail.ne1.yahoo.com>

next in thread | raw e-mail | index | archive | help
--- On Sat, 11/13/10, Eir Nym <eirnym@gmail.com> wrote:

> From: Eir Nym <eirnym@gmail.com>
> Subject: Re: Keymaps in X11 and consoles should be the same with TEKEN_XTERM in the kernel.
> To: "crocket" <crockabiscuit@yahoo.com>
> Cc: freebsd-current@freebsd.org
> Date: Saturday, November 13, 2010, 4:54 PM
> On 13 November 2010 15:52, crocket
> <crockabiscuit@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.



      



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606.57296.qm>