Home and End key with rxvt
I use cygwins rxvt at work and have had problems with the End and Home key not working.
I also had the same issue at home using rxvt-unicode on gentoo.
After lots of search last night I finally found the fix for urxvt.
Simply add this to your ~/.inputrc file
# home and end keys for rxvt "\e[7~":beginning-of-line "\e[8~":end-of-line
I then tried this at work this morning and found it works on cygwins rxvt too.
July 20th, 2010 at 9:41 am
thanks so much. issues like this are so hard to come a solution up for. does that sentence make sense? nevermind. kudos
April 3rd, 2014 at 8:22 am
Rather forcing the codes try the solution here in Arch’s wiki: https://wiki.archlinux.org/index.php/Home_and_End_keys_not_working
I was having the same issue (found a post on #!’s forum that led here) because the terminal name was set incorrectly in ~/Xdefaults:
URxvt*termName: screen-256color
The right value should be:
URxvt*termName: rxvt-unicode
HGH!