Quick hack. Shunts characters between your Linux terminal (console, xterm, or whatever) and a serial port. For Linux. Compiled under Red Hat Linux 5.0.
The executable image (binary file).
The source code (C source)