syac_ttyaddrs(1M) DG/UX 5.4R3.00 syac_ttyaddrs(1M)
NAME
syacttyaddrs - set tty specific internet addresses
SYNOPSIS
syacttyaddrs [ -b on|off ] [ -p on|off ] device ttyname ...
inetaddr
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.
inetaddr The internet address for the tty(s), expressed in dot
notation (see inet(3N)).
DESCRIPTION
The syacttyaddrs 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 syacttyaddrs command directs the named tty(s) to respond to
telnet connections to the internet address specified on the command
line. The behavior of all the other ttys controlled by the VTC is
unaffected.
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.
Tty specific internet addresses can be assigned at any time with the
syacttyaddrs 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.
Licensed material--property of copyright holder(s) 1
syac_ttyaddrs(1M) DG/UX 5.4R3.00 syac_ttyaddrs(1M)
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
syacttyaddrs '/dev/async/syac@60(60000000)' /dev/tty34 128.222.3.112
This sets the internet address for /dev/tty34 to 128.222.3.112. 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
syacroutes(1M), inet(3N), vtc.addrs(4M), syac(7), termio(7).
Licensed material--property of copyright holder(s) 2