home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / bsd / 8728 < prev    next >
Encoding:
Internet Message Format  |  1992-11-11  |  2.2 KB

  1. Path: sparky!uunet!mcsun!Germany.EU.net!unidui!du9ds3!veit
  2. From: veit@du9ds3.uni-duisburg.de (Holger Veit)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Re: [386BSD] capslock -> control key mapping
  5. Date: 11 Nov 92 11:59:36 GMT
  6. Organization: Uni-Duisburg FB9 Datenverarbeitung
  7. Lines: 45
  8. Distribution: comp
  9. Message-ID: <veit.721483176@du9ds3>
  10. References: <JKH.92Nov10142605@esel.lotus.com>
  11. Reply-To: veit@du9ds3.uni-duisburg.de
  12. NNTP-Posting-Host: du9ds3.uni-duisburg.de
  13.  
  14. In <JKH.92Nov10142605@esel.lotus.com> jkh@esel.lotus.com (Jordan K Hubbard) writes:
  15.  
  16. >This is a very small patch, though it saves me numerous hairs pulled
  17. >out.  To use it, apply the patch, set 'option "CAPS_LOCK_CTL"' in your
  18. >kernel config file and remake/boot a new kernel.  Your caps lock key will
  19. >then become your control key.  Note that this will *not* affect your
  20. >key settings in X!  To do that, you'll need to use xmodmap to achieve
  21. >the same effect (very easily done, fortunately).
  22.  
  23. >                    Jordan
  24.  
  25.  
  26. >*** /usr/src/sys.386bsd/i386/isa/pccons.c.pl3    Fri Nov  6 18:48:09 1992
  27. >--- /usr/src/sys.386bsd/i386/isa/pccons.c    Tue Nov 10 15:18:41 1992
  28. >***************
  29. >*** 1205,1211 ****
  30. >--- 1208,1218 ----
  31. >      KP,    "*",        "*",        "*",        /* 55 kp * */
  32. >      ALT,    "",        "",        "",        /* 56 alt */
  33. >      ASCII,    " ",        " ",        " ",        /* 57 space */
  34. >+ #ifdef CAPS_LOCK_CTL
  35. >+     CTL,    "",        "",        "",        /* 58 ctl */
  36. >+ #else
  37. >      CAPS,    "",        "",        "",        /* 58 caps */
  38. >+ #endif
  39. >      FUNC,    "\033[M",    "\033[Y",    "\033[k",    /* 59 f1 */
  40. >      FUNC,    "\033[N",    "\033[Z",    "\033[l",    /* 60 f2 */
  41. >      FUNC,    "\033[O",    "\033[a",    "\033[m",    /* 61 f3 */
  42.  
  43. >            PCS Computer Systeme GmbH, Munich, West Germany
  44. >    UUCP:        pyramid!pcsbst!gj gj@meepmeep.pcs.com
  45. >    EUNET:        unido!pcsbst!gj
  46.  
  47. This patch is obsolete with codriver (aka keycap-0.1.1.tar.Z), it has been
  48. obsolete since the first days of the 0.1.0 version and Helmut Michaelis'
  49. vgadrv. Don't mess around with the internal keyboard tables just to get
  50. some special behavior; it is highly nonportable.
  51.  
  52. Holger
  53.  
  54. -- 
  55. |  |   / Dr. Holger Veit         | INTERNET: veit@du9ds3.uni-duisburg.de
  56. |__|  /  University of Duisburg  | "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  57. |  | /   Dept. of Electr. Eng.   |   Sorry, the above really good fortune has
  58. |  |/    Inst. f. Dataprocessing |      been CENSORED because of obscenity"
  59.