*BSD News Article 68999


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!swrinde!newsfeed.internetmci.com!news.igc.net!news.zynet.com!zach
From: zach@blizzard.gaffaneys.com (Zach Heilig)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Keyboard maps
Date: 21 May 1996 02:03:14 GMT
Organization: none
Lines: 28
Message-ID: <slrn4q293m.b1.zach@localhost.gaffaneys.com>
Reply-To: zach@blizzard.gaffaneys.com
NNTP-Posting-Host: 134.129.252.32
X-Newsreader: slrn (0.8.8.1 UNIX)

I am having a small problem with a custom keyboard map that I have
created.  I needed to have the Backspace key map to ^?, instead of the
normal ^H, so I copied /usr/share/syscons/keymaps/us-iso.kbd to
local.kbd and found the line that had a bunch of del's and bs's on it,
and switched the del's to bs's, and the bs's to del's.  When I loaded
this keymap with kbdcontrol, I noticed that the numeric pad enter key
seemed to get mapped to "goto virtual terminal /dev/ttyv2".  I looked
closer at the file, and figured out that scr?? specified which keys
switched virtual terminals, but I couldn't figure out which key was
the numeric pad enter key.  I looked in keyboard(4), but couldn't pick
out anything useful, and in the FAQ (/usr/share/FAQ/...) and the
handbook, but those files only said that you could load up one of the
keyboard maps there, but not how to costomize them.  I also browsed
/sys/i386/i386/cons.[hc], and related files, but could't come up with
anything useful there either.  I know I could just change random
lines, and hope that I don't mess the keyboard up so bad that I need
to somehow reboot (I also changed the 'boots' to whatever was the
predominate definition on the line, to disable the CTRL-ALT-DELETE
reboot).

So, my question is:
What is the key number for the numeric pad enter key? (or more
usefully, where can I find a table of which keys map to what)?

-- 
Zach Heilig                            | If this was a virus,
zach@blizzard.gaffaneys.com            | you would be dead now.