The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Custom auto-complete madiyaan Shell Programming and Scripting 1 05-23-2008 02:06 PM
Auto Complete cordobapablo UNIX for Dummies Questions & Answers 4 10-18-2005 01:53 PM
Auto complete Tom_Zamani UNIX Desktop for Dummies Questions & Answers 4 07-28-2005 05:30 AM
complete newbie davidjk UNIX for Dummies Questions & Answers 2 08-08-2002 08:24 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-04-2001
truma1 truma1 is offline
Registered User
  
 

Join Date: Aug 2001
Location: Cape Town,South Africa
Posts: 41
Angry 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 (permalink)  
Old 10-04-2001
Optimus_P Optimus_P is offline Forum Advisor  
flim flam flamma jamma
  
 

Join Date: May 2001
Location: Chicago IL, USA
Posts: 1,006
if your shell is ksh & you know vi.

set -o vi
  #3 (permalink)  
Old 10-04-2001
LivinFree's Avatar
LivinFree LivinFree is offline Forum Advisor  
Goober Extraordinaire
  
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
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 (permalink)  
Old 10-04-2001
truma1 truma1 is offline
Registered User
  
 

Join Date: Aug 2001
Location: Cape Town,South Africa
Posts: 41
Thanks youve been a great help - it worked
  #5 (permalink)  
Old 10-10-2001
eddies eddies is offline
Registered User
  
 

Join Date: Oct 2001
Posts: 2
Cool

Install BASH as ur shell...

You'll also have command-history available...
  #6 (permalink)  
Old 10-10-2001
truma1 truma1 is offline
Registered User
  
 

Join Date: Aug 2001
Location: Cape Town,South Africa
Posts: 41
Is there no other way to get auto-complete and command history without installing BASH
  #7 (permalink)  
Old 10-10-2001
rwb1959's Avatar
rwb1959 rwb1959 is offline
Registered User
  
 

Join Date: Aug 2001
Location: Virginia, USA
Posts: 438
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
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:52 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0