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)