Customizing rxvt

Hannu E K Nevalainen (garbage mail) garbage_collector@telia.com
Sat Apr 26 23:54:00 GMT 2003


> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.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--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .inputrc
Type: application/octet-stream
Size: 718 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030426/3ff8f072/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .Xdefaults
Type: application/octet-stream
Size: 475 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030426/3ff8f072/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .inputrc
Type: application/octet-stream
Size: 796 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030426/3ff8f072/attachment-0002.obj>
-------------- next part --------------
--
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/


More information about the Cygwin mailing list