blank.gif (43 bytes)

Church Of The
Swimming Elephant

Search:
index.gif

ntcmds00000000.gif

Mode (Configure Serial Port)

Configures a serial communications port.

This version of the mode command sets the parameters for a serial port (COM1, COM2, COM3, etc).

mode comm[:] [baud=b] [parity=p] [data=d] [stop=s] [to=on|off] [xon=on|off] [odsr=on|off] [octs=on|off] [dtr=on|off|hs] [rts=on|off|hs|tg] [idsr=on|off]

Parameters

comm

Specifies the number of the asynchronous-communications (COM) port.

baud=b

Specifies the transmission rate in bits per second. The following list shows valid abbreviations for b and its related rate:

11 110 baud

15 150 baud

30 300 baud

60 600 baud

12 1200 baud

24 2400 baud

48 4800 baud

96 9600 baud

19 19,200 baud

parity=p

Specifies how the system uses the parity bit to check for transmission errors. The p value can be one of the following: n (none), e (even), o (odd), m (mark), or s (space). The default value is e. Not all computers support the values m and s.

data=d

Specifies the number of data bits in a character. Valid values for d are in the range 5 through 8. The default value is 7. Not all computers support the values 5 and 6.

stop=s

Specifies the number of stop bits that define the end of a character: 1, 1.5, or 2. If the baud rate is 110, the default value is 2; otherwise, the default value is 1. Not all computers support the value 1.5.

to=on|off

Specifies whether infinite time-out processing is on or off. The default is off.

xon=on|off

Specifies whether the xon or xoff protocol for data-flow control is on or off.

odsr=on|off

Specifies whether output handshaking that uses the Data Set Ready (DSR) circuit is on or off.

octs=on|off

Specifies whether output handshaking that uses the Clear To Send (CTS) circuit is on or off.

dtr=on|off

Specifes whether the DTR circuit is on or off.

rts=on|off|hs|tg

Specifies whether the RTS circuit is set to on, off, handshake, or toggle.

idsr=on|off

Specifies whether the DSR circuit sensitivity is on or off.

Cotse.Net

Protect yourself from cyberstalkers, identity thieves, and those who would snoop on you.
Stop spam from invading your inbox without losing the mail you want. We give you more control over your e-mail than any other service.
Block popups, ads, and malicious scripts while you surf the net through our anonymous proxies.
Participate in Usenet, host your web files, easily send anonymous messages, and more, much more.
All private, all encrypted, all secure, all in an easy to use service, and all for only $5.95 a month!

Service Details

 
.
www.cotse.com
Have you gone to church today?
.
All pages ©1999, 2000, 2001, 2002, 2003 Church of the Swimming Elephant unless otherwise stated
Church of the Swimming Elephant©1999, 2000, 2001, 2002, 2003 Cotse.com.
Cotse.com is a wholly owned subsidiary of Packetderm, LLC.

Packetderm, LLC
210 Park Ave #308
Worcester, MA 01609