[comp.windows.x] remapping Sun keyboard

news@beaver.cs.washington.edu (USENET News System) (09/14/88)

F1 through F9 all generate strings in the style '[23~'.
I want to activate the right function keys; R1 through R15 do not 
generate any type of string (except for the direction keys which do). 
I have tried looking at xmodmap but it doesn't seem to do what I want. 
Please send me e-mail if you have the answer. Thanks.
    rich
From: richk@humpback (Richard Korry)
Path: humpback!richk

jim@EXPO.LCS.MIT.EDU (Jim Fulton) (09/15/88)

> [wanting to know about getting sun function key escape sequences]

There are two things in the R3 xterm that might do what you want:

     o  there is a new resource option that can be set to cause function keys
	to generate Sun keyboard escape codes.

     o  you will be able to attach arbitrary strings to event sequences
	using the normal X Toolkit translation resources.


Jim Fulton
MIT X Consortium

harrison@MAHOGANY.BERKELEY.EDU (Michael Harrison) (09/15/88)

I am fortunate enough to have a SUN at home as well as in the office.
Thus I depend heavily on the SUN F and R function keys which I bind to emacs
commands.
There are two ways to run emacs; the normal way and inside an xterm
such as when logged in over a phone line.
In normal usage, emacs takes charge and sensible sun keybindings from my
.emacs file provide the customization I prefer.

For usage inside an xterm, it was necessary to hack xterm to compensate for
its assumptions.  If anyone else has a similar environment
and wants these changes, I'll send them
to you.



   Mike Harrison


e-mail						Physical Address
---------------------------------------------------------------------------
harrison@berkeley.edu				Computer Science Division
ucbvax!harrison					571 Evans Hall
						University of California
						Berkeley, CA 94720
						(415) 642-1469