The LINE-STATUS command displays the status of a line or range of lines.
Format
LINE-STATUS [m [-n]] [(P)] |
Parameter(s)
m |
Beginning line number. |
n |
Ending line number. |
Description
A sample display of the status of three lines is shown below:
>LINE-STATUS 0-2 |
|||||||
LINE |
HALT |
IN-BUF |
OUT-BUF |
RTS |
DTR |
CTS |
DSR |
000 |
|
127 |
57 |
0 |
1 |
0 |
1 |
001 |
IN |
101 |
0 |
1 |
1 |
1 |
1 |
002 |
I/O |
110 |
127 |
0 |
0 |
1 |
1 |
Line status fields are as follows:
Field |
Description |
|
LINE |
Line number of the port |
|
HALT |
Logical state of the line's Input/Output flow control: |
|
IN |
Indicates that the line's input buffer is full or nearly full, and it has requested that input be HALTed. NOTE: Intelligent Input/Output subsystems (for example, DTCS) have large input buffers and may be able to continue receiving input even though an input halt condition exists. |
|
OUT |
Indicates that the line has detected a HALT condition (received an X-OFF character or sensed a change in DTR) and output is logically stopped. |
|
I/O |
Indicates that both the IN and OUT conditions exist. |
|
HARD |
Indicates that the line has been hardware disabled. See the (K option for the PROTOCOL Command for more information. |
|
" " |
Indicates that neither the IN nor the OUT condition exists. |
|
IN-BUF |
Indicates the number of characters in the local input buffer (the buffer always contains the 127 most recently entered characters). |
|
OUT-BUF |
Indicates the number of characters in the local output buffer. |
|
RTS |
Current state of the RTS (Request-To-Send) input line: 1 if the level is high, 0 if it is low. |
|
DTR |
Current state of the DTR (Data Terminal Ready) input line: 1 if the level is high, 0 if it is low. |
|
CTS |
Output level of the CTS (Clear-To-Send) line: 1 if the level is high, 0 if it is low. If CTS is used as INPUT-FLOW Control, "-" is displayed. |
|
DSR |
Output level of the DSR (Data Set Ready) line: 1 if the level is high, 0 if it is low. |