From: Martin v. Löwis Date: Mon, 4 Nov 2002 17:34:07 +0000 (+0000) Subject: Patch #625823: Add symbolic constants for more commands. X-Git-Tag: v2.3c1~3598 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=574deae5b7587492afd94b85353e875fccb299c5;p=thirdparty%2FPython%2Fcpython.git Patch #625823: Add symbolic constants for more commands. --- diff --git a/Lib/telnetlib.py b/Lib/telnetlib.py index fe0672a9a1a4..18391e502493 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