COMSERVD(8)

NAME
comservd - make network terminal server serial ports accessible via /dev

SYNOPSIS
comservd

DESCRIPTION
The comservd program provides a facility to access network terminal server serial ports, such as those available on Xyplex terminal server models, via /dev device file entries. This allows programs such as tip(1) to access devices connected to the terminal server serial ports. At startup, comservd loads and executes commands from its configuration file. The commands in this file can be any valid local mode command. Any output generated by the commands in the startup file is sent to syslog.

Valid local mode commands are:

    add devid devname host hwport tcpport Add a remote endpoint to local enpoint mapping. This associate the device file named by devname with the terminal server, serial port, and tcp port named by host, hwport and tcpport.

    set devid parmeter = value Set operation parameters for the device referenced by device named by devid. The special devid global refers to parameters that affect all connections. Valid paremeter values are:

        options Valid values for the options parameter are:

            wait nowait brk: NN nobrk Wait vs. nowait instructse comservd to either connect to the terminal server port immediately upon startup (nowait), or to wait until data is present on the local side before initiating the connection to the remote side. The brk:NN value specifies if the character code NN is received from the local side, it is to be treated as a request to enter local command mode. In this mode, a comservd> prompt is displayed and local mode commands are accepted, until a quit command is received, at which time, pass-thru mode is re-entered. If nobrk is specified, or if the value 0 is specified for NN to brk: breaking to local mode is disabled.

        verbose The verbose parameter takes a numeric value. Values range from 0 to 5, 0 meaning minimal informational and debugging output, while 5 meaning lots of output.

    show Show operational settings.

    who List local and remote connections.

    shutdown Shutdown the server.

    quit Disconnect from the server, returning to pass-thru mode.

    help,? Print a list of valid commands.

FILES
/usr/local/etc/comservd.conf
    configuration file
/usr/local/etc/comservd.conf.sample
    sample configuration file with examples

SEE ALSO
syslogd(8)

AUTHORS
Brian S. Dean <bsd@FreeBSD.org>

BUGS
Please send bug reports to bsd@FreeBSD.org.