Telnetlib & Term Types

Thomas Dickey dickey at saltmine.radix.net
Mon Nov 22 17:28:21 EST 2004


Svha <news at svha.demon.co.uk> wrote:
> My bad - omitted the set_debuglevel() output from the above post ...
> Hey it was a Friday afternoon ;)

>>>> tn = telnetlib.Telnet(xxx.xxx.org)
>>>> tn.set_debuglevel(10)
>>>> tn.mt_interact()
> Telnet(xxx.xxx.org,23): recv "\xff\xfd\x18\xff\xfd \xff\xfd#\xff\xfd'"

This is documented in RFC 854, 930, 990, etc,
e.g., www.faqs.org/rfcs/rfc854.html

(google "telnet options")

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net



More information about the Python-list mailing list