home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / gnu / emacs / help / 3815 < prev    next >
Encoding:
Text File  |  1992-08-21  |  1.0 KB  |  26 lines

  1. Newsgroups: gnu.emacs.help
  2. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!nigel.msen.com!yale.edu!jvnc.net!nuscc!iti.gov.sg!nicholas
  3. From: nicholas@odin.iti.gov.sg (Nicholas Tan)
  4. Subject: Re: emacsclient - how do I use it?
  5. Message-ID: <1992Aug22.041509.21761@iti.gov.sg>
  6. Sender: news@iti.gov.sg (News Admin)
  7. Organization: Information Technology Institute, National Computer Board, Singapore
  8. References:  <KEVIN.92Aug21110652@buffalobill.edscom.demon.co.uk>
  9. Date: Sat, 22 Aug 1992 04:15:09 GMT
  10. Lines: 14
  11.  
  12. You can find out how to use emacsclient in the FAQ that comes along with the emacsclient distribution in the etc/ sub-directory.
  13.  
  14. However, I had to modify my emacsclient.c file slightly to get it to work.  In line 206 of etc/emacsclient.c, I changed
  15.     s = msgget( key, 0600 );
  16. to
  17.     s = msgget( key, 0600 | IPC_CREAT );
  18.  
  19. That got it to work on both my HP9000s400 running hpux8.0 and DECstation 5000/125 running ultrix4.2.
  20.  
  21.  
  22. - Nicholas Tan
  23.   Member of Technical Staff
  24.   Knowledge Systems Laboratory
  25.   Information Technology Institute
  26.