From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078654410824.tru64-unix-managers.marc@archive.invalid> From: Jim R Jones Date: Wed, 14 Jan 1998 22:45:50 +0000 To: tru64-unix-managers Subject: summary: script or program to remap the keyboard X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078654410824 My orginal question was: I have been told tht DEC has a program or script which will allow users to remap the keyboard. What we have is a number of older workstations with vt style keyboards on them and new ones that are comming in with pc style keyboards. The program as I understand it allows you to remap keys to achieve the same functionallity on the pc style keyboards as the older vtkeyboards had. What I would like to know is the name of the script and program and where it resides on the system disk. Any info would be appreciated. The answers I received were very helpful, I do appreciate all the responses and since several were duplicate I will not list all the responses. But thanks to all that responed to my question. Response 1 Hi Jim, I believe you can use /usr/bin/X11/dxkeycaps which shows you the full keyboard. You can click with MB3 the key you want to map etc... (ther is a good explanation in the bookreader). Hope this helps Good luck JEAN Response 2 man dxkeycaps (to be used in conjunction with xmodmap) --------------------------------------------------------------------------- - Lucio Chiappetti - IFCTR/CNR - via Bassini 15 - I-20133 Milano (Italy) Response 3 What you might want to look at is /usr/bin/X11/xev and /usr/bin/X11/xmodmap. Yizhong Response 4 Under X Window System you can use xmodmap to remap any key to the desired char. Look at man xmodmap /usr/include/X11/keysymdef.h I hope this helps. Carlos Augusto Moreira dos Santos Response 5 /usr/examples/pc_to_lk_keys.sh It essentially does xmodmap(1) Regs, Simon. Response 6 The name of the program is /usr/bin/X11/xmodmap. Below is an example of its use John Becker #!/bin/sh # # ***************************************************************** # * * # * Copyright (c) Digital Equipment Corporation, 1991, 1995 * # * * # * All Rights Reserved. Unpublished rights reserved under * # * the copyright laws of the United States. * # * * # * The software contained on this media is proprietary to * # * and embodies the confidential technology of Digital * # * Equipment Corporation. Possession, use, duplication or * # * dissemination of the software and media is authorized only * # * pursuant to a valid written license from Digital Equipment * # * Corporation. * # * * # * RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure * # * by the U.S. Government is subject to restrictions as set * # * forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013, * # * or in FAR 52.227-19, as applicable. * # * * # ***************************************************************** # # HISTORY # case $1 in '-u') # is there already PC-style keymappings? /usr/bin/X11/xmodmap -pke|grep -q Home # if no, then do the xmodmap if test $? = 1 then /usr/bin/X11/xmodmap - < LK-style keymap modifications" ;; *) # is there already LK-style keymappings? /usr/bin/X11/xmodmap -pke|grep -q KP_Separator # if no, then do the xmodmap # this is the one we use on node flash if test $? = 1 then /usr/bin/X11/xmodmap - <