Re: RXVT and Cursor Keys

From: Andrew Steele <fozzy_at_zip.com.au>
Date: Tue, 17 Jun 2003 01:27:45 +1000

On Mon, Jun 16, 2003 at 09:52:14AM -0400 or thereabouts, Thomas J. Baker wrote:
> Would it be possible (or is it already possible) to make the center
> button of the cursor pad type a return in rxvt? This would make it
> possible to scroll through the command history and execute commands
> without having to have the keyboard showing. If it is possible, maybe it
> should be the default?

I was trying to do this just yesterday.

The way I did it:

Created a .xmodmap file with one line -

        keycode 104 = Return

The default value is KP_Enter instead of Return, ie the Keypad enter.
I did try to do some stuff with the .Xdefaults to translate KP_Enter
to send a "\n" but couldn't so decided on doing it this way.

This method does mean it applies to all applications not just rxvt.

Hope this helps
Andrew
Received on Mon Jun 16 2003 - 15:27:58 EDT

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:19:03 EDT