home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / emacs / 4052 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  1.2 KB

  1. Xref: sparky comp.emacs:4052 gnu.emacs.help:5474
  2. Path: sparky!uunet!gatech!psuvax1!atlantis.psu.edu!icf.hrb.com!els
  3. From: els@icf.hrb.com (Eric L. Schott)
  4. Newsgroups: comp.emacs,gnu.emacs.help
  5. Subject: Re: Sun type 5 keyboard
  6. Message-ID: <1993Jan21.141353.19934@icf.hrb.com>
  7. Date: 21 Jan 93 14:13:53 EST
  8. References: <HOLLEN.93Jan19101850@peg.megatek.UUCP>
  9. Distribution: usa
  10. Organization: HRB Systems, Inc.
  11. Lines: 22
  12.  
  13. In article <HOLLEN.93Jan19101850@peg.megatek.UUCP>, hollen@megatek.UUCP (Dion Hollenbeck) writes:
  14. > Has anyone figured out how to tell if there is a Sun type 5 keyboard
  15. > attached, as oppposed to the Type 3 and 4 which are at least
  16. > compatible with each other.
  17.  
  18. I use the following in my .xinitrc:
  19.  
  20.   dumpkeys | /bin/grep -s "key 123     all rf(15)"
  21.   if [ $? -eq 1 ]; then
  22.     xmodmap .vt100keypad-on-sun.xmodmap    # Old sun4 keypad
  23.   else
  24.     xmodmap .vt100keypad-on-new-sun.xmodmap    # New sun5 keypad
  25.   fi
  26.  
  27. (Becareful of tab in string.)
  28.  
  29. -- 
  30.  
  31. Eric L. Schott,    HRB Systems, Inc.    814/238-4311     els@icf.hrb.com
  32.   "As we acquire more knowledge, things do not become more comprehensible
  33.    but more mysterious."                  Albert Schweitzer, "Paris Notes"
  34.