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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux