Telnet debug

The typo commit got in place because I put both commits on a branch before realising Github will want to put them in the same PR - thought cherrypicking the one I wanted (which came later) would work but it didn't.