[Python-checkins] CVS: python/dist/src/Doc/lib libtelnetlib.tex,1.6,1.7

Fred L. Drake fdrake@users.sourceforge.net
Fri, 06 Jul 2001 13:23:04 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv24408

Modified Files:
	libtelnetlib.tex 
Log Message:

Fix up a few style nits -- avoid "e.g." and "i.e." -- these make
translation more difficult, as well as reading the English more
difficult for non-native speakers.

Add an index entry for the Telnet protocol.

Always refer to the protocol as Telnet instead of telnet.


Index: libtelnetlib.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libtelnetlib.tex,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** libtelnetlib.tex	2000/07/16 19:01:10	1.6
--- libtelnetlib.tex	2001/07/06 20:23:02	1.7
***************
*** 6,9 ****
--- 6,11 ----
  \sectionauthor{Skip Montanaro}{skip@mojam.com}
  
+ \index{protocol!Telnet}
+ 
  The \module{telnetlib} module provides a \class{Telnet} class that
  implements the Telnet protocol.  See \rfc{854} for details about the
***************
*** 12,16 ****
  
  \begin{classdesc}{Telnet}{\optional{host\optional{, port}}}
! \class{Telnet} represents a connection to a telnet server. The
  instance is initially not connected by default; the \method{open()}
  method must be used to establish a connection.  Alternatively, the
--- 14,18 ----
  
  \begin{classdesc}{Telnet}{\optional{host\optional{, port}}}
! \class{Telnet} represents a connection to a Telnet server. The
  instance is initially not connected by default; the \method{open()}
  method must be used to establish a connection.  Alternatively, the
***************
*** 93,97 ****
  Connect to a host.
  The optional second argument is the port number, which
! defaults to the standard telnet port (23).
  
  Do not try to reopen an already connected instance.
--- 95,99 ----
  Connect to a host.
  The optional second argument is the port number, which
! defaults to the standard Telnet port (23).
  
  Do not try to reopen an already connected instance.
***************
*** 128,132 ****
  
  \begin{methoddesc}{interact}{}
! Interaction function, emulates a very dumb telnet client.
  \end{methoddesc}
  
--- 130,134 ----
  
  \begin{methoddesc}{interact}{}
! Interaction function, emulates a very dumb Telnet client.
  \end{methoddesc}
  
***************
*** 152,156 ****
  far (may be the empty string if a timeout happened).
  
! If a regular expression ends with a greedy match (e.g. \regexp{.*})
  or if more than one expression can match the same input, the
  results are indeterministic, and may depend on the I/O timing.
--- 154,158 ----
  far (may be the empty string if a timeout happened).
  
! If a regular expression ends with a greedy match (such as \regexp{.*})
  or if more than one expression can match the same input, the
  results are indeterministic, and may depend on the I/O timing.