home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / gnu / emacs / help / 4018 < prev    next >
Encoding:
Text File  |  1992-09-08  |  2.4 KB  |  48 lines

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