The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 07-03-2009
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,889
There is probably a term mismatch. Try telling putty to use vt220. And in the settings window, there is a section for "keyboard". You might want to experiment with different keyboard emulations. Usually the "Esc" is preferred.

To match this on the unix side, throw this into the .profile/.bashrc:

Code:
export TERM=vt220

You can also try xterm-color or xterm-ansi or just ansi.

There are several ways to tell bash to use the "vi" command-editing mode, but if you are only familiar with up/down arrow keys, then you might want to use "set -o emacs". Additionally, there's a file called ".inputrc" which is read normally by bash and will configure the keyboard how you like. Look at the manpage for "readline".