home *** CD-ROM | disk | FTP | other *** search
- COMMUNICATION
-
- This option is used to control the way that COM1: through COM4: work.
-
- MODE COMn[:]baud[,parity[,databits[,stopbits[,ra]]]]
- MODE COMn[:] BAUD=baud [PAR[ITY]=parity] [DATA=databits] [STOP=stopbits]
- [RETRY=ra] [/STAT[US] [new DOS 4.0]
-
- COMn can be COM1, COM2, COM3, or COM4. A ":" is optional.
-
- baud is the speed the characters are transmitted. 110, 150, 300, 600,
- 1200, 2400, 4800, 9600, or 19200 are the choices. Only the first two
- digits are specified.
-
- parity specifies parity checking to insure correct transfer. The parity can
- be E[VEN] (the default), O[DD], or N[ONE]. DOS 4.0 also supports S[PACE]
- and M[ARK].
-
- databits specifies the character length which can be 7 (by default) or 8 bits.
-
- stopbits specifies the number of stop bits required by the device on the port.
- Stopbits can be 1 (by default) or 2.
-
- ra specifies the retry action to take when a status check detects a busy
- status. The default is not to do anything, and abandon the current
- operation. The Ctrl-Break key will force DOS to stop trying if busy
- (when the B or P option was specified), if you want to stop waiting
- for the operation to complete.
- E - Return error [new DOS 4.0]
- B - Same as P for DOS 3.31 and before [new DOS 4.0]
- P - Continue trying to send characters if busy [before DOS 3.31]
- R - Return ready anyway [new DOS 4.0]
-
- /STA or /STATUS will display status information for the port.