Article View: gnu.emacs.help
Article #189008Re: What is emacsclient/server/gnuserv?
From: Mike Williams
Date: Sun, 19 May 1991 11:00
Date: Sun, 19 May 1991 11:00
53 lines
3855 bytes
3855 bytes
>>> In article <STEINARB.91May18185940@fenris.idt.unit.no>,
>>> "Steinar" == steinarb@idt.unit.no (Steinar Bang) writes:
Steinar> These concepts surface in the GNU newsgroups from time to time. I have
Steinar> a vague idea (which may have no relation to reality whatsoever ;-)
Steinar> about what they are:
Steinar> 1. emacsclient: This is a "lightweight" emacs that have only a few
Steinar> buffers of its own (only one perhaps?). It edits a
Steinar> text file/text buffer piped down to it through a
Steinar> socket connection/pipe from another program. It has
Steinar> no file operations of its own(?).
Steinar> 2. emacsserver: This is a server process that maintains buffers,
Steinar> reads and writes files, runs emacs lisp commands,
Steinar> controls sub-processes and creates/destroys
Steinar> emacsclients at need.
Steinar> 3. gnuserv : The original emacs server, written by Andy Norman.
* emacsclient/server is a system that allows you to send REQUESTS to
edit files to an existing Emacs process. You can tell emacs to start
a server process using "(server-start)". Any emacsclient process can
then contact the server process, specifying a file path (and possibly
line number), and the server will then signal Emacs to edit the
specified file. Note that this assumes that the emacsclient and
Emacs itself both see the same file system (so that they're talking
about the same file).
Note that neither emacsclient or the server have any direct support
for files, buffers, etc --- they are simply a means of contacting an
existing Emacs process.
* gnuserv/gnuclient is Andy Norman's replacement for the standard Emacs
client/server. It provides a slightly more robust implementation,
and one better suited for running Emacs and clients on different
machines (ie. it's more network-aware). The gnuserv package also
includes a program called gnudoit, which allows you to request an
Emacs process to evaluate an arbitrary elisp form. This can be
useful for invoking Emacs functions from a shell script or X Window
Manager menu.
These packages are useful if you wish to use emacs as your text editor
for other interactive programs (news/mail readers being the main
example), without having the overhead of starting up a new Emacs each
time. emacsclient/server is standard with the Emacs distribution (look
for /usr/local/emacs/emacsclient, /usr/local/emacs/lisp/server.el).
I'm sure gnuserv must be availble for FTP somewhere ... contact Andy
Norman <ange@hplb.hpl.hp.com> for details.
--
/-------------------- mike-w@cs.aukuni.ac.nz ---------------------\
| Mike Williams, Computer Science, Auckland University, Aotearoa. |
\-------------- What's another word for Thesaurus? ---------------/
--
New administrater uofa.
Technical Details
Message-ID:
<MIKE-W.91May19130052@cs17.cs.aukuni.ac.nz>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!comp.vuw.ac.nz!waikato.ac.nz!aukuni.ac.nz!mike-wReferences:
<STEINARB.91May18185940@fenris.idt.unit.no>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,de76f4ec53edaf5e X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1991-05-19 03:51:15 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!comp.vuw.ac.nz!waikato.ac.nz!aukuni.ac.nz!mike-w From: mike-w@cs.aukuni.ac.nz (Mike Williams) Newsgroups: gnu.emacs.help Subject: Re: What is emacsclient/server/gnuserv? Message-ID: <MIKE-W.91May19130052@cs17.cs.aukuni.ac.nz> Date: 19 May 91 11:00:52 GMT References: <STEINARB.91May18185940@fenris.idt.unit.no> Sender: news@ccu1.aukuni.ac.nz (News Owner) Followup-To: gnu.emacs.help Distribution: gnu Organization: is for wimps Lines: 53 In-Reply-To: steinarb@idt.unit.no's message of 18 May 91 16:59:40 GMT Nntp-Posting-Host: cs17.cs.aukuni.ac.nz X-News-Software: GNUS 3.13