fork of code.google.com/p/superputty