Path: utzoo!mnetor!uunet!husc6!bbn!mit-eddie!amadeus.silvlis.COM!mdb From: mdb@amadeus.silvlis.COM (Mark D. Baushke) Newsgroups: comp.emacs Subject: Re: set EDITOR=emacs Message-ID: <8803072140.AA04282@amadeus.silvlis.com> Date: 7 Mar 88 21:40:55 GMT Sender: daemon@eddie.MIT.EDU Organization: Silvar-Lisco, 1080 Marsh Road, Menlo Park, CA 94025-1053 Lines: 37 > Date: Mon, 7 Mar 88 11:38:02 EST > From: sun!eddie.mit.edu!think!compass!galaxy!worley (Dale Worley) > To: galaxy!info-gnu-emacs > Subject: set EDITOR=emacs > > What I want is a program "emacsclient" ...[omitted] > > I know that some sort of facility like this exists for X windows, but > I would like it for Sun windows. Does anybody know how to do this? > > Dale The feature your are asking about already exists in emacs 18.x and is independent of X windows (it will work on BSD machines at 18.49 and below, in 18.50 it will work on SYS V machines which have IPC -- #define HAVE_SYSVIPC). (Try looking in your gnuemacs/etc/emacsclient.c) Inside of the master emacs window do: M-x server-start The documentation for this is: server-start: Allow this Emacs process to be a server for client processes. This starts a server communications subprocess through which client "editors" can send your editing commands to this Emacs job. To use the server, set up the program `etc/emacsclient' in the Emacs distribution as your standard "editor". Next, 'set EDITOR=/usr/local/emacs/etc/emacsclient' and you are all set. Mark Baushke mdb@silvlis.com <-- finally, our domain is registered with NIC silvlis!mdb@sun.com Note: silvlis.com does NOT have an Internet Port