Alternative for \n when using telnetlib

Chris Liechti cliechti at gmx.net
Tue Feb 19 17:13:36 EST 2002


Johan <aequitas at planet.nl> wrote in news:1103_1014153824 at Johan:
> When connecting to my adsl modem (alcatel speed touch pro) via
> telnetlib i can read the date write my username. But then i when i 
> give the \n to proceed to the password it doesn't work. In 
> interactive mode it has the same problem. It just writes a new line. 
> 
> Is there a alternate for the \n command?

not in that sense. its just that some protocols and especially windows 
stuff that require '\r\n' as line ending.

chris

-- 
Chris <cliechti at gmx.net>




More information about the Python-list mailing list