xt -- A Simple Terminal Emulator

One of the most basic needs when working in the embedded control industry is to comunicate with target processors.

After migrating to Linux from MS-DOS, we searched in vain for a simple, light-weight terminal emulator program. Such a program is necessary to talk to target processors through the RS-232 ports commonly available in PC hosts. We developed xt to satisfy this need; it was initially derived from miniterm.c written by Sven Goldt.

Features

xt's main features are:

  • small size and simple design
  • portable to most Unix systems
  • supports up to 115200 bps
  • can be used with other Unix tools like expect and tee.

Note that xt performs special processing on some input characters before sending them to the serial port:

  • DEL is mapped to BACKSPACE
  • NEWLINE is mapped to CARRIAGE RETURN
  • xt exits upon receiving ESC or EOF
  • xt sends a line break upon receiving ^B

Source

You can find the source, makefile and man page here.

How to install xt

  1. Download the tarfile: xt.tgz from our ftp site

  2. Untar this file with:

    tar xzf xt.tgz

  3. Get a root shell and enter into the xt directory

  4. Type

    make install

    The makefile will build the program, then install executable in /usr/local/bin and the man page in/usr/local/man/man1`.

Feedback

We offer this project in the hopes that you will find it useful. We welcome any comments, questions, requests, or bug reports you may have regarding this project. Please feel free to contact us via email.