From: Wybo Dekker Date: 2005-06-24T00:31:09+09:00 Subject: Re: /dev/tty in windows On Thu, 23 Jun 2005, Robert Klemme wrote: > Ralph "PJPizza" Siegler wrote: > > On Thu, Jun 23, 2005 at 11:09:14PM +0900, Wybo Dekker wrote: > >> under linux I use > >> > >> STDIN.reopen('/dev/tty') > >> > >> what is the equivalent for Windows? > >> > >> And where can I find documentation about the differences between > >> OS's? > >> > >> -- > >> Wybo > >> > > > > > > > > > > file.open("COM1:") > > That's the serial port if I'm not mistaken. I'd try "CON" or "CON:". that's it, either CON or CON: Thanks! -- Wybo