home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.bsd
- Path: sparky!uunet!mcsun!Germany.EU.net!pcsbst!lotus!lotus!jkh
- From: jkh@esel.lotus.com (Jordan K Hubbard)
- Subject: [386BSD] capslock -> control key mapping
- Organization: Lotus Ireland
- Distribution: comp
- Date: Tue, 10 Nov 1992 13:26:05 GMT
- Message-ID: <JKH.92Nov10142605@esel.lotus.com>
- Lines: 27
- Sender: news@lotus.com
-
- This is a very small patch, though it saves me numerous hairs pulled
- out. To use it, apply the patch, set 'option "CAPS_LOCK_CTL"' in your
- kernel config file and remake/boot a new kernel. Your caps lock key will
- then become your control key. Note that this will *not* affect your
- key settings in X! To do that, you'll need to use xmodmap to achieve
- the same effect (very easily done, fortunately).
-
- Jordan
-
-
- *** /usr/src/sys.386bsd/i386/isa/pccons.c.pl3 Fri Nov 6 18:48:09 1992
- --- /usr/src/sys.386bsd/i386/isa/pccons.c Tue Nov 10 15:18:41 1992
- ***************
- *** 1205,1211 ****
- --- 1208,1218 ----
- KP, "*", "*", "*", /* 55 kp * */
- ALT, "", "", "", /* 56 alt */
- ASCII, " ", " ", " ", /* 57 space */
- + #ifdef CAPS_LOCK_CTL
- + CTL, "", "", "", /* 58 ctl */
- + #else
- CAPS, "", "", "", /* 58 caps */
- + #endif
- FUNC, "\033[M", "\033[Y", "\033[k", /* 59 f1 */
- FUNC, "\033[N", "\033[Z", "\033[l", /* 60 f2 */
- FUNC, "\033[O", "\033[a", "\033[m", /* 61 f3 */
-
- PCS Computer Systeme GmbH, Munich, West Germany
- UUCP: pyramid!pcsbst!gj gj@meepmeep.pcs.com
- EUNET: unido!pcsbst!gj
-