Rtty Program - Digi PortServer II User Manual

Communication terminal server
Table of Contents

Advertisement

RTTY program

The following is an extract from the RTTY source code and explains the command
usage.
/**********************************************************
* NAME
* rtty - Connect a tty to a remote TCP port.
*
* SYNOPSIS
* rtty [-dhw] tty host port
*
* DESCRIPTION
*rtty attaches the master side of a named pseudo tty
*to a TCP session.
*
*This is most often useful to allow a TCP terminal server
*port to appear as a local tty on some host computer.
*
*-[0-9] Wait for data to be written to the slave side of
*
the pseudo tty before opening the connection;
*
open the connection and sleep the given number
*
seconds [0-9] before writing the data to the port.
*
*-dDaemonize. A detached child process is spawned
*
to perform the program function, ignoring all
*
signals.
*
*-hHold the tty open so "stty" settings are not
*
disrupted and EOF's are not sent when the tty
*
is locally closed.
*
*-qQuit after one session is complete. Normally the
*
program loops to handle multiple sessions.
*
*-sSuppress the copyright notice.
*
*-wWait for data to be written to the tty port before
*
executing the rsh command.
*
*-xOutput debugging information. Specifying "x"
*
twice produces even more output.
*
*
*To associate "ttypf" with the dedicated printer device
*connected to (PortServer II) node ncx, port 4.
*
* rtty -dh ttypf ncx 2104
*
*To associate "ttysf" with a dial-in/dial-out (type mio)
*modem attached to (PortServer II) node dbps port 13.
*
* rtty -1d ttysf dbps 2113
*/
90030500B
Configuring Modem Connections
Page 141

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents