[Tutor] Another prob with Telnet

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Fri Aug 13 19:53:26 CEST 2004



On Fri, 13 Aug 2004, Ali Polatel wrote:

> I write a programme which connects to FICS via telnet but this site has
> an interesting property...instead of pressing enter one should press
> "ctrl+j" to enter commands etc. Any ideas to make this work in python?


Hi Ali,

But Control-j is the newline character; are you sure that pressing enter
doesn't do the trick?


    http://www.robelle.com/library/smugbook/ascii.txt

contains a table that shows a map between the "control" keys and what they
really stand for.


Good luck to you.



More information about the Tutor mailing list