terminal setting changes before screen output finished with LAT

From: Schubert, Mark <mark.schubert_at_faulding.com.au>
Date: Tue, 11 Nov 1997 11:56:32 +1030

We are cat(1)ing a file in a shell below Progress (a DBMS) and the
output has not finished displaying on the screen before the terminal
characteristic stty onlcr is changed. This causes the last page or so of
output to be displayed incorrectly.

When in Progress the terminal characteristic is stty -onlcr (which means
map line feed characters to carriage-return/line-feed). When invoking
the shell the characteristic is changed to stty onlcr (do not map). The
file is then cat(1)ed to the screen. Once control is returned to
Progress (ie. the command has finished) it resets the terminal
characteristic back to stty -onlcr. The displaying of the file has not
finished yet and so all of a sudden no more carriage-returns are
displayed causing the output to be all over the place.

It seems as though the terminal characteristic can be changed before all
output traffic is finished. This is only occuring with LAT connections.
Telnet connections are fine.

Are there any switches within LAT to stop this behaviour? Or is it a
programming thing within Progress when changing the terminal
characteristic where they are saying NOWAIT when they should be saying
WAIT?

TIA

Mark.Schubert_at_Faulding.com.au
Received on Tue Nov 11 1997 - 08:42:35 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT