Hi!
2009/3/29 jmorlan@svn.reactos.org:
Author: jmorlan Date: Sun Mar 29 23:17:45 2009 New Revision: 40289
URL: http://svn.reactos.org/svn/reactos?rev=40289&view=rev Log: Make cmd able to (sort of) work without a console.
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. I am going to test telnetd on Windows with Windows cmd.exe and ReactOS cmd.exe to compare behavior of these applications. Its possible cmd.exe returns some bogus console mode or something when running without a console.
Thanks
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)
On Mon, Mar 30, 2009 at 12:16 PM, KJK::Hyperion hackbunny@reactos.org wrote:
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
Thanks for the tip. Searching for tlntsess I was able to find this page
http://technet.microsoft.com/en-us/library/cc778139.aspx
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)
Ok thanks. I'll spend a bit more time researching it and see what I can come up with.