Date: Sat, 13 Nov 2010 19:54:45 +0300 From: Eir Nym <eirnym@gmail.com> To: crocket <crockabiscuit@yahoo.com> Cc: freebsd-current@freebsd.org Subject: Re: Keymaps in X11 and consoles should be the same with TEKEN_XTERM in the kernel. Message-ID: <AANLkTi=3zKEMJ3uJeGGMQmNr%2BvzzHrjVNmyVT8hnA4S5@mail.gmail.com> In-Reply-To: <512851.76377.qm@web120315.mail.ne1.yahoo.com> References: <512851.76377.qm@web120315.mail.ne1.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. > 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=3zKEMJ3uJeGGMQmNr%2BvzzHrjVNmyVT8hnA4S5>