Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Lawrence Turowski <lpt@msd.ray.com>
Subject: Re: tty devices
Date: 1999/02/25	[thread overview]
Message-ID: <36D57BC7.A0B50DFE@msd.ray.com> (raw)
In-Reply-To: slrn7d9057.btv.ken@pulsar.halcyon.com

> 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.



      parent reply	other threads:[~1999-02-25  5:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-24  5:00 tty devices Lawrence Turowski
1999-02-24  5:00 ` Ken Pizzini
1999-02-24  5:00   ` Cal Dunigan
1999-02-25  5:00     ` Ken Pizzini
1999-02-25  5:00       ` Cal Dunigan
1999-02-25  5:00   ` Lawrence Turowski [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox