4-18 ROM-DOS Internal Commands
CTTY (Change TeleTYpe)
Internal Command
The CTTY command directs input and output to a different device other
than your computer’s standard keyboard and monitor.
Syntax
CTTY device
Remarks
Use CTTY for any situation requiring interaction with an alternate
console.
The CTTY command only affects communication with ROM-DOS and with
programs that work through ROM-DOS for input and output. For
example, BASIC uses standard keyboard input regardless of previous
CTTY command usage.
Examples
CTTY COM2
Sets the device on COM2 as the input/output device.
CTTY CON
Returns control to the standard keyboard.