Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

key binding in Ksh - Solaris

Status
Not open for further replies.

billbose

Programmer
Jan 15, 2001
66
US
Hi ksh users,

My arrow keys are giving garbage characters when i telnet from a MS Windows Workstation. Could somebody tell me how to bind the the UP and DOWN arrow keys in such a way that I could use history.
I am using solaris 2.7 FYI.

TIA.

Bill
 
You need to check that $TERM is set to match your terminal emulation.
For instace if you have vt100 emulation than in ksh type
export TERM=vt100.

If you can not get the arrow keys working try to use the vi keys to navigate, j & k for up & down etc... assuming you have vi set as your editor (ksh -o vi or set -o vi).



Ged Jones

Top man
 
Bill,

Enable VT100 Arrow Keys is a preferences option in MS telnet
Mike
michael.j.lacey@ntlworld.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top