> TSM is a terminal-emulator state
> machine that parses vt220/xterm control-sequences.
> There is no such
> library out there so I created TSM
> Other libraries like libvte have huge X, Gtk, Qt
> etc. dependencies (sadly).
How hard did he look?
When I wanted a terminal-emulator state machine library for Anyterm, I quickly found ROTE. I later replaced it with something of my own (http://svn.chezphil.org/anyterm/trunk/src/Terminal.hh & .cc). Although it's often better to write your own rather than re-using (other peoples' code stinks!), it's good to be honest about how hard you looked!