home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!rpi!bu.edu!dartvax!coos.dartmouth.edu!platt
- From: platt@coos.dartmouth.edu (The Crouton Man)
- Newsgroups: comp.os.linux
- Subject: Re: bug in /dev/tty
- Message-ID: <1992Jul28.061922.29890@dartvax.dartmouth.edu>
- Date: 28 Jul 92 06:19:22 GMT
- References: <1992Jul28.060505.29450@dartvax.dartmouth.edu>
- Sender: news@dartvax.dartmouth.edu (The News Manager)
- Organization: Dartmouth College, Hanover, NH
- Lines: 24
-
- 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
-