Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* keyboard mapping
@ 2001-09-05 14:02 Virginia Rogers
  2001-09-05 20:23 ` Philip Brown
  2001-09-12 22:42 ` Tim Mooney
  0 siblings, 2 replies; 3+ messages in thread
From: Virginia Rogers @ 2001-09-05 14:02 UTC (permalink / raw)



Hi,

I recently discovered a neat utility called dxkeycaps on my AlphaServer DS20
which is running Tru64 V5.0A.  dxkeycaps allows you to interactively edit the
keyboard mapping.  I used it to redefine the top row on the numeric keypad to
act like the PF1 - PF4 keys on a VT100 keyboard.  Now I can telnet from the
alpha to a VMS system and the keypad works correctly in the editor (EDT). 
dxkeycaps created a file (.dxkeycaps, in my home directory) which contained the
following lines used to redefine the keypad keys:
	keycode 0x76 = KP_F1 KP_F1
	keycode 0x77 = KP_F2 KP_F2
	keycode 0x7E = KP_F3 KP_F3
	keycode 0x84 = KP_F4 KP_F4

Does anyone know if I can do the same thing in Solaris?  I would like to be able
to telnet from my sun to a VMS system and edit using the keypad.  I found a
program called loadkeys which looks like it might work, but I don't know how to
redefine the keys to be PF1 - PF4.  I imagine suns don't know about PF1, PF2,
PF3, PF4 (?)

Thanks for any help!
Ginny


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: keyboard mapping
  2001-09-05 14:02 keyboard mapping Virginia Rogers
@ 2001-09-05 20:23 ` Philip Brown
  2001-09-12 22:42 ` Tim Mooney
  1 sibling, 0 replies; 3+ messages in thread
From: Philip Brown @ 2001-09-05 20:23 UTC (permalink / raw)


On Wed, 05 Sep 2001 10:02:25 -0400, vrogers@umich.edu wrote:
>...  Now I can telnet from the
>alpha to a VMS system and the keypad works correctly in the editor (EDT). 
>dxkeycaps created a file (.dxkeycaps, in my home directory) which contained the
>following lines used to redefine the keypad keys:
>	keycode 0x76 = KP_F1 KP_F1
>	keycode 0x77 = KP_F2 KP_F2
>	keycode 0x7E = KP_F3 KP_F3
>	keycode 0x84 = KP_F4 KP_F4

fyi, that look pretty much standard file syntax for xmodmap, just as it is.



-- 
[Trim the no-bots from my address to reply to me by email!]
[ Do NOT email-CC me on posts. Pick one or the other.]
S.1618 http://thomas.loc.gov/cgi-bin/bdquery/z?d105:SN01618:@@@D
The word of the day is mispergitude


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: keyboard mapping
  2001-09-05 14:02 keyboard mapping Virginia Rogers
  2001-09-05 20:23 ` Philip Brown
@ 2001-09-12 22:42 ` Tim Mooney
  1 sibling, 0 replies; 3+ messages in thread
From: Tim Mooney @ 2001-09-12 22:42 UTC (permalink / raw)


In article <3B963071.22E6D87A@umich.edu>,
Virginia Rogers  <vrogers@umich.edu> wrote:
> 
> Hi,
> 
> I recently discovered a neat utility called dxkeycaps on my AlphaServer DS20
> which is running Tru64 V5.0A.  dxkeycaps allows you to interactively edit the
> keyboard mapping.  I used it to redefine the top row on the numeric keypad to
> act like the PF1 - PF4 keys on a VT100 keyboard.  Now I can telnet from the
> alpha to a VMS system and the keypad works correctly in the editor (EDT). 
> dxkeycaps created a file (.dxkeycaps, in my home directory) which contained the
> following lines used to redefine the keypad keys:
> 	keycode 0x76 = KP_F1 KP_F1
> 	keycode 0x77 = KP_F2 KP_F2
> 	keycode 0x7E = KP_F3 KP_F3
> 	keycode 0x84 = KP_F4 KP_F4
> 
> Does anyone know if I can do the same thing in Solaris?

Key remapping utilities have been around for years.  `xmodmap' is pretty
standard and generally works throughout X.

Solaris also has some other utility for doing even console rearrangement
of keys -- look at the /etc/init.d/keymap script, and the manpages for
dumpkeys and loadkeys.

Tim
-- 
Tim Mooney                              mooney@dogbert.cc.ndsu.NoDak.edu
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-09-12 22:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-05 14:02 keyboard mapping Virginia Rogers
2001-09-05 20:23 ` Philip Brown
2001-09-12 22:42 ` Tim Mooney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox