[comp.windows.news] XNeWS

russ@DASH.MITRE.ORG (Russell Leighton) (12/30/89)

We have recently installed XNeWS FCS (First Customer Release).
There is a problem that is NOT in the "special" release that
is greatly annoying the users of the system.

The arrow keys (r10, r8 ,r12, r14) no longer function in "xterm"
windows. This means no arrow keys for Emacs but more importantly
we have a group that makes extensive use of Matlab, whose line
editing uses these keys. This may seem like a little problem
but these people are very annoyed.

How can I fix this?
Did I not do something in the installation?
Does the termcap need updating?
Is this another of Sun's xnews "features"
 (like slowness, hogging memory, etc.).

Frustrated.

tam2@rruxi.bae.bellcore.com (Wai Nam Tam) (12/30/89)

I encountered the same problem on my Sun 3/60 running the FCS version
of XNEWS.  The arrow keys can be mapped using the "xmodmap" program.
For the keyboard on my Sun 3/60 (Tyoe 3).  Put the following in a file
and then execute the "xmodmap" program on it.

   keycode 76=Up F28 
   keycode 98=Left F30 
   keycode 100=Right F32 
   keycode 120=Down F34 

I just setup my Sparcstation 1 and have not had a chance to try the
XNEWS stuff on it yet, so I don't know if the arrow keys are mapped
for that server.  If you have problems, check out the man page on "xmodmap".
That's where I found all the info that I needed.  Also, you can use the
"xev" program to find out the "keycode value" for each key on the keyboard.

If you want to check out the current key mappings, use "xmodmap -pk".

I hope this helps.


Wai Nam Tam
tam2@rruxi.bae.bellcore.com
...!bellcore!rruxi!tam2

Standard disclaimers apply ...

bochner@lange.harvard.edu (Harry Bochner) (01/03/90)

When trying out XNeWS I've found that the server seems to be ignoring the
caps lock key. Is there perhaps a fix involving keyboard remapping, similar
to the fix that was posted for the arrow key problem?

Harry Bochner
bochner@endor.harvard.edu