diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-11-04 17:34:07 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-11-04 17:34:07 (GMT) |
commit | 574deae5b7587492afd94b85353e875fccb299c5 (patch) | |
tree | 362f6484f6339121d271c1792720ef0675e5855d /Lib/telnetlib.py | |
parent | 2eba52fefb905b7464129fdeb2534a02f5b3f3f3 (diff) | |
download | cpython-574deae5b7587492afd94b85353e875fccb299c5.zip cpython-574deae5b7587492afd94b85353e875fccb299c5.tar.gz cpython-574deae5b7587492afd94b85353e875fccb299c5.tar.bz2 |
Patch #625823: Add symbolic constants for more commands.
Diffstat (limited to 'Lib/telnetlib.py')
-rw-r--r-- | Lib/telnetlib.py | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/Lib/telnetlib.py b/Lib/telnetlib.py index fe0672a..18391e5 100644 --- a/Lib/telnetlib.py +++ b/Lib/telnetlib.py @@ -53,8 +53,19 @@ DO = chr(253) WONT = chr(252) WILL = chr(251) theNULL = chr(0) -SB = chr(250) -SE = chr(240) + +SE = chr(240) # Subnegotiation End +NOP = chr(241) # No Operation +DM = chr(242) # Data Mark +BRK = chr(243) # Break +IP = chr(244) # Interrupt process +AO = chr(245) # Abort output +AYT = chr(246) # Are You There +EC = chr(247) # Erase Character +EL = chr(248) # Erase Line +GA = chr(249) # Go Ahead +SB = chr(250) # Subnegotiation Begin + # Telnet protocol options code (don't change) # These ones all come from arpa/telnet.h |