Sideway
output.to from Sideway
Draft for Information Only

Content

MS DOS Command: CTTY
  Description
  Syntax
  Parameters
  Related Command
  Remarks
   Setting up a serial port for CTTY
   Using CTTY with programs that do not use MS-DOS
   Setting the terminal device with COMMAND
  Examples

MS DOS Command: CTTY

Changes the terminal device used to control your computer.

Use the CTTY command if you want to use another device to enter commands.

Description

Allocates memory for a specified number of disk buffers when your system starts. You can use this command only in your CONFIG.SYS file.

Syntax

CTTY device

Parameters

device Specifies the alternative device you want to use to type MS-DOS commands. Valid values for the device parameter are PRN, LPT1, LPT2, LPT3, CON, AUX, COM1, COM2, COM3, and COM4.

Related Command

For more information about changing the input device when specifying a command interpreter, see the COMMAND command.

Remarks

Setting up a serial port for CTTY

Use the MODE command to set up your serial port for baud rate, parity, bits, and stop bit before using the CTTY command.

Using CTTY with programs that do not use MS-DOS

Many programs do not use MS-DOS for input or output. These programs send input directly to the hardware on your computer. The CTTY command has no effect on these programs; it affects only programs that use MS-DOS for reading keyboard input and displaying output.

Setting the terminal device with COMMAND

In addition to the CTTY command, you can use the device parameter of the COMMAND command to specify the input device.

Examples

To change control of all input and output from the current device (your computer monitor and keyboard) to the AUX port, type the following at the command prompt:

ctty aux

In this example, a remote terminal device connected to the AUX port controls input and output for your system.

To transfer input and output back to the monitor and keyboard, type the following command at the remote terminal:

ctty con


©sideway

ID: 110700147 Last Updated: 7/22/2011 Revision: 0


Latest Updated LinksValid XHTML 1.0 Transitional Valid CSS!Nu Html Checker Firefox53 Chromena IExplorerna
IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 8

Culture

Chinese 1097

English 339

Travel 18

Reference 79

Computer

Hardware 254

Software

Application 213

Digitization 37

Latex 52

Manim 205

KB 1

Numeric 19

Programming

Web 289

Unicode 504

HTML 66

CSS 65

SVG 46

ASP.NET 270

OS 431

DeskTop 7

Python 72

Knowledge

Mathematics

Formulas 8

Set 1

Logic 1

Algebra 84

Number Theory 206

Trigonometry 31

Geometry 34

Coordinate Geometry 2

Calculus 67

Complex Analysis 21

Engineering

Tables 8

Mechanical

Mechanics 1

Rigid Bodies

Statics 92

Dynamics 37

Fluid 5

Fluid Kinematics 5

Control

Process Control 1

Acoustics 19

FiniteElement 2

Natural Sciences

Matter 1

Electric 27

Biology 1

Geography 1


Copyright © 2000-2025 Sideway . All rights reserved Disclaimers last modified on 06 September 2019