home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.help
- Path: sparky!uunet!spool.mu.edu!darwin.sura.net!gatech!news.byu.edu!news.mtholyoke.edu!nic.umass.edu!amherst!twpierce
- From: twpierce@unix.amherst.edu (Tim Pierce)
- Subject: "unswapping" keys, retaining emacs intro banner, and other stuff
- Message-ID: <Bu6C9A.FBG@unix.amherst.edu>
- Organization: Amherst College, Amherst MA
- Date: Sun, 6 Sep 1992 20:43:58 GMT
- Lines: 38
-
- Background: I've set up Emacs 18.58 on a DECstation 5000/240 running
- Ultrix 4.2a. This machine will be our main Unix box for all students
- and faculty at Amherst, and will be the machine on which nearly all
- on-campus newsreading will be done.
-
- Since most of the people using this machine will be connecting to it
- over a Sytek broadband network, which uses ^S^Q flow control and hence
- overrides the Emacs keybindings, we made the decision to dump Emacs
- with site-init.el containing (swap-keys \C-s \C-t) and (swap-keys \C-q
- \C-o). We have also dumped a "virgin" Emacs executable under the name
- "gnuemacs", if they really need the default settings.
-
- Problem: I don't like this dumping of multiple binaries; it seems
- unnecessarily unwieldy to me. However, since few of our users are
- computer users (let alone Unix jockeys), leaving the Emacs banner
- screen intact (explaining notation, how to get "undo", how to get the
- tutorial running) is a high priority for us. I have not been able to
- find a convenient way to set up both the "emacs" and "gnuemacs"
- commands so that the banner remains intact at least upon firing up
- "emacs." (I don't care whether it appears during "gnuemacs" -- I
- figure if you really want to run that, you probably know what you're
- doing anyway.)
-
- Any ideas? I could set up "gnuemacs" as an alias or shell script to
- invoke "emacs" and reswap the original keybindings, but I don't like
- that solution -- what I've read of the swap-keys code suggests that
- this will simply add translations to keyboard-translate-table rather
- than removing the original swap. Is there any way to "unswap" two
- keybindings after doing swap-keys?
-
- This is kind of an odd and gluey situation, so I won't be surprised if
- it leaves you scratching your heads. Please write if you can't figure
- out what I'm saying or what I'm worried about.
-
- --
- ____ Tim Pierce / "I don't know how much support NAMBLA
- \ / twpierce@unix.amherst.edu / has in the gay community."
- \/ (BITnet: TWPIERCE@AMHERST) / -- Clayton Cramer, August 1992
-