]> granicus.if.org Git - python/commitdiff
Document symbolic constants for commands.
authorMartin v. Löwis <martin@v.loewis.de>
Mon, 4 Nov 2002 17:41:18 +0000 (17:41 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Mon, 4 Nov 2002 17:41:18 +0000 (17:41 +0000)
Doc/lib/libtelnetlib.tex

index 83f6b43e4dc95014ce984126b0739238fff65a02..345adac21db5e3e0d9d0b89fe9f3e80fa16b1853 100644 (file)
 The \module{telnetlib} module provides a \class{Telnet} class that
 implements the Telnet protocol.  See \rfc{854} for details about the
 protocol. In addition, it provides symbolic constants for the protocol
-characters (IAC/DONT/DO/WONT/WILL), and for the telnet options. The
+characters (see below), and for the telnet options. The
 symbolic names of the telnet options follow the definitions in
 \code{arpa/telnet.h}, with the leading \code{TELOPT_} removed. For
 symbolic names of options which are traditionally not included in
 \code{arpa/telnet.h}, see the module source itself.
 
+The symbolic constants for the telnet commands are: IAC, DONT, DO,
+WONT, WILL, SE (Subnegotiation End), NOP (No Operation), DM (Data
+Mark), BRK (Break), IP (Interrupt process), AO (Abort output), AYT
+(Are You There), EC (Erase Character), EL (Erase Line), GA (Go Ahead),
+SB (Subnegotiation Begin).
+
 
 \begin{classdesc}{Telnet}{\optional{host\optional{, port}}}
 \class{Telnet} represents a connection to a Telnet server. The