(axe.info)Server
aXe as a server of windows
==========================
There are two main differences when aXe is acting as a server: an
additional window is created and aXe does not terminate when the number
of windows reduces to zero. The function of the extra window is to
provide a way of getting an editing window when there are no others to
use as a launch pad, and to provide a way of shutting down the
application. The default server window allows empty windows to be
created and provides access to the help system. Alternatively, a
FileNominator (Note: The file selector.) can be used as the
server window by setting the top level *fileServer* resource (Note:
Application resources,).
Additionally, editing windows can be obtained from a server by
cooperating clients on the same host. Two such clients are provided:
coaxe and faxe. Coaxe waits until it gets notification that its aXe
window has been closed, whereas faxe terminates as soon as it has
successfully contacted its server. Faxe can take several filename
arguments, but coaxe is restricted to one. By default multiple files
passed to faxe are assigned a window each. A group of files can be
assigned to buffers of the same window by preceding the list by any
leading substring of the keyword -buffer. The keyword may occur more
than once on the command line. Coaxe and faxe start up aXe in
non-server mode if a server is not already running, and coaxe is
notified when the invocation terminates, i.e. when the last window is
closed.
A display can support servers for many hosts, but only one server per
host is catered for. If a second server is started for some host when
one is already running then the second will take over the role of
server to the client programs, and the first will be uncontactable by
them.
Shutting down aXe from the server window is equivalent to doing a
*Window:Close All*, i.e. a check is made for unsaved changes if any
editing windows exist. A third client program, poleaxe, is also
provided for shutting down the server, but checks are not carried out
when it is used. It is not a serious client; it only came into being
because of the pun afforded by its name.
automatically generated by info2www version 1.2.2.9