From 22610da481130d2862c32f7aec1303a3ab76d23a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Mon, 4 Nov 2002 17:41:18 +0000 Subject: Document symbolic constants for commands. --- Doc/lib/libtelnetlib.tex | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v0.12