[ILUG] filename completion and xmodmap
Kenn Humborg
kenn at bluetree.ie
Thu May 3 11:42:46 IST 2001
> > 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.
Later,
Kenn
More information about the ILUG
mailing list