On Thu, May 03, 2001 at 11:42:21AM +0100 or thereabouts, Kenn Humborg wrote:
> > > what does adding
> > >
> > > ESC: complete
> > >
> > > do when you add it to your ~/.inputrc? search for inputrc in the bash
> > > man page for more info.
> >
> > Yup, that does it. Must read more. BTW, a double-ESC already does this.
> > Is there something that a single ESC does that I've wiped out by
> > mapping to
> > "complete"?
>> Hmmm... Might cause trouble all right. ESC is the start
> marker for escape sequences, such as ESC [ D which is cursor
> left, ESC [ A which is cursor up.
>> So, unless readline is really smart, you might find that your
> up-arrow key produces '<complete>[A'. If readline uses a
> short timeout after ESC to distinguish ESC or up-arrow, then
> it'll probably work OK over a fast connection/locally, but get
> unreliable over a slow telnet or ssh link.
OW! It did *exactly* that! At a console!
vi ~/.inputrc
/ESC
dd
:wq
is called for!
Conor
--
Conor Daly
Met Eireann, Glasnevin Hill, Dublin 9, Ireland
Ph +353 1 8064217 Fax +353 1 8064275
------------------------------------
10:49am up 23 days, 20:00, 12 users, load average: 1.07, 1.07, 1.06
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!