Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19543 - Home and End keys not functional between OpenSSHD and Putty (win32 ssh client)
Summary: Home and End keys not functional between OpenSSHD and Putty (win32 ssh client)
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-18 08:14 UTC by PJ
Modified: 2003-05-20 05:14 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description PJ 2003-04-18 08:14:43 UTC
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. =)
Comment 1 Jon Portnoy (RETIRED) gentoo-dev 2003-04-30 18:00:23 UTC
Do ^A and ^E work?
Comment 2 PJ 2003-04-30 19:39:39 UTC
Yes, they do.
Comment 3 David M. Andersen 2003-05-03 18:56:08 UTC
Try putting this in your .inputrc:

"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[3~": delete-char
Comment 4 PJ 2003-05-03 20:05:43 UTC
Woah, that does the job!
Comment 5 SpanKY gentoo-dev 2003-05-20 05:14:27 UTC
home & end keys work for me in putty ... and they work for you now too it seems ...