Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!HGRRUG52.BITNET!TORDA From: TORDA@HGRRUG52.BITNET Newsgroups: comp.sys.sgi Subject: Key mappings under 4Sight 1.0 Message-ID: <9002061052.aa20622@SMOKE.BRL.MIL> Date: 6 Feb 90 10:28:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 25 On 5-feb, Jeremy Webber writes about remapping keys under wsh in order to run GNU emacs happily. Is this the best way ? Remapping at that level is bound to confuse anything else running under the wsh. Perhaps it would be better to remap keys in you .emacs file, so for example (global-set-key "\b" 'delete-backward-char) Note that you then have to bind the help functions to another key of your choice. The above line for remapping is described in the file called PROBLEMS in the top level directory in the emacs distribution. I also think that, for happy editing, it is more important to define the arrow keys and then the page up/down and so on. Aside from defining an escape-key-map, I also found it necessary to put an (enable-arrow-keys) in the .emacs file. Finally, you should make this stuff dependent on the type of terminal being used, so people can still come in to the iris with other terminal types and be able to edit properly. In the lisp/term subdirectory, there are several sophisticated examples for this kind of thing. -Andrew Torda (bitnet) torda@hgrrug52