This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: /dev/tty?
- To: gnu-win32 at cygnus dot com
- Subject: Re: /dev/tty?
- From: cgf at bbc dot com (Chris Faylor)
- Date: Tue, 4 Nov 1997 14:04:23 GMT
- Organization: Boston Business Computing, Ltd.
- References: <3.0.1.32.19971104065904.009244a0@zip.com.au>
- Reply-To: cgf at bbc dot com
In article <3.0.1.32.19971104065904.009244a0@zip.com.au>,
raf <raf2@zip.com.au> wrote:
>hi,
>
>what do you do when fopen("/dev/tty", "r") doesn't work?
>i tried "ln -s /dev/conin /dev/tty" but /dev/conin (the output
>of 'tty') doesn't exist.
Try this instead:
mount con /dev/tty
That worked for me.
Btw, I've just submitted a patch to make cygwin do this by default.
--
http://www.bbc.com/ cgf@bbc.com "Strange how unreal
VMS=>UNIX Solutions Boston Business Computing the real can be."
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".