home *** CD-ROM | disk | FTP | other *** search
-
- The STAT program will allow you to display and change the status
- of any COM port. The syntax of this utility is as follows:
-
-
- ┌ ┐ ┌ ┐ ┌ ┐
- STAT │ COM1 │ │ INT │ │ ON │
- │ COM2 │ │ RTS │ │ OFF │
- │ COM3 │ │ DTR │ └ ┘
- │ COM4 │ └ ┘
- │ PNNNN │
- └ ┘
- Where NNNN is a PORT address.
-
- EXAMPLE --> C>stat com1 int on
-
- This will enable interrupts on port COM1
-
-
- C>stat p3f8 rts off
-
- This will turn off RTS on port 3F8
-
-
- C>stat COM2
-
- This will display the status of port COM2
-
-
-
- The INT operator will ENABLE or DISABLE interrupts for the selected
- COM port. This could be useful if a piece of software left
- interrupts turned on for a port and another port was trying to use
- the same interrupt line. You could then turn off interrupts for one
- of the ports allowing the other one to work.
-
- The RTS operator turns ON and OFF the Request To Send RS232 line.
-
- The DTR operator turns ON and OFF the Data Terminal Ready RS232 line.
-
-
- The following files are included:
-
- STAT.DOC <--- This file.
- STAT.EXE <--- Program compiled with Microsoft C 5.1
- STAT.C <--- Source code
-
- This program is released into the Public Domain and may be used
- for whatever anyone wants to use it for.
-
-
- Dave DeDene
- (313) 497-1038
- Center Line MI