tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* odd 'stty raw' behavior
@ 1999-03-10 10:44 Dejan Muhamedagic
  0 siblings, 0 replies; only message in thread
From: Dejan Muhamedagic @ 1999-03-10 10:44 UTC (permalink / raw)
  To: tru64-unix-managers

Hello,

I've encountered interesting behavior on a DU4.0d at customers'
site.  The following shell commands requires *two* keystrokes
instead of one:

    stty raw -echo
    KEY=`dd bs=1 count=1 2>/dev/null`

And
    stty raw -echo
    TWOKEYS=`dd bs=1 count=2 2>/dev/null`

requires 3 keystrokes, etc.

stty -a gives reasonable settings (in particular time=0 and min=1
for "raw" mode).

However, I was not able to reproduce the same error on my machine
which is exactly the same DU version with the patch set 1 applied.
OTOH, I wasn't able to find any differences between these two
machines.

Anybody has any hint on what could possibly be the reason for this?

Many TIA.

Dejan Muhamedagic

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-03-10 10:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-10 10:44 odd 'stty raw' behavior Dejan Muhamedagic

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