From: The Crouton Man (platt@coos.dartmouth.edu)
Date: 07/28/92


From: platt@coos.dartmouth.edu (The Crouton Man)
Subject: Re: bug in /dev/tty
Date: 28 Jul 1992 06:19:22 GMT

ok, at the risk of quoting my own matterial

In article <1992Jul28.060505.29450@dartvax.dartmouth.edu> platt@coos.dartmouth.edu (The Crouton Man) writes:
>ok, i am using 0.96cpl2 + autodetect + filefs.

it exhibits the same behavior with my "stdkernel":
        0.96cpl2 + selection-1.3 + 32mb
(note that i also had selection-1.3 and 32mb in the first kernel, i don't
 think that either of these would cause this behaviour..)

>shell: rc ( and bash for test )

again, the problem is that open("/dev/tty",O_RDONLY) returns the
same fd as stdin which can (and in my case has) be(en) redirected
to a pipe (or file), namely fd=0 post open.

compiler:
2:01am:crunchy:root: gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.2.2/specs
gcc version 2.2.2

croutons.
croutons@dartmouth.edu