Re: Interrpreting modifier codes in /etc/inputrc ??

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

 



William Case wrote:
> Thanks Tom;
> 
> On Thu, 2009-08-06 at 13:25 -0400, Tom Horsley wrote:
>> On Thu, 06 Aug 2009 13:13:14 -0400
>> William Case wrote:
>>
>>> Is there a tutorial or manual that explains or shows what those modifer
>>> codes mean.  That is, I know "\e" must mean ESC key but what does the
>>> various other codes (e.g. "[1~") mean -- for sure. 
>> I'm pretty sure it just means those characters literally. The various
>> vt100 and greater style terminal emulations most commonly used
>> in things like gnome-terminal and xterm all generate escape
>> sequence that look like that. 
> 
> You are right -- if I type the those characters literally, the readline
> command is performed.
> 
>> The question then becomes finding out
>> which keys generate those escapes (but the odds are good it will
>> be the obvious ones like home and end, etc).
>>
> 
> That is the hard part.
> 
> what keys are equivalent to "\e[1;5C" and/or "\e[5C".  I would like to
> bind readline keys universally and systematically so that they don't
> interfere with other key setups (keymaps ?? such as Gnome has) yet can
> be easily remembered from terminal to terminal.
> 
> I could (and probably will) just create some new key bindings but I
> thought they should bear some resemblance to the existing binding.
> 
I am lazy - for moving back forth is a line, control of the arrow
keys moves word instead of character. Control of backspace deletes
deletes to the beginning of the word, and control of delete deletes
to end of word.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[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