By using Telnet to create an NTA device, output can then be sent to it.
If you need to create a device that has a standard terminal name format, you can use the
$ TELNET/CREATE host port/LOGICAL=NTA6000
You'll get a logical that is
You can then use it when specifying the output device by using:
$ COPY file NTA6000:
If you want to reserve some device names for the purposes of using them for outgoing use, then use a different device name (such as
To make an NTA device created via
TELNET/CREATE stick around, do:
$ TELNET/CREATE/LOGICAL=TELNET_NTA host port $ SET TERMINAL/NOHANGUP/PERMANENT TELNET_NTA $ DEALLOCATE TELNET_NTA
This does not disconnect it. This prevents it from hanging up.
The NTA device will stay around until you do:
$ SET TERMINAL/HANGUP/PERMANENT TELNET_NTA
Note that privileges are required to change the
If you need to make the logical device names available system-wide, you can do so by doing the following:
$ DEFINE/SYSTEM NTA6000 'F$TRNLNM("NTA6000")'
This is probably happening because by default the telnet server attempts to find the host name of the client and uses it when setting the remote port information (
ACCPORNAM) for the process. (This shows up when you do a
SHOW SYSTEM in the accounting file.) Looking up the host name could take some time especially if there are network problems, problems with name servers, or if DNS is configured improperly.
You can disable the lookup and have the telnet server use the client IP address for the remote port information by setting bit 8 of the
TELNETD_FLAGS logical. Add the following line to your
TCPWARE_CONFIGURE.COM to set this.
$ TELNETD_FLAGS == 256
For more information on the
TCPWARE_TELNETD_FLAGS logical, refer to the "Telnet - OpenVMS Management" chapter of the TCPware Management Guide.