bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot bind ctrl-u to a readline function in bash.


From: Chet Ramey
Subject: Re: Cannot bind ctrl-u to a readline function in bash.
Date: Sun, 20 Apr 2008 15:33:28 -0400
User-agent: Thunderbird 2.0.0.12 (Macintosh/20080213)

Woody Thrower wrote:
It appears that bash cannot bind ctrl-u either by using the "bind" command,
or by reading .inputrc at startup.

By default, readline binds the tty editing characters (erase, kill,
literal-next, word-erase) to their readline equivalents when it's called,
if they're bound to readline functions.  If they're bound to macros,
readline won't overwrite the bindings.  It doesn't do anything with the
`reprint' character (default ^R); there's never been demand for it.

Use the `bind-tty-special-characters' variable to enable or disable this
behavior.

Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                       Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]