odd 'stty raw' behavior

From: Dejan Muhamedagic <dejan_at_yunix.co.yu>
Date: Wed, 10 Mar 1999 11:44:28 +0100

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
Received on Wed Mar 10 1999 - 11:42:07 NZDT

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