Channel window – Comtrol DM ATS-LNX User Manual

Page 62

Advertising
background image

Appendix C. lcom(1)

62

lcom(1)

This example runs a stream of ASCII data with software flow control. You must
have a loopback plug installed on the port for this test to pass.

lcom -m tput -f sw /dev/ttyR0

Channel Window

Below is a typical lcom screenshot showing two open channels:

+-------------------------------------------------------------------+

|S1 [term] CD DTR DSR RI RTS CTS 163/163 0.0/0.0 |

|asd;lfkjsa;ldkfjsadl;jfasl;dkjfasl;dkjfasl;djflas;kjfasl;dkjfasl;dj|

|fas;ldkjfasl;dkjfasl;kjfasl;kdjfas;ldkjfas;dlkjfasl;dkfjasl;fdkjsl;|

|adfkjasl;dfkjas;dlkjflas;djkf |

| |

| |

| |

| |

| |

+-------------------------------------------------------------------+

+-------------------------------------------------------------------+

|R2 [tput] CD DTR DSR ri RTS CTS 70656/70103 970.9/959.9 |

|EFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|} !"#$%&'()|

|*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abc !"#$%&'(|

|)*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijk|

|lmnopqrstuvwxyz{|} !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOP|

|QRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|} !"#$%&'()*+,-./012345|

|6789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abc !"#$%&'()*+,-./01234|

|56789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvw|

|xyz{|} !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\|

|]^_`abcdefghijklmnopqrstuvwxyz{|} !"#$%&'()*+,-./0123456789: |

+-------------------------------------------------------------------+

In the example show above, the devices /dev/ttyS0 and /dev/ttyR0 have been opened.
Both ports have loopback connectors attached. /dev/ttyS0 is in terminal mode and
some text has been entered on the keyboard which has been sent and then
received and displayed in the window. /dev/ttyR0 is in throughput mode, and the
test data is seen in the window.

Each window has a status line at the top. The status line may be in place of the
upper window border or immediately below it (as shown above) depending on the
-B command line option. The layout of the status line is:

Dev [Mode] <Flags> <Modem> TxCnt/RxCnt TxThr/RxThr

Dev

is the device name or IP destination. If the device path starts with
'/dev/tty', that portion will not be shown as a space saving measure.

Mode

is the mode in which that port is operating. See modes under the command

line options section.

Flags

is a set of single-character flags that are shown only when they are active.

The flag characters are

Q

Quiet-mode

P

Paused

V

Verify failure

R

Read error

W Write error

E

EOF detected

Advertising