LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices

Reply
 
Search this Thread
Old 09-16-2004, 09:00 AM   #1
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
Angry i must protest...


i am a number of weeks into aix 5L version 5.1 (company standard says so), and i have two gripes with it:

my first gripe is: there is no tab complete, not even <esc> <esc> works, and any combination after that isnt worth it as it'd be quicker to type it. Anyone found a way around this i would very much appreciate it if you could tell it here.

second gripe: the arrow keys to use commands that were in the history dont work. very annoying but at least <ctrl-k> works as a vi alternative.

After all this i do have to say that i very much like smit. quality tool, that. over all AIX is a good os.
 
Old 09-16-2004, 09:08 AM   #2
iainr
Member
 
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
Both your complaints seem to relate to the Korn shell rather than AIX. If you want Bash functionality, just install bash on your AIX boxes.

You'll find it on the "AIX toolbox for Linux Applications for Power Systems" CD which should have shipped with the base OS CDs. Install it using the standard rpm commands, or through smit install_latest.
 
Old 09-16-2004, 09:13 AM   #3
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Original Poster
Rep: Reputation: 30
ah yes, true true its a ksh limitation is it? is there anything i can install (apart from bash as i doubt thats "company policy")?
 
Old 09-16-2004, 09:29 AM   #4
iainr
Member
 
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
Not that I know of; ksh just doesn't support those features. Sorry.
 
Old 09-16-2004, 05:04 PM   #5
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
ksh command history is like "old fashioned people vi" works.
You type EDITOR=vi
and then you type ESC k in order to go higher, j to go lower, space to move from one character to the next one, dw in order to delete a word, c2w to change two words, etc.
If you prefer, you type EDITOR=emacs, and you use emacs commands (Ctrl-P, etc...).

The TAB is another problem. TAB is CTRL-I, some terminal descriptions don't accept it. If you are on the main graphic console, type ECHO $TERM and look if the answer is dtterm or aixterm.

You know, the problems you face seem to show that you are not a true Unix user, but a Linux gadgets user. This means that, on a "true" Unix (AIX, sun-os, HP, etc...) you will have to learn some tricks, or install your favourite bash environment just like iainr says.
Hope this helped.
Zorba
 
Old 09-16-2004, 11:39 PM   #6
crabboy
Moderator
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
Also for the command completion in ksh:

set -o vi (Put the shell in vi mode )

<esc> \ ( completes command line )

And use the <esc> k for history like zorba stated, once in vi mode.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fuel Protest - have u got one? F0ul_Olli General 23 09-16-2005 11:41 AM
Software patents - let's protest pe2338 LQ Suggestions & Feedback 1 08-30-2003 10:39 AM
Protest! qulnxsh General 15 08-28-2003 02:38 AM


All times are GMT -5. The time now is 08:52 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration