xterm Home/End keycodes
Thomas Dickey
dickey@his.com
Sun Mar 15 00:41:00 GMT 2009
On Sun, 15 Mar 2009, Andy Koppe wrote:
> 2009/3/15 Thomas Dickey <dickey@his.com>:
>>> I'm a bit confused about those. They didn't change during the xorg
>>> transition, did they? I could have sworn they sent VT220-style ^[[1;
>>> and ^[[4; but actually they send PC-style ^[[H and ^[[F. Of course I
>>> should have realised this when I changed F1 to F4 to PC-style codes in
>>> MinTTY ...
>>
>> PC-style is the upstream default (I don't recall whether cygwin's
>> older package modified the app-defaults files).
>
> Thanks, I think my confusion actually stemmed from starting with PuTTY
> code, which sends VT220-style keys when set to Xterm mode.
I tend to ignore PuTTY's keyboard options, since they don't really
match xterm's options.
> I note that Debian uses PC-style too. Is this issue fairly settled
> then, i.e. do most systems use the PC-style keycodes for their "xterm"
> terminfo entries?
PC-style's the default since a long time ago when the keyboard tables were
constructed for the PC keyboards.
I implemented the VT220-style editing-keypad as something that could
change from that default, but (aside from one of the terminfo's several
years ago using VT220), xterm's used the PC-style since I've been working
on it in 1996.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/
More information about the Cygwin-xfree
mailing list