Link to home
Start Free TrialLog in
Avatar of nrigaud
nrigaud

asked on

Putty keyboard / terminal configuration for Solaris

I would like to know how i could make putty works well with solaris.

I made Backspace key work.
But Up & Down keys don't work.
ASKER CERTIFIED SOLUTION
Avatar of vamsi_uk
vamsi_uk

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nrigaud
nrigaud

ASKER

The shell is ksh.
and the history command works.

when i press these keys, i got:
Up : ^[[A
Down : ^[[B

Is there a way to bind the arrow keys to the history ?
you can press "ESC -" to see and execute the previous commands
You can even do the following:

Esc + j   <--- moves down the command history
Esc + k <-- moves up the command history
Avatar of Tintin
What version of Solaris?

If you are on Solaris =>9, then bash comes as standard.
Avatar of nrigaud

ASKER

ESC + j or k or - don't work.

it is SunOS 5.8 in fact :/
i think i'll use bash.
Refer to this link to see about command history of k shell in solaris 8. The above mentioned commands work on solaris 10. So maybe its not the same in solaris 8.


http://www.phptr.com/articles/article.asp?p=26523&seqNum=5&rl=1
ksh (and bash for that matter) have two types of command line edit modes, emacs and vi.

emacs is the default.

If you prefer vi (like most people), you need to do

set -o vi

Then you can use the Esc - and Esc + etc.