ttel is a lightweight general purpose telnet-like client, suitable for use in embedded or diskless systems where memory or file storage space is at a premium. The code is is a bit ugly, but it compiles to a small sized executable. On i386 GNU systems, (tested on FreeBSD 4.7 with gcc 2.95.4 and Red Hat Linux 7.3 with gcc 2.96), it should compile cleanly with: gcc -Wall -O3 -o ttel ttel.c ttel supports a basic ascii interface, with a single line input buffer. The Backspace and Delete keys, (#127, #8), are supported for command correction. Input is normally buffered line-by-line, but the Esc key, (#27), can be used to force currently buffered characters to be sent to the remote end. (I find this useful for testing systems that should accept fragmented input.) Ctrl-C, (#3), will close the current connection. You can download the ttel source here: ttel.c Please send feedback and fixes to: fitz@jfitz.com. |