Hi, big guys, I'm new to AIX, just wondering how I can get the auto
completion on ksh commands done like Esc+\ in Solaris and HP, I've run
"set -o vi", but this seems not working on AIX 4.3, anybody can tell me how
to do that? Thanks a lot.
Simon
Simon
Try "set -o emacs", then auto completion works with ESC ESC. Or install bashQuote:> Hi, big guys, I'm new to AIX, just wondering how I can get the auto
> completion on ksh commands done like Esc+\ in Solaris and HP, I've run
> "set -o vi", but this seems not working on AIX 4.3, anybody can tell me
how
> to do that? Thanks a lot.
> Simon
/Henric
$cd /etc
$ls -al p<escape>*
This will expand all matching files, so it is not exactly the same as <tab> in
bash
Jeff McElroy
> Simon
> Hi, big guys, I'm new to AIX, just wondering how I can get the auto
> completion on ksh commands done like Esc+\ in Solaris and HP, I've run
> "set -o vi", but this seems not working on AIX 4.3, anybody can tell me how
> to do that? Thanks a lot.
> Simon
Now if you are really talking about COMMAND completion KSH doesn't support
true command completion. This is where if you were to type "wr" for the
command then ESC \ it would search your path for a command with "wr" and
complete it if it can "write".
- Matt
--
AIX and HACMP Certified Specialist | | / \ |\| | \. ,_| _| --
/ Comments, views, and opinions \ | |_/ ^ \| | ) | | \, *_)
\ are mine alone, not IBM's. / |___|/~\_\_|\|__/|_| \(
Ted.
==============================================================
| BSc GradDipDP CNA MACS PCP |
| Nunawading, Victoria , Australia |
==============================================================
1. ksh: 2 Q's, command completion & command history?
Hi all,
Command completion in ksh is done with Esc Esc (hitting the escape key
twice). Although I've never been successful at getting this to work on
my system at work (AIX 3.2.5), I read that's the key sequence for
command/path completion.
My question is, can that be changed to the Tab key and if so how, in
ksh? Command completion in tcsh and bash use the Tab key. The Tab key is
SO MUCH MORE convenient a key for command completion.
Another question... about previous command retrieval. bash and tcsh use
the UP and DOWN arrow keys for command retrieval. ksh uses Esc-k & Esc-j
respectively. UP & DOWN are MUCH BETTER choices. Can this be changed in
ksh and how?
Any guidance would be appreciated. I like the ksh for it's better (I
think so) scripting/programming features but the way it implements
command/path completion and previous command retrieval is really
annoying me. So much time can be saved with the use of Tab and UP,DOWN
keys.
Thanks, Zoran.
3. 2.4.x kernel and auto-completion command
4. Solaris 2.6 x86+Linux+WinNT+Win95
5. ksh Filename Completion using vi command line editing mode?
7. command completion like bash under ksh
8. Question about D1000 and A1000 diskarray
9. command completion in ksh ?
10. command line completion in ksh
12. ksh: vi inline editor command completion