User`s manual

Installing under UNIX/LINUX
80 TCP/IP AX3000 User's Manual
5.3.1 - The tty Protocol
The tty server is a Axel proprietary protocol. An additional piece of software is
needed (see Chapter 5.4).
The Unix/Linux host must run the AXEL tty server daemon (axttyd). The
configuration file axttyd must contain a list of AX3000 auxiliary ports and the
pttys associated with each.
Each auxiliary port using the tty protocol (see Chapter 3.5.5) is identified by the
name of the AX3000 (from the /etc/hosts file) and a special keyword. For
example:
axel1 aux1 /dev/ptyp12 /dev/ttyp12
axel1 aux2 /dev/ptyp13 /dev/ttyp13
axel2 parallel /dev/ptyp2 /dev/ttyp2
An auxiliary port controlled by the tty server is seen as a Unix/Linux local port
(like a multi I/O board).
Data can be sent to an auxiliary port by:
- either a redirection to the ttyp (example: "cat file > /dev/ttyp12")
- or declaring a local printer attached to the ttyp (/dev/ttyp12). This printer
is used through the lp command.
5.3.2 - The rsh Command
The rsh command (or rcmd on SCO OpenServer) can be used to print a file.
The rsh parameters are:
- the hostname or the IP address of the device,
- a keyword which is the AX3000 auxiliary port name. This name has been
set through the AX3000 Set-Up (see Chapter 3.5.6).
To print a file, the rsh command reads data from 'standard input' (stdin) and
sends this data to one of the AX3000’s auxiliary ports. For example:
$ rsh axname parallel < file <CR>