Article 128173 of comp.os.vms:
Path: nntpd.lkg.dec.com!depot.mro.dec.com!mrnews.mro.dec.com!mrlat.enet.dec.com!raspuzzi
From: raspuzzi@mrlat.enet.dec.com (Michael D. Raspuzzi)
Newsgroups: comp.os.vms
Subject: Re: Setting LAT terminal characteristics
Date: 29 AUG 95 22:34:28
Organization: Digital Equipment Corporation
Lines: 33
Message-ID: <420j1u$ccr@mrnews.mro.dec.com>
References: <youngn-2908952235020001@158.234.17.99>
NNTP-Posting-Host: mrlat.enet.dec.com


In article <youngn-2908952235020001@158.234.17.99>, youngn@logica.co.uk (Nicholas Young) writes...
>Can anyone tell me how to set the characteristics of a LAT port, such as
>speed, parity, data bits and stop bits, *programmatically*?  The VMS
>documentation (I/O users reference) doesn't say how to set the latter two
>at all, and although you can set the former two on a TTY terminal (using
>QIO with SETMODE), the LAT documentation says that the LAT terminal driver
>doesn't support them.

Yes, that is an unfortunate artifact.  You can change the parameters of an
LTA device with the same functions that you change hardwired terminal ports
(i.e. the documentation is not quite correct).  We are going to be changing
the documentation (hopefully, in the next release) to no longer state this.
The DCL SET TERMINAL commands even use those $QIO functions that "are not
supported" and SET HOST /LAT (with /SPEED /PARITY qualifiers) does as well.

The reason the doc says that it is not supported for LAT devices goes with
history.  When LAT was first introduced (LAT protocol V5.0) more than 10
years ago, it did not have the ability to change (or report) terminal port
speed, parity, etc (nor did LAT V5.0 have the ability to do printing).

When LAT V5.1 was introduced, this changed - port settings could be modified
from the host and printing was introduced.  Unfortunately, the documentation
was never change to reflect this new functionality.

In order for you to change a terminal server's port settings with a $QIO or
SET TERMINAL command, the port must have REMOTE MODIFICATION enabled.  Bear
in mind that not all terminal servers have the ability to do this REMOTE
MODIFICATION (for example, I don't think the DECserver 90L+ supports it)
and you will need a terminal server that supports this for it to work.
--
Mike Raspuzzi (raspuzzi@mrlat.enet.dec.com)
Digital Equipment Corporation


