Putty keyboard mapping

putty

I'm using putty to ssh to a unix server
I can't see any colours is one major annoyance
also, if I press home/end, backspace etc it doesn't work.

I tried changing the Keyboard configuration, but none of the combinations I tried worked.

any ideas?

Best Answer

What type of server? Linux? Solaris? Something else?

For each key, the aim is to have tput <key name> produce the same output as pressing
Ctrl+V <key>.

  1. Log on to your server
  2. Run echo $TERM
    • it should say xterm or putty
  3. Run tput kbs | cat -v
    • if it says ^H, change PuTTY settings so backspace sends ^H
    • if it says ^?, change PuTTY settings so backspace sends ^?
    • if it prints an error message, and you have TERM=putty, run TERM=xterm and try again
  4. Run tput khome | cat -v
    • tell us the output and we can figure out which setting you need

See Configuring PuTTY for some hints and more details.

Related Question