xt(1)

NAME
xt - simple terminal emulator with snooping capability

SYNOPSIS
xt -p PORT [-b BAUDRATE] [-s STOPBITS] [-t TTYLINK] [--version]

DESCRIPTION

xt copies its standard input to PORT while simultaneously copying PORT to its standard output. In this way, xt provides a simple terminal emulator.

xt performs some filtering on standard input: ESC and EOF cause xt to exit; ^B causes xt to send a line break. For convenience in use with different keyboards, DEL is converted to BS, and NL is converted to CR. All other characters are transmitted unchanged.

All characters received from the serial port are copied to standard output unchanged.

If a TTYLINK is specified, xt allocates a pseudo-tty and creates a symbolic link TTYLINK pointing to it. xt then copies TTYLINK to PORT and PORT to TTYLINK in addition to the standard copying described above.

xt performs no modification of the data passing between TTYLINK and PORT.

Since TTYLINK appears to be a tty for most purposes, another program such as a debugger can communicate via TTYLINK with a target device attached to PORT. The user of xt can then monitor the PORT-to-TTYLINK communication on xt's standard output, while continuing to send data from xt's standard input to PORT, if desired.

The following arguments are required:

-p PORT
    Select serial port to use.

The following options are accepted:

-b BAUDRATE
    Select baud rate to use (default 9600). Supported baud rates vary with the host operating system, but usually include 0, 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800, 9600, 19200, 38400, 57600 and 115200.

-s STOPBITS
    Set number of stop bits, either 1 or 2 (default 1).

-t TTYLINK
    Allocate a pseudo-tty, and create a symbolic link TTYLINK pointing to it.

--version
    Output version information and exit.

REPORTING BUGS
Report bugs to <querbach@realtime.bc.ca>.

COPYRIGHT
Copyright © 2002 Real-Time Systems, Inc.
GPL version 2
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.