This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Customizing rxvt


> From: cygwin-owner at cygwin dot com [mailto:cygwin-owner at cygwin dot com]On Behalf
> Of Igor Pechtchanski

> FYI, the console and rxvt have different key sequences for the function
> keys.  You can see the exact key sequence by pressing Ctrl-V and the key
> (that'll escape the initial Ctrl-[).  Another way is by running "od -c",
> pressing the key, then two Ctrl-D's.
> 	Igor

 Finding out what the key causes on "stdin" is no problem... I like "od" a
lot ;-)

 The problem is making bash/console and/or bash/rxvt do what I want on
certain keypresses, a' la keybindings for bash (in ~/.profile).

This time it was about the "Home" and "End" keys, I wanted them to work as
CTRL-A and CTRL-E do in both console and rxvt. I *had* this in the console,
but *not* in rxvt.

$ info readline
$ info bash
made me realise what it was all about...
=> one minute ago I made it work in both rxvt and console with small changes
in my .inputrc

 ~/{.inputrc,.profile,.Xdefaults} enclosed for completeness...

 Dunno if they match everybody's mind of usefulness, but they do allow
&dieris and &ring characters; and DEL, BS, HOME and END keys work.

/Hannu E K Nevalainen, Mariefred, Sweden

--END OF MESSAGE--

Attachment: .inputrc
Description: Binary data

Attachment: .Xdefaults
Description: Binary data

Attachment: .inputrc
Description: Binary data

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]