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