User`s guide
The AXEL tty Server
________________________________________________________________
TCP/IP AXEL Platine Terminal 59
7.3.2 - Using
The AXEL tty server uses a configuration file which lists the authorised
associations between AX3000 ports and UNIX pttys.
Each entry in this file contains four parameters:
- AX3000 name (see
/etc/hosts
)
- AX3000 input/output port. One of these three keywords (lowercase
characters):
aux1
,
aux2
or
parallel
,
- the master part of the ptty (
/dev/ptypx
)
- the slave part of the ptty (
/dev/ttypx
)
Example:
# AXEL association file
axel1 aux1 /dev/ptyp12 /dev/ttyp12
axel1 parallel /dev/ptyp13 /dev/ttyp13
ax3000 aux2 /dev/ptyp0 /dev/ttyp0
Note: lines beginning with '#' are ignored.
This configuration file is read when the AXEL tty server is launched.
Errors (syntax error, unknown AX3000 name, ptty not available, etc.) are
recorded in a log file.
To start the AXEL tty server, issue the following command:
/etc/axtty_serv [-f file] [-l log] [-n port] &
-f
: configuration file (default:
/etc/axfile
).
-l
: log file (default:
/tmp/axttylog
).
-n
: TCP port (default: 2048).
The AXEL tty server can be started either from the UNIX command line or from
the AXEL boot file (
/etc/rc2.d/S91axel
).
Note: if the server is started from the shell command line, take care to add the
'
&
' character at the end of line, so the shell prompt will return.