[ros-dev] [ros-diffs] [jmorlan] 40289: Make cmd able to (sort of) work without a console.

KJK::Hyperion hackbunny at reactos.org
Mon Mar 30 18:16:01 CEST 2009


Steven Edwards wrote:
> Thanks! I am now able to run telnetd and connect in to my ReactOS VM.
> Certain applications such as ctm don't seem to like running without a
> console due to making calls to GetConsoleMode

tlntsess.exe performs console redirection in the official Windows telnet
server. It's ugly. In the case of ctm, I can assure you the application
runs correctly, it's the server that doesn't know how to send the output
over the connection

> Its possible cmd.exe returns some
> bogus console mode or something when running without a console.

The Windows cmd can simply run without a console, no hidden trick. It
assumes a serial terminal is connected to stdin/stdout, although I'm not
sure what kind of terminal it assumes (see: the control character used
by the console-less implementation of cls)


More information about the Ros-dev mailing list