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: Bob Proulx
Subject: Re: Cannot bind ctrl-u to a readline function in bash.
Date: Sun, 20 Apr 2008 18:51:40 -0600
User-agent: Mutt/1.5.13 (2006-08-11)

Chet Ramey wrote:
> Bob Proulx wrote:
> >Normally control-u is bound to tty driver kill.  Because of there is a
> >tty driver value for ^U that value always overrides any readline
> >binding.  But if ^U is remove from the tty driver setting then it
> >won't.
> 
> Note that undefining a tty editing character with stty makes it unavailable
> to all programs you run.  Programs that don't use readline to read input
> will not be able to perform the function the tty editing key is intended
> to provide.

True.  For "werase"/word-erase that probably won't matter very much.
But for any of the others and especially for some such as "erase" that
would probably not be good.  :-)

Bob




reply via email to

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