home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!sgigate!odin!fido!toast!cwilson
- From: cwilson@toast.wpd.sgi.com (Chan Wilson)
- Newsgroups: comp.sys.sgi.hardware
- Subject: Re: Emacs bindings for SGI Keyboards?
- Message-ID: <1hb4k8INN6to@fido.asd.sgi.com>
- Date: 24 Dec 92 01:43:36 GMT
- References: <BzB2nq.5zu@ulowell.ulowell.edu> <1992Dec16.162316.5235@magnus.acs.ohio-state.edu>
- Organization: Silicon Graphics, Inc. Mountain View, CA
- Lines: 43
- NNTP-Posting-Host: toast.wpd.sgi.com
-
- This might help you out; no guarantees, but I'll try to help with
- specific problems...
-
- In your .Xdefaults:
- XWsh*keyboardType: xlib
- XWsh*metaKeyMask: 8
-
-
- This gets the meta (ala Alt) key working. To bind keys, I use this
- technique:
-
- xwsh -title emacs -icontitle emacs -autofork -xrm \
- 'XWsh*keyMapFileAfter: true' -xrm 'XWsh.keyMapFile: .xwsh.emacs.bindings' \
- -e emacs -nw
-
- Where .xwsh.emacs.bindings holds
-
- Home(any): send("\033<");
- End(any): send("\033>");
- Prior(any): send("\033v");
- Next(any): send("\026");
- Left(any): send("\002");
- Up(any): send("\020");
- Down(any): send("\016");
- Right(any): send("\006");
- KP_Insert(none): send("0");
- KP_End(any): send("1");
- KP_Down(any): send("2");
- KP_Next(any): send("3");
- KP_Left(any): send("4");
- KP_Begin(any): send("5");
- KP_Right(any): send("6");
- KP_Home(any): send("7");
- KP_Up(any): send("8");
- KP_Prior(any): send("9");
- KP_Delete(any): send(".");
-
- There's obvious expansion on this theme.
-
- --Chan
- Chan Wilson --- cwilson@sgi.com --- 415/390-5006
- Silicon Graphics, Inc. Mountain View, CA
- -> The only stupid question is the one not asked. <-
-