This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: /dev/tty?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]