How to make home and end keys work with Putty

Using Putty to ssh onto a Debian machine, the “home” and “end” keys don’t behave well.  By default, both of these keys output a “~” character instead of moving the cursor to the beginning or end of the line.

I found the solution, it’s a simple change in Putty’s settings (Connection -> Data -> Terminal-type string).  By default this is set to “xterm” but changing it to “linux” fixes the home and end keys.

Related Posts:

Tags: ,

Leave a Reply