Re:Does Windows still rely on MS-DOS? - Super User
by rix0r on Sunday August 07, 2011 @05:19AM
(#2856273)
Actually, you just mean the console, not cmd.exe.
cmd.exe is just an command interpreter (like bash) that needs a console/terminal (like xterm) just as any other CLI application does.
In other words, is not cmd.exe that sucks, but the Windows console. If Microsoft improved the console, cmd would immediately become nicer to use (though still hobbled by an inane scripting language).
</pedantry>
Re:Does Windows still rely on MS-DOS? - Super User
by eropple on Sunday August 07, 2011 @11:13AM
(#2856750)
No--cmd.exe is very tightly tied to the underlying command line infrastructure. This is a large part of why alternatives such as Console are so bad--they can only access the command interpreter and infrastructure as a stream, which rules our most character-mode applications. (Cygwin/rxvt get around this by not using the Windows infrastructure at all; curses can be built for Windows and works in cmd.exe, but character-mode code written for cmd.exe will break hard in rxvt.)
Sadly, for most definitions, cmd.exe is the console and the interpreter.
The difference between the Windows console and the a Unix one is that you can't fix the Windows console. Some programs, i.e. Console, try, but the Windows CLI is buried way too deeply in CSRSS and ends up depending so tightly on the crap you see exposed in cmd.exe that attempts to build something better have largely failed.