From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078619210361.tru64-unix-managers.marc@archive.invalid> From: "Schubert, Mark" Date: Tue, 11 Nov 1997 01:38:32 +0000 To: tru64-unix-managers Subject: terminal setting changes before screen output finished with LAT X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078619210361 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@Faulding.com.au