Home and End keys in RXVT
When using RXVT the "Home" and "End" keys result in a "~" instead of moving the cursor. They work properly in xterm, xemacs, and other programs. I have a pc105 en_us Mitsumi (very standard) keyboard, using Slackware 10.0. Any help would be appreciated.
re: Home and End keys in RXVT
While it may not solve your problem, as a work around the emacs keybindings "C-e" for end of line and "C-a" for beginning of line should work. What is $TERM set to in your shell environment? I've never seen this problem with rxvt in Slackware but you might want to check your /etc/termcap settings to see if something has been changed.
I had this problem when moving from bash to zsh, I managed to fix it but have forgotten right now :\
I tried "C-e" for end of line and "C-a" for beginning and it works. The $TERM variable gives "xterm." I looked at /etc/termcap, but I have no idea what is going on there.
I checked file:///usr/doc/rxvt-2.7.10/doc/rxvtRef.html#KeyCodes and it says that:
Home ESC [ 7 ~ ESC [ 7 $ ESC [ 7 ^ ESC [ 7 @
End ESC [ 8 ~ ESC [ 8 $ ESC [ 8 ^ ESC [ 8 @
whatever that means. I can get the characters "~ $ ^ @" by pressing Shift, Ctl, Alt and the Home and Delete keys, as apparently indicated in the KeyCodes table.
Here is my ~/.Xdefaults for RXVT:
!rxvt.font: smoothansi fkp glisp
And here is my start-up command in my xfce menu:
rxvt -bg black -fg AntiqueWhite -sl 128
|All times are GMT -5. The time now is 08:29 PM.|