From: "Ralph \"PJPizza\" Siegler" Date: 2005-06-24T02:26:34+09:00 Subject: Re: /dev/tty in windows On Fri, Jun 24, 2005 at 12:31:09AM +0900, Wybo Dekker wrote: > 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 > yup, that's serial port, sorry, been doing headless Linux too much :P