Hi. I have had this problem since day one of my using Gentoo (for me, that's from version 1.2.) I have never had use of my 'Home' or 'End' keys when remotely logging into ANY Gentoo box using OpenSSHD as the server, and Putty on my windows box as the SSH client. This same problem has occurred between every Windows/Putty Gentoo/OpenSSHD box I have been able to get my hands on. Gentoo is the _ONLY_ distribution that has this problem with Putty. I can log into any other Linux box and my Home / End keys function completely normally. When logged directly into my Gentoo box's console, the Home / End function normally. Putty is set into xterm emulation (echo $TERM returns xterm) and "Home and End Keys" is set to 'Standard'. When I set "Home and End Keys" to 'rxvt' the Home key functions normally, but End causes the number 7 to be printed on screen. I have pretty much run out of ideas to try to fix this. I have tried adjusting pretty much every option I could find. I am honestly not sure what is going on here. If its an issue with Gentoo, Putty, or the stars not properly aligned. Given that putty functions correctly with every other linux machine I can find, I'm leaning towards Gentoo being at fault here. I'm hoping one of you guys might know what's going on. =)
Do ^A and ^E work?
Yes, they do.
Try putting this in your .inputrc: "\e[1~": beginning-of-line "\e[4~": end-of-line "\e[3~": delete-char
Woah, that does the job!
home & end keys work for me in putty ... and they work for you now too it seems ...