STerm Code
Status: Abandoned
Brought to you by:
marcbutler
STERM Sterm is a Linux serial console programming for software developers. http://sourceforge.net/projects/sterm/ FEATURES * Runs in a terminal. Whether or not you feel this is a feature is really a point of view. * User local configuration. This is currently in transition from being an ini file to a lua file. * Allows you to call out to a program (debugger) that needs to use the serial line. * Scriptable using Lua (incomplete). DEFECTS * Does not support configuration of flow control. This is a glaring omission but I have not worked with hardware that needed it. * Complete configuration is not possibly via Lua. Need to be able to configure debugger path. * Virtual terminal control does not function correctly. I'm not sure why but I would guess some control characters are not being interpreted correctly. * Reading characters back from serial device is very inefficient as each character is processed. Should really scan the read buffer and extract terminal control codes. DEVELOPEMENT The code is littered with indefensible hackery. To build the code you will need the following libraries (complete with header files): * ncurses * GNU readline (for the history library) * lua 5 See TODO for a list of things to be done in the code. REFERENCES http://www.lua.org/