home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / gnu / emacs / help / 3580 < prev    next >
Encoding:
Text File  |  1992-07-31  |  1.4 KB  |  40 lines

  1. Newsgroups: gnu.emacs.help
  2. Path: sparky!uunet!stanford.edu!ames!elroy.jpl.nasa.gov!usc!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!news
  3. From: goepping@msi-s7.msi.umn.edu (Jason Goeppinger [Math])
  4. Subject: How to use emacsclient (multi-hostwise)
  5. Message-ID: <GOEPPING.92Jul31104728@msi-s7.msi.umn.edu>
  6. Sender: news@news2.cis.umn.edu (Usenet News Administration)
  7. Nntp-Posting-Host: s7.msi.umn.edu
  8. Organization: MSI
  9. Distribution: gnu
  10. Date: Fri, 31 Jul 1992 16:47:28 GMT
  11. Lines: 27
  12.  
  13.  
  14. I have a more difficult question about how to manage emacsclient when you
  15. have emacs running on a different system than your host machine:
  16.  
  17. What I do now is :
  18. Start my windowsession
  19. Run emacs on a host with a low load average
  20.   emacs then appends its current hostname to the file ~/.emacserver.add
  21.   and does a server-start
  22. Any program that wants to use emacsclient must be run on the machine given
  23. by the last line in the file ~/.emacserver.add (via rsh or something).
  24.  
  25. The problem with this is that I don't know of a way to catch emacs before
  26. it shuts down to remove its address from the ~/.emacserver.add file.
  27.  
  28. How do you catch emacs before it is killed?
  29.  
  30. Can anyone suggest a better way to do this?
  31.  
  32. I looked in the FAQ--there's a prog called gnuserv that I haven't
  33. investigated.  Is this the correct route?  I don't have root permission and
  34. wouldn't be able to recompile emacs or anything.
  35.  
  36. --
  37.  
  38.     Jason Goeppinger
  39.     (goepping@s1.msi.umn.edu)
  40.