Connecting to the YY-Server

Before connecting to the server, the program must ensure that the server is running and able to connect (or not be over-worried about breaking at this point). The normal way is one of: The third is the usual option, and can easily be achieved by invoking from a shell script, which also starts the server program.

YY-connectCompilerserver portboolean This function that makes the connection from to the YY server. server is the name of the machine running the server, and port argument should be equal to the -p option given to the serv command, or 0 if the -p option was not given.

initialise-serverCompilerX-display Window-name Icon-namestructure(Info) After connecting, the server must initialise the YY server with the name of the X11 display to use. This is relative to the server, so specifying ``unix:0.0'' means the console display of the machine running the server. The name of the window, in its normal and iconified form should also be specified. An object of type Info, which can be used to query various constants about the display (eg. display resoloution, etc) is returned.

YY-initialised-pCompilerbool Returns true if initialise-server has been called.