[ltp] What are you doing with 2 keys around 'up' arrow ?

Robert D. Crawford linux-thinkpad@linux-thinkpad.org
Thu, 30 Aug 2007 07:20:24 -0500


Frédéric BOITEUX <fboiteux@calistel.com> writes:

>   I wonder what are the 2 keys around the 'up' arrow on a X31 thinkpad,
> and why nobody seems to define/use them ?
>   How could I do to define an action both on console and in Xorg
> session ?

I have the following in my .xsession

xmodmap ~/.Xmodmap

and the following is the contents of my .Xmodmap

! for the browser keys on the thinkpad
keycode 234 = F19
keycode 233 = F20

[...]

and then, I assign them in my .emacs

(global-set-key [f19] 'scroll-down)
(global-set-key [f20] 'scroll-up)
(global-set-key '[(control f19)] 'backward-paragraph)
(global-set-key '[(control f20)] 'forward-paragraph)

rdc
-- 
Robert D. Crawford                                     robdcraw@gmail.com

The devil can cite Scripture for his purpose.
		-- William Shakespeare, "The Merchant of Venice"