Operating System - HP-UX
1753774 Members
7017 Online
108799 Solutions
New Discussion

ksh vs. bash / tab for complimentation

 
mario.schroeder
Frequent Advisor

ksh vs. bash / tab for complimentation

I use linux@home, so I want type the tab-key for completing instead of the esc-tab. How can I do this?

 

P.S. This thread has been moved from  Training & Education to HP-UX > languages. -HP Forum Moderator

4 REPLIES 4
Mark Grant
Honored Contributor

Re: ksh vs. bash / tab for complimentation

Install "bash" on your machine.

You can get it for hpux here

http://hpux.connect.org.uk/hppd/hpux/Shells/bash-2.05b.007/
Never preceed any demonstration with anything more predictive than "watch this"
G. Vrijhoeven
Honored Contributor

Re: ksh vs. bash / tab for complimentation

Vijaya Kumar_3
Respected Contributor

Re: ksh vs. bash / tab for complimentation

In korn shell,

Esc \ (Escape key and backslash) do file name completion.

Also
Esc =
Esc n (n is the number)

works.

Make sure you have "set -o vi" set on your korn shell.


Vijay
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
Jeroen Peereboom
Honored Contributor

Re: ksh vs. bash / tab for complimentation

By the way,

I just noticed that esc-esc works in Red Hat 9. I know you want to use TAB everywhere, but maybe you can use esc-esc everywhere.

By the way, you found a way to make your arrow-keys working on HP-UX too, for command history? (Setting EDITOR=emacs and something else?)

JP.