[Solved] SSH with PuTTY - Home/End keys don't work
- From: Nikos Chantziaras <realnc@xxxxxxxx>
- Date: Mon, 14 Jan 2008 19:53:17 +0200
Nikos Chantziaras wrote:
When I login using SSH to an openSUSE 10.3 machine from another Unix machine with the 'ssh' client, all is fine; the Home and End keys work. However, when I login from a Windows machine using the PuTTY client, those keys won't work. I tried every possible configuration in PuTTY to no avail.
On other machines I login to with PuTTY (CentOS, Gentoo, Solaris), they work. Only the openSUSE 10.3 machines have this problem.
Any tips?
I fixed the problem. It was unrelated to the terminal definition. In /etc/inputrc lines 135 and 136, this is the default in openSUSE 10.3:
#
# Home and End
#
$if term=xterm
#
# Normal keypad and cursor of xterm
#
"\e[1~": history-search-backward
"\e[4~": set-mark
I don't know who's responsible for that configuration, but it was *NOT* a good idea. Or perhaps it's a bug/oversight; I see no reason to have Home/End do anything else than their most obvious funtion: to reposition the cursor. I commented out the two lines and everything is working OK now.
I'm not sure if this should be reported as a bug.
.
- References:
- SSH with PuTTY - Home/End keys don't work
- From: Nikos Chantziaras
- SSH with PuTTY - Home/End keys don't work
- Prev by Date: Re: how to set up 'no need for ability to handle multiple users on machine'
- Next by Date: Re: Upgrade 10.0 to 10.3 hangs?
- Previous by thread: Re: SSH with PuTTY - Home/End keys don't work
- Next by thread: SLED 10: rpm --install beind a proxy
- Index(es):
Relevant Pages
|