cancel
Showing results for
Did you mean:

SOLVED
Go to solution

## Getting previous commands using up arrows

Dear all,,,
i have tru64 version 4.0f and i need to use the up and down arrows to get the previos commands
i but the "set -o vi" then i could use the esc with k to get the previous commands but i need to use the arrows
thx for help
Mahdi
6 REPLIES
Honored Contributor

## Re: Getting previous commands using up arrows

Why not doing "set -o emacs" (if you use ksh) instead of "set -o vi". Than you can use the arrows.
In vino veritas, in VMS cluster

## Re: Getting previous commands using up arrows

currently am using it but i need also to know how to use it with vi
Mahdi
Honored Contributor
Solution

## Re: Getting previous commands using up arrows

I doubt if this can be easily accomplished, as vi defaults to 'k' for scrolling up.
Honored Contributor

## Re: Getting previous commands using up arrows

BL may be right. It also depends on terminal type. Maybe "stty" can help but not sure how.
In vino veritas, in VMS cluster