bug-bash
[Top][All Lists]
Advanced

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

run_readline_command to avoid the bother of binding something


From: Dan Jacobson
Subject: run_readline_command to avoid the bother of binding something
Date: Sun, 18 Sep 2016 11:34:38 +0800

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-
       tions,  point refers to the current cursor position, and mark refers to
       a cursor position saved by the set-mark command.  The text between  the
       point and mark is referred to as the region.

please mention

"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, just to run e.g.,

       dump-variables
              Print all of the settable readline variables and their values to
              the readline output stream.  If a numeric argument is  supplied,
              the  output  is formatted in such a way that it can be made part
              of an inputrc file.

once, one has to bind it to a key.

Why can't there be some

$ run_readline_command dump-variables




reply via email to

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