summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libtelnetlib.tex
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-11-04 17:41:18 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-11-04 17:41:18 (GMT)
commit22610da481130d2862c32f7aec1303a3ab76d23a (patch)
tree9908d19fcd88858220363f2843865dd7cb159af7 /Doc/lib/libtelnetlib.tex
parent574deae5b7587492afd94b85353e875fccb299c5 (diff)
downloadcpython-22610da481130d2862c32f7aec1303a3ab76d23a.zip
cpython-22610da481130d2862c32f7aec1303a3ab76d23a.tar.gz
cpython-22610da481130d2862c32f7aec1303a3ab76d23a.tar.bz2
Document symbolic constants for commands.
Diffstat (limited to 'Doc/lib/libtelnetlib.tex')
-rw-r--r--Doc/lib/libtelnetlib.tex8
1 files changed, 7 insertions, 1 deletions
diff --git a/Doc/lib/libtelnetlib.tex b/Doc/lib/libtelnetlib.tex
index 83f6b43..345adac 100644
--- a/Doc/lib/libtelnetlib.tex
+++ b/Doc/lib/libtelnetlib.tex
@@ -10,12 +10,18 @@
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