[CMD]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Tue, 2 Jul 2013 23:07:15 +0000 (23:07 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Tue, 2 Jul 2013 23:07:15 +0000 (23:07 +0000)
commit1965b2bf8579288766a6820d514c659c5055e8ca
tree136cf90b49baa601a7c11ac8a03dca4ed7271124
parent803c51b6baa4a3d736e7ead129cd82606d969588
[CMD]
Remove extra \r put by hand in some console output functions, so that we use there only \n.
But modify the ConWrite function so that, if we redirect output to something else than a console
(e.g. redirect to a file or to a serial console via ... > AUX), newline characters \n get converted
into \r\n automatically.

What you get, for instance, is: https://imageshack.com/a/img853/5834/l34.png

svn path=/trunk/; revision=59411
15 files changed:
reactos/base/shell/cmd/assoc.c
reactos/base/shell/cmd/attrib.c
reactos/base/shell/cmd/choice.c
reactos/base/shell/cmd/cmd.c
reactos/base/shell/cmd/cmdinput.c
reactos/base/shell/cmd/cmdtable.c
reactos/base/shell/cmd/console.c
reactos/base/shell/cmd/echo.c
reactos/base/shell/cmd/error.c
reactos/base/shell/cmd/filecomp.c
reactos/base/shell/cmd/free.c
reactos/base/shell/cmd/misc.c
reactos/base/shell/cmd/path.c
reactos/base/shell/cmd/set.c
reactos/base/shell/cmd/ver.c