[Top][All Lists]

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

Re: bind does not modify key bindings

From: Yong Lu
Subject: Re: bind does not modify key bindings
Date: Mon, 13 Feb 2006 17:01:48 -0500
User-agent: Wanderlust/2.14.0 (Africa) Emacs/22.0 Mule/5.0 (SAKAKI)

>>>>> "Chet" == Chet Ramey <address@hidden> 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?  



reply via email to

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