/dev/tty in windows

Ralph "PJPizza" Siegler 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:".

Kind regards

    robert

···

On Thu, Jun 23, 2005 at 11:09:14PM +0900, Wybo Dekker wrote:

Ralph "PJPizza" Siegler