summaryrefslogtreecommitdiffstats
path: root/Lib/telnetlib.py
Commit message (Collapse)AuthorAgeFilesLines
* Caolan McNamara:Guido van Rossum2000-05-021-0/+1
| | | | | | | telnetlib is unable to connect to a few telnet daemons because of improper IAC handling, heres an attached oneliner to reject WILL messages which will allow many more telnet daemons to work with it, namely FreeBSD.
* Added mt_interact() -- multithreaded version of interact().Guido van Rossum1998-12-231-0/+26
| | | | | interact() automatically uses this on Windows (where the single-threaded version doesn't work).
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-294/+294
|
* Added debug statements to report data actually sent and received onGuido van Rossum1998-02-191-0/+2
| | | | the socket.
* Moved things around a bit in interact(), so outout is processed beforeGuido van Rossum1997-12-291-4/+5
| | | | | | input. When an EOF is read, break out of the loop instead of (by default) writing an empty line (which doesn't do much good). Don't close self when falling through the loop.
* Added expect() method which takes a list of regular expressions and anGuido van Rossum1997-12-241-2/+52
| | | | optional timeout. Also moved some imports around.
* Use string.replace instead of regsub.[g]sub.Guido van Rossum1997-12-241-2/+1
|
* Decided to add the telnet library that I wrote long ago (it's still inGuido van Rossum1997-12-241-0/+424
the Demos/cwilib directory). Converted comments to doc strings and used default arguments instead of *args. Updated the example.