Re: readline + binding; still frustrated after 4 yrs of trying

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

 



On Thu, 2010-03-11 at 16:07 -0800, Michael Elkins wrote:
> On Thu, Mar 11, 2010 at 07:02:20PM -0500, William Case wrote:
> > On Thu, 2010-03-11 at 18:41 -0500, William Case wrote:
> > > On Thu, 2010-03-11 at 12:58 -0800, Michael Elkins wrote:
> > > > 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
> 
> Yes, so you get the same behavior as my setup where Alt-Ctrl-B ends up
> sending ESC followed by Ctrl-B (the Ctrl-C is just from you exiting the
> program).  You should be able to bind to "\e\C-b" just like I was.
> 
> The Ctrl-V trick didn't work because it only echos back the next
> character.  Since Alt-Ctrl-B is returning two keys, it only shows the
> next one, and then bash is getting the ^B,

So ...

]$ bind "\e\C-b": backward-word

Tried it on a several word command line from History.  No motion.

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

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux