home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / bsd / 8727 < prev    next >
Encoding:
Text File  |  1992-11-11  |  1.4 KB  |  42 lines

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