vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I've installed bash on aix 5.1, as I like it as a shell much more than ksh. One of my colleagues is complaining that when he uses the up arrow for history, the cursor is positioned at the beginning of the line, rather than the end of the line like in linux. It's impossible then to delete the last character on the line. Why does the history behave like this in AIX, and is there a way to change it so it behaves more like in Linux? |
| |||
| Darren Birkett wrote: > Hi, > > I've installed bash on aix 5.1, as I like it as a shell much more than ksh. > One of my colleagues is complaining that when he uses the up arrow for > history, the cursor is positioned at the beginning of the line, rather than > the end of the line like in linux. It's impossible then to delete the last > character on the line. Why does the history behave like this in AIX, and > is there a way to change it so it behaves more like in Linux? this is odd, since I'm using bash on AIX 5.1 and cursor is always at EOL. bash --version GNU bash, version 2.05b.0(1)-release (powerpc-ibm-aix5.1) Copyright (C) 2002 Free Software Foundation, Inc. oslevel -r 5100-05 -- Alberto 'JCN-9000' Varesio AKA BlueRider AIX pSeries System Admin Datavision PLM - Tel: +390117710276 Biker on HONDA CB500 - LHG http://www.datavisionplm.com Jeeper on Sport TJ - Wave Please http://www.fsf.org/philosophy/no-word-attachments.html, thx! == Treat your password like your toothbrush. Don't let anybody else use it, and get a new one every six months. --Clifford Stoll |
| ||||
| On Wed, 14 Jul 2004 16:36:16 +0200, Alberto 'JCN-9000' Varesio <Fake.User@Hotmail.com> wrote: > Darren Birkett wrote: >> Hi, >> >> I've installed bash on aix 5.1, as I like it as a shell much more than ksh. >> One of my colleagues is complaining that when he uses the up arrow for >> history, the cursor is positioned at the beginning of the line, rather than >> the end of the line like in linux. It's impossible then to delete the last >> character on the line. Why does the history behave like this in AIX, and >> is there a way to change it so it behaves more like in Linux? > > this is odd, since I'm using bash on AIX 5.1 and cursor is always at > EOL. > > bash --version > GNU bash, version 2.05b.0(1)-release (powerpc-ibm-aix5.1) > Copyright (C) 2002 Free Software Foundation, Inc. > > oslevel -r > 5100-05 > > The hehaviour is also determined by the ~/.inputrc file or whether at some point "set -o vi" or "set -o emacs" has been issued, for example in some profile file. Villy |