From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,27f23f6aec1086f9 X-Google-Attributes: gidf8c9b,public X-Google-Thread: 1020c6,27f23f6aec1086f9 X-Google-Attributes: gid1020c6,public X-Google-Thread: fee84,27f23f6aec1086f9 X-Google-Attributes: gidfee84,public X-Google-Thread: 10b612,27f23f6aec1086f9 X-Google-Attributes: gid10b612,public From: Lawrence Turowski Subject: Re: tty devices Date: 1999/02/25 Message-ID: <36D57BC7.A0B50DFE@msd.ray.com>#1/1 X-Deja-AN: 448375825 Content-Transfer-Encoding: 7bit References: <36D41A77.9423B3AF@msd.ray.com> Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@swl.msd.ray.com X-Trace: swlmail.msd.ray.com 919960522 13109 138.127.84.115 (25 Feb 1999 16:35:22 GMT) Organization: Raytheon Company Mime-Version: 1.0 NNTP-Posting-Date: 25 Feb 1999 16:35:22 GMT Newsgroups: comp.unix.ultrix,comp.unix.questions,comp.unix.osf.osf1,comp.unix.admin > I note that the letter "h" has odd parity, whereas the letters > "e", "l", "o", and newline are all even parity. > > It looks like Ultrix 4.5 is resetting the stty settings to > enforce even-parity (discard errors) whenever there is no > process holding the tty open. > > To verify this, you can try: > > # tip tty01 > ~!sleep 900 >/dev/tty1 & > ~. > echo hello >/dev/tty1; echo hello >/dev/tty1; echo hello >/dev/tty1 > > The "sleep" command above should hold the tty1 device open so that > the stty settings that tip uses on that device are not lost. I > expect that you will see the desired "hello" messages. > > HTH, > --Ken Pizzini This is essentially the same as as leaving both xterms tipped and echoing from a third (which I had previously tried and noted that it worked.) I "~.sleep 900 > /dev/tty01 &"; this escapes to a shell and prints out something like "sleep: event not found." Nevertheless, this was a great help. Ultrix 4.1 allows you to set the tty settying even when no process is holding the tty open. I did not realize that Ultrix 4.5 would be different, that it would "enforce even-parity (discard errors) whenever there is no process holding the tty open," as you supposed. I should be able to just "tip tty01 &" and then follow the process for uploading code without a problem or much modification. You've definitely helped me understand what is going on and saved me a lot of frustration. thanks, Larry T.