Re: run_readline_command to avoid the bother of binding something

2016-09-18 Thread 積丹尼 Dan Jacobson
OK then please add dump-functions Print all of the functions and their key bindings to the read- line output stream. If a numeric argument is supplied, the out- put is formatted in such a way that it can be made part of an inputr

Re: run_readline_command to avoid the bother of binding something

2016-09-18 Thread Chet Ramey
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

Re: run_readline_command to avoid the bother of binding something

2016-09-18 Thread Chet Ramey
On 9/17/16 11:34 PM, Dan Jacobson wrote: > "There is no way to run any of the commands that are not bound to a > keyboard sequence without binding them to a keyboard sequence." > > http://unix.stackexchange.com/questions/52578/execute-a-readline-function-without-keybinding > > Yes that is right,

Re: run_readline_command to avoid the bother of binding something

2016-09-17 Thread Dan Jacobson
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. Currently one must probably use script(1), bind the key, and then exit and grep

run_readline_command to avoid the bother of binding something

2016-09-17 Thread Dan Jacobson
On the bash page at the end of Readline Command Names The following is a list of the names of the commands and the default key sequences to which they are bound. Command names without an accom- panying key sequence are unbound by default. In the following descrip-