[CMD]: New CTTY command.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Mon, 2 Oct 2017 17:03:01 +0000 (17:03 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Mon, 2 Oct 2017 17:03:01 +0000 (17:03 +0000)
commitb896e9a9c3dc26e85062871247019a682161446c
treefe63077f3f22e6bd8dde414e01a619075c21cf4e
parent084f682e5445870dff97e677e1122554c878c575
[CMD]: New CTTY command.
- Introduce back the CTTY command (that normally only exists on DOS
  versions of COMMAND.COM but doesn't on Windows NT' CMD.EXE), whose aim
  is to "change the active terminal" (syntax: CTTY <dos_device>). To
  achieve that we actually redirect STDIN, STDOUT and STDERR to read/write
  handles opened to the <dos_device>. This is very handy when it comes to
  redirecting all the standard handles to e.g. a serial terminal ("CTTY COM1"
  for example).
- Fix some typos in the resources.

svn path=/trunk/; revision=76029
28 files changed:
reactos/base/shell/cmd/CMakeLists.txt
reactos/base/shell/cmd/cmd.h
reactos/base/shell/cmd/cmdtable.c
reactos/base/shell/cmd/config.h
reactos/base/shell/cmd/ctty.c [new file with mode: 0644]
reactos/base/shell/cmd/lang/cs-CZ.rc
reactos/base/shell/cmd/lang/de-DE.rc
reactos/base/shell/cmd/lang/el-GR.rc
reactos/base/shell/cmd/lang/en-US.rc
reactos/base/shell/cmd/lang/es-ES.rc
reactos/base/shell/cmd/lang/fr-FR.rc
reactos/base/shell/cmd/lang/hu-HU.rc
reactos/base/shell/cmd/lang/id-ID.rc
reactos/base/shell/cmd/lang/it-IT.rc
reactos/base/shell/cmd/lang/ja-JP.rc
reactos/base/shell/cmd/lang/no-NO.rc
reactos/base/shell/cmd/lang/pl-PL.rc
reactos/base/shell/cmd/lang/ro-RO.rc
reactos/base/shell/cmd/lang/ru-RU.rc
reactos/base/shell/cmd/lang/sk-SK.rc
reactos/base/shell/cmd/lang/sq-AL.rc
reactos/base/shell/cmd/lang/sv-SE.rc
reactos/base/shell/cmd/lang/tr-TR.rc
reactos/base/shell/cmd/lang/uk-UA.rc
reactos/base/shell/cmd/lang/zh-CN.rc
reactos/base/shell/cmd/lang/zh-TW.rc
reactos/base/shell/cmd/redir.c
reactos/base/shell/cmd/resource.h