Date: Tue, 9 Nov 2010 11:03:19 +0100 From: Ed Schouten <ed@80386.nl> To: Eir Nym <eirnym@gmail.com> Cc: FreeBSD Mail Lists <freebsd-current@freebsd.org> Subject: Re: Syscons and termcap Message-ID: <20101109100319.GV2054@hoeg.nl> In-Reply-To: <AANLkTi=Sd-VpqcBGHy%2BNATC9qL=YY2CcJ1aQ8O3XBk07@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Hello Eir, * Eir Nym <eirnym@gmail.com>, 20101109 05:10: > I've compiled -CURRENT kernel with UTF-8 and CONS25 support. ( r214751 ) > > in xterm emulation mode I have problems with bindings for some keys, > such as Home > If I start vis(1) and press Home, I always get "^[[H" sequence instead > of "^[OH" which is defined in termcap (5) file. > > I get correct results after switching to cons25. > > What do I wrong ? Does sc(4) driver in current correctly support > xterm-like key bindings? Yes, but not only must you set TERM=xterm, you must also remove TEKEN_CONS25 from your kernel configuration or run vidcontrol -T xterm on that specific window. There is almost no reason why anyone would want to use the TEKEN_CONS25 option. Depending on whether the terminal is switched to cursor keys mode, it will return ^[[H or ^[OH. See /sys/teken/teken.c, teken_get_sequence(). Greetings, -- Ed Schouten <ed@80386.nl> WWW: http://80386.nl/ [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkzZHGcACgkQ52SDGA2eCwULIgCbBETza1mFAUKISh141T9f+bjt 2bcAnA3jJ0ZwqcabordSZZGJ/tTPdZGj =1yLw -----END PGP SIGNATURE-----home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101109100319.GV2054>
