readline + binding; still frustrated after 4 yrs of trying

William Case billlinux at rogers.com
Fri Mar 12 00:02:20 UTC 2010


On Thu, 2010-03-11 at 18:41 -0500, William Case wrote:
> On Thu, 2010-03-11 at 12:58 -0800, Michael Elkins wrote:
> > On Thu, Mar 11, 2010 at 01:37:29PM -0500, William Case wrote:
> > >     "\M-\C-b": backward-word
> > >     "\M-\C-f": forward-word
> > 
> > > As I say, I have tried several different versions e.g "\M-\C-b": and
> > > "\M-\C-f: but nothing works. Even after using C-xC-r or rebooting.  (I
> > > am familiar with emacs bindings.)
> > 
> > In my setup Meta-Control-B sends a two character sequence of ESC ^B.
> > 
> > The following seems to work:
> > 
> > "\e\C-b": backward-word
> > 
> > You can verify what your own setup does by pressing ^V (or just use cat)
> > and pressing meta-control-b to see what the terminal is sending.
> 
> ]$ ^V then Alt-Ctrl+b returns "^["
> cat returns nothing.
Sorry Michael:

]$ cat -v
^[^B^C

When input cat -v [Enter] then Alt-Ctrl+b

-- 
Regards Bill
Fedora 12, Gnome 2.28
Evo.2.28, Emacs 23.1.1



More information about the users mailing list