bug-bash
[Top][All Lists]
Advanced

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

Re: run_readline_command to avoid the bother of binding something


From: Chet Ramey
Subject: Re: run_readline_command to avoid the bother of binding something
Date: Sun, 18 Sep 2016 19:43:16 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

On 9/17/16 11:56 PM, Dan Jacobson wrote:
> Furthermore, one could finally do
> $ run_readline_command dump-variables | grep bell
> prefer-visible-bell is set to `on'
> bell-style is set to `audible'
> 
> which is rather impossible, even if one does bind unbound commands.

I suppose it's a waste of time to point out that most of the readline
commands that don't actually move the cursor around or modify the
current command line are available as options to the bash `bind'
builtin.

For instance, you could have run

bind -V | grep bell

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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