Specifies that a remote terminal will be used instead of the primary
keyboard and screen. CTTY is used to connect a terminal to a communications
port so that it can be used as a secondary terminal.
devicename Specifies AUX, COM1, COM2, COM3, or COM4
to be used as the primary console.
MS-DOS equivalent: CTTY (2.0+)
redirects input and output to the COM1 port.
DOS does not recognize the device name you specified. Reissue the
command, using a valid device name.
After you have switched the console to another port, you
must use the new console to switch back to the regular console by
giving the command
If the new terminal is not set at the correct baud rate and
protocol, you may have to reboot to use the regular terminal
[For related topics, press R]
- Ref PC Magazine Vol 6, No 12, Page 497
PC As we've discussed previously, do not use CTTY NUL to hide the output of
TSR (terminate-and-stay-resident) programs. Due to a quirk in tDOS, each TSR
program you load that way will permanently tie up two file handles, making
them unavailable to your other programs. Redirecting the output of a TSR to
NUL produces the same problem, though it ties up only one file handle each
time. If you have an EGA or VGA system it's much smarter to simply set every
palette color to black, as shown above.
|file: /Techref/dos/command/ctty.htm, 1KB, , updated: 1999/2/20 11:24, local time: 2017/10/23 19:16,
|©2017 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.piclist.com/techref/dos/command/ctty.htm"> dos command ctty</A>
|Did you find what you needed?|
PICList 2017 contributors:
o List host: MIT, Site host massmind.org, Top posters @20171023 RussellMc, Van Horn, David, James Cameron, Sean Breheny, IVP, alan.b.pearce, Neil, David C Brown, Bob Blick, Denny Esterline,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to www.piclist.com!