Operating System - HP-UX
1834454 Members
2793 Online
110067 Solutions
New Discussion

Re: vi commands on Prompt

 
SOLVED
Go to solution
panchpan
Regular Advisor

vi commands on Prompt

Hello.
In HP-UX, I am able to use Esc k(for previous command) and then all other vi commands on the prompt itself.
Do you know, what is the replacement for Esc k and such features in AIX?

Thank you!
5 REPLIES 5
MarkSyder
Honored Contributor

Re: vi commands on Prompt

It's the same - or at least it was when I last used aix, four years ago.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Torsten.
Acclaimed Contributor

Re: vi commands on Prompt

IMHO this is not a question about the OS but about the used shell.

For example on bash (avail. for almost all OS) you can use the arrow keys.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Marcin O.
Frequent Advisor
Solution

Re: vi commands on Prompt

Hello
If you have in aix "vi" editor you can always do "set -o vi" to get similar compatibility like in hp-ux. In linux it works.

Thanks
Marcin
Marcin O.
Frequent Advisor

Re: vi commands on Prompt

Hi

You haven't assigned any points yet.
If these answers were helpful, please read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33

Thanks
Marcin
panchpan
Regular Advisor

Re: vi commands on Prompt

THANK YOU ALL... I AM REALLY IMPRESSED BY THIS FORUM !!!
It woked using set -o vi :-)

Thank you