Auto Complete under AIX


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Auto Complete under AIX
# 1  
Old 10-04-2001
Network Auto Complete under AIX

How can one setup auto complete under AIX
when you type a path etc. by pressing a sequece of keys yu can complete the line.
Any sugestions !!!!
# 2  
Old 10-04-2001
if your shell is ksh & you know vi.

set -o vi
# 3  
Old 10-04-2001
I know nothing about the emacs editor (honest!), but when in emacs mode, you can auto-complete a file or command by hitting the Escape key twice. To get there, type "set -o emacs".
# 4  
Old 10-04-2001
Thanks youve been a great help - it worked
# 5  
Old 10-10-2001
Tools

Install BASH as ur shell...

You'll also have command-history available...
# 6  
Old 10-10-2001
Is there no other way to get auto-complete and command history without installing BASH
# 7  
Old 10-10-2001
Since I "grew up" without BASH and the benifits of
"auto-complete", I don't use it when using bash.
However, ksh fully supports history and using your
favorite editor (vi or emacs) for the command line
interface and browsing through your command history...

# from .profile file
export HISTSIZE=100
export EDITOR=vi

...give me a history of my last 100 commands (lines)
and allows me to use a vi like interface. For instance,
I ran a telnet command earlier with an IP address.
I want to get to that system again.
At the command line I press Esc then /telnet
and it will search ("/") my history for "telnet".
If I ran several telnets an I don't get the one in question
then I type /Enter and it searches again.
That's just one example.

I don't know (but I have heard rumors) that auto-complete
is available on ksh now but I cannot verify or deny this Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Emacs auto-complete comments too

I am using emacs auto-complete. Auto completion works well, however text inside comments blocks is not auto completed. I want to auto complete when writing comments as well but cannot find a way to set it up yet. (0 Replies)
Discussion started by: kristinu
0 Replies

2. Shell Programming and Scripting

Shell - Auto complete shell windows

*Sorry for my other post in French* Hi everyone! In my work I have to find how can I auto complete this type of windows (screenshot) in Shell with defined variables. http://opsi-fr.opensides.be/opsi-doc/stable/xhtml/fr/images/mysql-config-input-mask.png Thank you so much for replies! :) (1 Reply)
Discussion started by: devilsnake88
1 Replies

3. AIX

Auto startup and shutdown in AIX

Hi All, I would like to schedule auto IPL (shutdown and start-up) by using a shell script. Can you please give me some idea? want to test on my lab box first. shell script should bring AIX LPAR down and then need to start/activate the LPAR after 30 min any idea is highly... (3 Replies)
Discussion started by: System Admin 77
3 Replies

4. Shell Programming and Scripting

AIX 6.1 Error: 0403-053 Expression is not complete; more tokens expected.

Hi I have been trying every possible solution available for this error on this Forum but could not resolve it. When i am running the below script i get this error.:mad: sh diskMonitor.sh diskMonitor.sh: -: 0403-053 Expression is not complete; more tokens expected. diskMonitor.sh: -:... (5 Replies)
Discussion started by: nitinkatipn
5 Replies

5. UNIX for Dummies Questions & Answers

Auto Complete variable names in KSH

Hi, I use KSH a lot. I wanted to know if I can auto-complete a Variable name in the environment. I know this is possible in tcsh. I use the vi mode to edit commands on command prompt. Any help would be much appreciated. Thanks..!! (4 Replies)
Discussion started by: grep_me
4 Replies

6. AIX

AIX auto delete old mail messages

We have had an issue where the mail file filled up. Is there a setting in sendmail.cf to automatically remove old emails? Say after 14 days. If not is there any way automatically to delete older mail files?? (1 Reply)
Discussion started by: daveisme
1 Replies

7. UNIX for Dummies Questions & Answers

auto-complete in terminal

Dear friend i have intalled sun solaris in vmware (vertual machine) untill now every things are ok but i have proplem when i tray to use tap key in terminal for auto complete the terminal window prsent to me space only i tried many also in many profile it seem the same proplem also if i print... (3 Replies)
Discussion started by: Mohammed-syria
3 Replies

8. Shell Programming and Scripting

Custom auto-complete

Hello: I am using csh, and am a complete noob when it comes to shell scripting. I want the following: 1) Ignore case when doing auto-complete. 2) If there are multiple matches (example: I have files abc.txt abc.txt.1, abc.txt.2 and type abc<tab>), count the number of matches. If... (1 Reply)
Discussion started by: madiyaan
1 Replies

9. UNIX for Dummies Questions & Answers

Auto Complete

Hi ! Can anybody please give me any clue how to set on the Auto Complete option (auto complete paths by pressing escape) in unix ? Thanks! Pablo. (4 Replies)
Discussion started by: cordobapablo
4 Replies

10. UNIX Desktop Questions & Answers

Auto complete

How can I set up the profile for a use so when entering a eg first charachter of a file and then pressing the tab OS will complete the file name. Thanks in advance Tom (4 Replies)
Discussion started by: Tom_Zamani
4 Replies
Login or Register to Ask a Question