a fork of code.google.com/p/go.crypto/ssh/terminal to test a few things (history, and few other callbacks goodies)