Re: [ILUG] filename completion and xmodmap

From: Conor Daly (conor.daly at domain met.ie)
Date: Thu 03 May 2001 - 11:51:16 IST


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


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:10:10 GMT