Starting Online

An interactive Online session is started/terminated by:

unix> online
ONLINE> exit

online is an alias for /online_dir/gra_main -online. Online executes the initialization files exp_ini.exp and spectra_ini.gra before it passes control to the user. There is a chapter that explains the files which are relevant for Online. It starts in section 5. It is mandatory to read this chapter.

The following command line options apply for interactive Online sessions:

Online may be started as a client of another Online process:

$ online -nHost::Port [-oONLINE_DIR]

Examples:

$ online -nhasbw5::7777
$ online -nhasbw5::7777 -o~/online_dir

Details about the client mode can be found in 14.16.

Online may be started as a server:

$ online -daemon [-pPortNo] [-v]

Example:

$ online -daemon -p7777 -v

In general, the -daemon flag is used by onlined only. This script starts Online as a detached daemon (4.2). Subsequent Online sessions connect to the daemon (They inspect /online_dir/online.lock to find 'Detached daemon' and the port number). This way, more that one session can be active, locally or remote.

Those who wish to allow clients to connect to an active Online session say:

ONLINE> server/asynch

See section 14.16 for details.