>>>>> "Chet" == Chet Ramey <[EMAIL PROTECTED]> writes:


    > It does, actually.  Bash-3.1 key bindings interpret the "\M-" prefix the
    > same way that the dispatch code does:  if the convert-meta flag has been
    > set, the sequence is converted into an escape-prefixed sequence and
    > bound accordingly.  If that variable is off, the eighth bit is turned
    > on (`metafying' the following character).

    > What bash-3.1/readline-5.1 did not do (and has been changed since) is
    > change the code that bind -p calls to list key bindings to not use
    > the \M- prefix for escape-prefixed key sequences when convert-meta is
    > off.

    > The following sequence of commands should illustrate the difference.
    > The cat -v is in there to make the M-p visible.


Hi, thanks for your reply!  With bash2, I can simply modify the output
of `bind -vp` and read back the keybinding by `bind -f`.  How can I
make it to work with bash3 too?  

Thanks,

-Yong


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to