home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / doshelp / helpsb.zoo / help / mode / serial.hlp < prev    next >
Encoding:
Text File  |  1989-01-01  |  1.6 KB  |  35 lines

  1.                          COMMUNICATION
  2.  
  3. This option is used to control the way that COM1: through COM4: work.
  4.  
  5.    MODE COMn[:]baud[,parity[,databits[,stopbits[,ra]]]]
  6.    MODE COMn[:] BAUD=baud [PAR[ITY]=parity] [DATA=databits] [STOP=stopbits]
  7.               [RETRY=ra] [/STAT[US]                             [new DOS 4.0]
  8.  
  9. COMn can be COM1, COM2, COM3, or COM4. A ":" is optional.
  10.  
  11. baud is the speed the characters are transmitted.  110, 150, 300, 600,
  12.     1200, 2400, 4800, 9600, or 19200 are the choices. Only the first two
  13.     digits are specified.
  14.  
  15. parity specifies parity checking to insure correct transfer. The parity can
  16.     be E[VEN] (the default), O[DD], or N[ONE]. DOS 4.0 also supports S[PACE]
  17.     and M[ARK].
  18.  
  19. databits specifies the character length which can be 7 (by default) or 8 bits. 
  20.  
  21. stopbits specifies the number of stop bits required by the device on the port.
  22.     Stopbits can be 1 (by default) or 2.
  23.  
  24. ra specifies the retry action to take when a status check detects a busy 
  25.     status. The default is not to do anything, and abandon the current 
  26.     operation. The Ctrl-Break key will force DOS to stop trying if busy 
  27.     (when the B or P option was specified), if you want to stop waiting 
  28.     for the operation to complete.
  29.     E - Return error                         [new DOS 4.0]
  30.     B - Same as P for DOS 3.31 and before            [new DOS 4.0]
  31.     P - Continue trying to send characters if busy        [before DOS 3.31]
  32.     R - Return ready anyway                    [new DOS 4.0]
  33.  
  34. /STA or /STATUS will display status information for the port.
  35.