Clone of http://sourceforge.net/p/canta/code/16/