removing kH and *6 from xterm

Rong-en Fan grafan at gmail.com
Wed Jan 2 18:16:55 PST 2008


Hi folks,

Recently, I'm looking into 100150 which reports END key does not working in
mutt. With some help from ncurses author, I think this problem is caused by
our termcap. To be specific, our termcap defines kH, @7 (the END key), and *6
to \EOF. ncurses has the limitation that it will only return the first matched
key back. So, in ncurses based program, it receives kH instead of @7 when you
hit END.

I just checked NetBSD's termcap, they only defines @7 to \EOF in xterm entry.
Also, on a Linux box, infocmp shows that only @7 is defined but not *6 and kH.
So, I'm wondering whether we should remove those two keys (kH and @7)?

Thanks,
Rong-En Fan


More information about the freebsd-arch mailing list