/dev/tty?

Chris Faylor cgf@bbc.com
Tue Nov 4 06:04:00 GMT 1997


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".



More information about the Cygwin mailing list