vtc_ttyaddrs(1M) DG/UX 5.4 Rel. 2.01 vtc_ttyaddrs(1M)
NAME
vtc_ttyaddrs - set SYAC VTC's tty specific parameters
SYNOPSIS
vtc_ttyaddrs [ -b on|off ] [ -p on|off ] device ttyname ...
inet_addr port protocol
where:
device The full pathname of the syac device which owns the
specified tty(s).
ttyname The full pathnames of the tty(s) which should respond to
the specified internet address.
inet_addr The internet address for the tty(s), expressed in dot
notation (see inet(3N)).
port The port for the tty(s).
protocol The protocol and direction for the tty(s).
DESCRIPTION
The vtc_ttyaddrs command operates on tty(s) controlled by a SYAC VTC
device. Normally, all ttys associated with a VTC respond to telnet
connections to the VTC default internet address (see vtc.addrs(4M)).
The vtc_ttyaddrs command directs the named tty(s) to respond to
network connections or call out using the internet address, port, and
protocol specified on the command line. The behavior of all the
other ttys controlled by the VTC is unaffected.
Note that ports are per VTC and a port can only have one defined
input protocol. In other words, a port cannot be associated with two
different ttys if the ttys have different input protocols.
The protocol specifies the protocol and direction of the specified
tty. Below is a list of allowable protocol values along with a brief
description of each type.
Protocol Description
telnetin Uses TELNET protocol
rlogin Uses RLOGIN protocol
tcpin Uses TCP protocol
telnetout Calls out using TELNET protocol
tcpout Calls out using TCP protocol
The ability to associate specific internet addresses with specific
ttys is useful when using passive devices, such as printers, with the
VTC. In order to access a device, a program must know the entry in
/dev that is associated with the device. For the case of a device
using a permanent telnet connection to a VTC (as via a termserver),
the entry in /dev would be a tty entry, such as /dev/tty56. The
system must ensure that the telnet connection for such a device is
always associated with a specific tty associated with a VTC. The
only way to do this is to assign that particular tty a specific
internet address and have the device connect to this particular
internet address via the telnet protocol. In this way the device
will always be associated with the proper tty.
Licensed material--property of copyright holder(s) 1
vtc_ttyaddrs(1M) DG/UX 5.4 Rel. 2.01 vtc_ttyaddrs(1M)
Tty specific internet addresses can be assigned at any time with the
vtc_ttyaddrs command and are active until the system is rebooted or
the SYAC is reset. The system will also assign tty specific internet
addresses during system boot based on the contents of
/etc/tcload/vtc.addrs (see vtc.addrs(4M)).
The SYAC board performs some aspects of input processing for the host
computer. By default, the input processing performed by the SYAC
(and the input processing performed by the host) is not affected by
the state of telnet binary mode, and can only be enabled and disabled
by changing the current line discipline settings (see termio(7)).
Specific tty lines can be configured so that when the telnet
connection is negotiated into telnet binary mode, the input
processing performed by the SYAC is disabled. Input processing
performed by the host is unaffected. The vast majority of
applications will not require this behavior, however, this option is
supported for applications which may require it. These options only
pertain to the TELNET protocol.
Options are:
-b on|off
If on, the VTC will attempt to negotiate telnet binary mode
when a connection is established for any of the tty lines
specified on the command line. If off, the VTC will not
attempt to negotiate telnet binary mode. By default, the VTC
will attempt to negotiate telnet binary mode for all lines
when a connection is established.
-p on|off
If on, onboard input processing will not be affected by the
state of telnet binary mode. If off, onboard input processing
will be disabled whenever telnet binary mode is negotiated on.
By default, onboard input processing is not affected by the
state of telnet binary mode.
EXAMPLES
vtc_ttyaddrs '/dev/async/syac@60(60000000)' /dev/tty34 128.222.3.112 513 rlogin
This configures /dev/tty34 to accept connections from 128.222.3.112
at port 513 using an rlogin protocol. An error is generated if the
specified SYAC does not refer to a VTC device or if the specified
tty(s) are not controlled by the specified SYAC.
FILES
/etc/tcload/vtc.addrs SYAC VTC Configuration file
DIAGNOSTICS
Exit status is 0 for success, non-zero otherwise.
SEE ALSO
vtc_routes(1M), inet(3N), vtc.addrs(4M), tcload(1M), syac(7),
termio(7).
Licensed material--property of copyright holder(s) 2