From: cgf@bbc.com (Chris Faylor)
Subject: Re: /dev/tty?
4 Nov 1997 06:38:23 -0800
Message-ID: <EJ4KFB.1q2.cygnus.gnu-win32@bbc.com>
References: <3.0.1.32.19971104065904.009244a0@zip.com.au>
Reply-To: cgf@bbc.com
To: gnu-win32@cygnus.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".
