character mode tcl from http://www.ch-werner.de/ck/