in reply to Reading from the keyboard in Win32 without using STDIN

In unix: /dev/tty and /dev/null. I bet Windows/DOS has no cool random device like /dev/urandom.

By the way, if you use an MS-DOS CD driver, a similar device is created. That means that if you used /D:MSCD000, you can no longer use MSCD000.anything as a filename. Big deal. But if you were lazy and used /D:CDROM, you'll find that programs can no longer install or use cdrom.dll. which can be quite annoying.

Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }

  • Comment on Re: Reading from the keyboard in Win32 without using STDIN