From: Guillaume Marcais Date: 2005-06-23T23:51:51+09:00 Subject: Re: /dev/tty in windows On Thu, 2005-06-23 at 23:17 +0900, 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:") Hum... no, that would be file.open("/dev/ttyS0"). /dev/tty is the console, not the serial port. That said, I don't know the answer to the original question, sorry. Guillaume.