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?
01 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>.
- Log on to your server
- Run
echo $TERM- it should say
xtermorputty
- it should say
- 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, runTERM=xtermand try again
- if it says
- 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.
1