On my Thinkpad, in xterm, pressing home and end give:
$ cat -v
^[[H
^[[F
$ infocmp |sed 2!d
xterm|X11 terminal emulator,
$ infocmp -1|grep '\\E\[[FH]'
clear=\E[H\E[2J,
home=\E[H,
$ infocmp -1 -C|grep '\\E\[[FH]'
:cl=\E[H\E[2J:\
:ho=\E[H:\
Well for some reason lynx and w3m know what end sends even though it
isn't listed above. Home OK too.
In rxvt,
$ cat -v
^[[7~
^[[8~
$ infocmp|sed 2!d
rxvt-unicode|rxvt-unicode terminal (X Window System),
$ infocmp -1 |grep '\\E\[[78]~'
kend=\E[8~,
khome=\E[7~,
$ infocmp -1 -C|grep '\\E\[[78]~'
warning: rxvt-unicode entry is 1134 bytes long
:kh=\E[7~:\
Here we have different names, and termcap lesser entries, and all I
know is lynx still knows what to do but w3m doesn't respond to home
and end.
The Thinkpad r50e does not have a keypad, and I didn't hit shift, not
tinker in ~/.Xresources.
On my desktop 2.6.16-1-k7, all the above is the same. And there is an
additional numerical keypad at the right, where there are additional
home and end keys, and they send:
^[Ow ^[Oq in rxvt (lynx uses them, w3m doesn't), and again ^[[H ^[[F in xterm.
In /etc/X11/xorg.conf on both machines I do
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
but apparently that is not the problem.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]