Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
22610da4
Commit
22610da4
authored
Nov 04, 2002
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document symbolic constants for commands.
parent
574deae5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
Doc/lib/libtelnetlib.tex
Doc/lib/libtelnetlib.tex
+7
-1
No files found.
Doc/lib/libtelnetlib.tex
View file @
22610da4
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment