]> granicus.if.org Git - python/commitdiff
(lib<all sorts of stuff>.tex):
authorFred Drake <fdrake@acm.org>
Fri, 13 Dec 1996 22:04:31 +0000 (22:04 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 13 Dec 1996 22:04:31 +0000 (22:04 +0000)
Merged in many typo corrections and fixes to support GNU info
processing; submitted by Tamito Kajiyama.

41 files changed:
Doc/lib/liballos.tex
Doc/lib/libcgi.tex
Doc/lib/libcrypt.tex
Doc/lib/libdbm.tex
Doc/lib/libftplib.tex
Doc/lib/libfuncs.tex
Doc/lib/libmimetools.tex
Doc/lib/libmm.tex
Doc/lib/libnntplib.tex
Doc/lib/libparser.tex
Doc/lib/libposix.tex
Doc/lib/libprofile.tex
Doc/lib/libregex.tex
Doc/lib/libstdwin.tex
Doc/lib/libtemplate.tex
Doc/lib/libtermios.tex
Doc/lib/libunix.tex
Doc/lib/libwww.tex
Doc/lib/libxdrlib.tex
Doc/liballos.tex
Doc/libcgi.tex
Doc/libcrypt.tex
Doc/libdbm.tex
Doc/libftplib.tex
Doc/libfuncs.tex
Doc/libmimetools.tex
Doc/libmm.tex
Doc/libnntplib.tex
Doc/libparser.tex
Doc/libposix.tex
Doc/libprofile.tex
Doc/libregex.tex
Doc/libstdwin.tex
Doc/libtemplate.tex
Doc/libtermios.tex
Doc/libunix.tex
Doc/libwww.tex
Doc/libxdrlib.tex
Doc/partparse.py
Doc/templates/module.tex
Doc/tools/partparse.py

index b5a207e2b853ac5f602093f1f68b4452dd61fbca..c167109cb6fafbbc55280530e00f275b3d03ccb5 100644 (file)
@@ -20,4 +20,7 @@ systems as well.  Here's an overview:
 \item[tempfile]
 --- Generate temporary file names.
 
+\item[errno]
+--- Standard errno system symbols.
+
 \end{description}
index 34c510e12783e1b5a9f5b7a6e0a79880a4e045b7..d736f39fab1e90848d8e3c22068e2654cb06e777 100644 (file)
@@ -168,6 +168,7 @@ version of this module, drop me a note.
 
 
 \subsection{Functions}
+\nodename{Functions in cgi module}
 
 These are useful if you want more control, or if you want to employ
 some of the algorithms implemented in this module in other
index e44f7b2be99e6bc71476fb8879f91119b8bf923d..132ae514ee0efebdb0bc0c435e9cfae409b65e38 100644 (file)
@@ -8,6 +8,7 @@ allowing Python scripts to accept typed passwords from the user, or
 attempting to crack Unix passwords with a dictionary.
 \index{crypt(3)}
 
+\renewcommand{\indexsubitem}{(in module crypt)}
 \begin{funcdesc}{crypt}{word\, salt} 
 \var{word} will usually be a user's password.  \var{salt} is a
 2-character string which will be used to select one of 4096 variations
index ee2d39f15a5f14a97db1885af42eaf5d0c272e51..bae388b97a5b81a002c0ceb11bbf2df729cec2f7 100644 (file)
@@ -1,7 +1,7 @@
 \section{Built-in Module \sectcode{dbm}}
 \bimodindex{dbm}
 
-The \code{dbm} module provides an interface to the {\UNIX}
+The \code{dbm} module provides an interface to the \UNIX{}
 \code{(n)dbm} library.  Dbm objects behave like mappings
 (dictionaries), except that keys and values are always strings.
 Printing a dbm object doesn't print the keys and values, and the
index 3fda77ac440a976b3073fadafa57a097eb5f09cf..ba18119a6b085207a5eec2efa4453e98941be3e6 100644 (file)
@@ -136,7 +136,7 @@ The \var{maxblocksize} argument specifies the maximum block size
 
 \begin{funcdesc}{retrlines}{command\optional{\, callback}}
 Retrieve a file or directory listing in \ASCII{} transfer mode.
-var{command} should be an appropriate \samp{RETR} command (see
+\var{command} should be an appropriate \samp{RETR} command (see
 \code{retrbinary()} or a \samp{LIST} command (usually just the string
 \code{"LIST"}).  The \var{callback} function is called for each line,
 with the trailing CRLF stripped.  The default \var{callback} prints
@@ -160,14 +160,14 @@ read until EOF from the open file object \var{file} using its
 
 \begin{funcdesc}{nlst}{argument\optional{\, \ldots}}
 Return a list of files as returned by the \samp{NLST} command.  The
-optional var{argument} is a directory to list (default is the current
+optional \var{argument} is a directory to list (default is the current
 server directory).  Multiple arguments can be used to pass
 non-standard options to the \samp{NLST} command.
 \end{funcdesc}
 
 \begin{funcdesc}{dir}{argument\optional{\, \ldots}}
 Return a directory listing as returned by the \samp{LIST} command, as
-a list of lines.  The optional var{argument} is a directory to list
+a list of lines.  The optional \var{argument} is a directory to list
 (default is the current server directory).  Multiple arguments can be
 used to pass non-standard options to the \samp{LIST} command.  If the
 last argument is a function, it is used as a \var{callback} function
index 39cb02b226cf59934a4c1be4273ce31637adc887..9e7d4c1af6ee986013142373c8af64b82f9131c7 100644 (file)
@@ -397,7 +397,7 @@ not designed to be initialized more than once, and may fail in
 arbitrary ways when reloaded.
 
 If a module imports objects from another module using \code{from}
-{\ldots} \code{import} {\ldots}, calling \code{reload()} for the other
+\ldots{} \code{import} \ldots{}, calling \code{reload()} for the other
 module does not redefine the objects imported from it --- one way
 around this is to re-execute the \code{from} statement, another is to
 use \code{import} and qualified names (\var{module}.\var{name})
index decb89021f247cece7706bd12b2dc36f8c6b4754..ecf50dc5fa2363f63b0ff4c6962f646051e796b2 100644 (file)
@@ -77,7 +77,7 @@ encoding is converted to lower case.
 \end{funcdesc}
 
 \begin{funcdesc}{gettype}{}
-Return the message type (of the form \samp{\var{type}/var{subtype}})
+Return the message type (of the form \samp{\var{type}/\var{subtype}})
 as specified in the \samp{Content-type} header.  If no such header
 exists, return \code{"text/plain"}.  The type is converted to lower
 case.
index d5abc6f56190ab3d9729007204779c5d6fd16204..a36915fc7f58bf30a3b64b0ed4eb6c6cbeb49b9e 100644 (file)
@@ -22,4 +22,7 @@ are available at the discretion of the installation.  Here's an overview:
 --- Read and write image files in ``SGI RGB'' format (the module is
 \emph{not} SGI specific though)!
 
+\item[imghdr]
+--- Determine the type of image contained in a file or byte stream.
+
 \end{description}
index e17ea8b48829b0c908a1f0071b7954dd6abd2a39..feec27a1f12c794ea963d8e1ccb4a4625594112e 100644 (file)
@@ -143,7 +143,7 @@ Send a \samp{HELP} command.  Return a pair \code{(\var{response},
 \begin{funcdesc}{stat}{id}
 Send a \samp{STAT} command, where \var{id} is the message id (enclosed
 in \samp{<} and \samp{>}) or an article number (as a string).
-Return a triple \code{(var{response}, \var{number}, \var{id})} where
+Return a triple \code{(\var{response}, \var{number}, \var{id})} where
 \var{number} is the article number (as a string) and \var{id} is the
 article id  (enclosed in \samp{<} and \samp{>}).
 \end{funcdesc}
index 5de93280992ef31f38822aaf24da0d1624a9bbf8..e85ca72a7eeabd9d126e4ed54081544b5abb2786 100644 (file)
@@ -272,6 +272,7 @@ Ordered and equality comparisons are supported between AST objects.
 
 
 \subsection{Examples}
+\nodename{AST Examples}
 
 The parser modules allows operations to be performed on the parse tree
 of Python source code before the bytecode is generated, and provides
index a87f5c0019282c56507b21879207763a9820191e..7cc4c0a3da5acaac2d34c1d8c7765f66e71731c8 100644 (file)
@@ -293,19 +293,19 @@ Set the current process's group id.
 
 \begin{funcdesc}{setpgrp}{}
 Calls the system call \code{setpgrp()} or \code{setpgrp(0, 0)}
-depending on which version is implemented (if any).  See the {\UNIX}
+depending on which version is implemented (if any).  See the \UNIX{}
 manual for the semantics.
 (Not on MS-DOS.)
 \end{funcdesc}
 
 \begin{funcdesc}{setpgid}{pid\, pgrp}
-Calls the system call \code{setpgid()}.  See the {\UNIX} manual for
+Calls the system call \code{setpgid()}.  See the \UNIX{} manual for
 the semantics.
 (Not on MS-DOS.)
 \end{funcdesc}
 
 \begin{funcdesc}{setsid}{}
-Calls the system call \code{setsid()}.  See the {\UNIX} manual for the
+Calls the system call \code{setsid()}.  See the \UNIX{} manual for the
 semantics.
 (Not on MS-DOS.)
 \end{funcdesc}
index 4ba4cf979da9af63a288e91854fc0eef0be4452f..da0c294456ab3e54651833779cde81ec766acc90 100644 (file)
@@ -2,7 +2,7 @@
 \stmodindex{profile}
 \stmodindex{pstats}
 
-Copyright \copyright\ 1994, by InfoSeek Corporation, all rights reserved.
+Copyright \copyright{} 1994, by InfoSeek Corporation, all rights reserved.
 
 Written by James Roskind%
 \footnote{
index f2e094ade1ddcbd8299778c6467221ea22d14a42..91f3a035728807c982b5c5069d49ea2828df289b 100644 (file)
@@ -67,11 +67,11 @@ affect how the regular expressions around them are interpreted.
 
 The special characters are:
 \begin{itemize}
-\item[\code{.}]{(Dot.)  Matches any character except a newline.}
-\item[\code{\^}]{(Caret.)  Matches the start of the string.}
-\item[\code{\$}]{Matches the end of the string.  
+\item[\code{.}] (Dot.)  Matches any character except a newline.
+\item[\code{\^}] (Caret.)  Matches the start of the string.
+\item[\code{\$}] Matches the end of the string.  
 \code{foo} matches both 'foo' and 'foobar', while the regular
-expression '\code{foo\$}' matches only 'foo'.}
+expression '\code{foo\$}' matches only 'foo'.
 \item[\code{*}] Causes the resulting RE to
 match 0 or more repetitions of the preceding RE.  \code{ab*} will
 match 'a', 'ab', or 'a' followed by any number of 'b's.
@@ -119,48 +119,48 @@ should be doubled are indicated.
 creates a regular expression that will match either A or B.  This can
 be used inside groups (see below) as well.
 %
-\item[\code{\e( \e)}]{Indicates the start and end of a group; the
+\item[\code{\e( \e)}] Indicates the start and end of a group; the
 contents of a group can be matched later in the string with the
-\code{\e \[1-9]} special sequence, described next.}
+\code{\e [1-9]} special sequence, described next.
 %
 {\fulllineitems\item[\code{\e \e 1, ... \e \e 7, \e 8, \e 9}]
-{Matches the contents of the group of the same
+Matches the contents of the group of the same
 number.  For example, \code{\e (.+\e ) \e \e 1} matches 'the the' or
 '55 55', but not 'the end' (note the space after the group).  This
 special sequence can only be used to match one of the first 9 groups;
 groups with higher numbers can be matched using the \code{\e v}
 sequence.  (\code{\e 8} and \code{\e 9} don't need a double backslash
-because they are not octal digits.)}}
+because they are not octal digits.)}
 %
-\item[\code{\e \e b}]{Matches the empty string, but only at the
+\item[\code{\e \e b}] Matches the empty string, but only at the
 beginning or end of a word.  A word is defined as a sequence of
 alphanumeric characters, so the end of a word is indicated by
-whitespace or a non-alphanumeric character.}
+whitespace or a non-alphanumeric character.
 %
-\item[\code{\e B}]{Matches the empty string, but when it is \emph{not} at the
-beginning or end of a word.
+\item[\code{\e B}] Matches the empty string, but when it is \emph{not} at the
+beginning or end of a word.
 %
-\item[\code{\e v}]{Must be followed by a two digit decimal number, and
-matches the contents of the group of the same number.  The group number must be between 1 and 99, inclusive.}
+\item[\code{\e v}] Must be followed by a two digit decimal number, and
+matches the contents of the group of the same number.  The group number must be between 1 and 99, inclusive.
 %
 \item[\code{\e w}]Matches any alphanumeric character; this is
 equivalent to the set \code{[a-zA-Z0-9]}.
 %
-\item[\code{\e W}]{Matches any non-alphanumeric character; this is
-equivalent to the set \code{[\^a-zA-Z0-9]}.
-\item[\code{\e <}]{Matches the empty string, but only at the beginning of a
+\item[\code{\e W}] Matches any non-alphanumeric character; this is
+equivalent to the set \code{[\^a-zA-Z0-9]}.
+\item[\code{\e <}] Matches the empty string, but only at the beginning of a
 word.  A word is defined as a sequence of alphanumeric characters, so
 the end of a word is indicated by whitespace or a non-alphanumeric 
-character.}
-\item[\code{\e >}]{Matches the empty string, but only at the end of a
-word.}
+character.
+\item[\code{\e >}] Matches the empty string, but only at the end of a
+word.
 
-\item[\code{\e \e \e \e}]{Matches a literal backslash.}
+\item[\code{\e \e \e \e}] Matches a literal backslash.
 
 % In Emacs, the following two are start of buffer/end of buffer.  In
 % Python they seem to be synonyms for ^$.
-\item[\code{\e `}]{Like \code{\^}, this only matches at the start of the
-string.}
+\item[\code{\e `}] Like \code{\^}, this only matches at the start of the
+string.
 \item[\code{\e \e '}] Like \code{\$}, this only matches at the end of the
 string.
 % end of buffer
index e009e3f0e064015a863cd4dc4e3ecd6a16079698..2f2bd42924fcdd2a247589c59e96a658d33afa76 100644 (file)
@@ -310,6 +310,7 @@ a blocking \code{select()} call.
 \end{funcdesc}
 
 \subsection{Window Objects}
+\nodename{STDWIN Window Objects}
 
 Window objects are created by \code{stdwin.open()}.  They are closed
 by their \code{close()} method or when they are garbage-collected.
index 4afb56b251684f00aa35870407b8459ce8bf5fcf..cd49a8f74e9a678dbb3432c2504957e5d44dac94 100644 (file)
@@ -24,8 +24,8 @@ The \code{spam} module defines operations for handling cans of Spam.
 It knows the four generally available Spam varieties and understands
 both can sizes.
 
-Because spamification requires UNIX process management, the module is
-only available on genuine UNIX systems.
+Because spamification requires \UNIX{} process management, the module
+is only available on genuine \UNIX{} systems.
 
 
 % ==== 3. ====
index e55aab4119fe15b0d092133febb7ebfc5be2b7d5..3d007c3e1d59ccb61fb0abda9aa02be4a0c43b33 100644 (file)
@@ -73,7 +73,7 @@ suspend input, or \code{TERMIOS.TCION} to restart input.
 
 Here's a function that prompts for a password with echoing turned off.
 Note the technique using a separate \code{termios.tcgetattr()} call
-and a \code{try {\ldots} finally} statement to ensure that the old tty
+and a \code{try \ldots{} finally} statement to ensure that the old tty
 attributes are restored exactly no matter what happens:
 
 \begin{verbatim}
index 895c6e57453c1e748acd3379933490c525432fec..47ed02994c226b2a9d32aa6b71ac941523fa66d0 100644 (file)
@@ -19,7 +19,7 @@ some or many variants of it.  Here's an overview:
 --- The group database (\code{getgrnam()} and friends).
 
 \item[crypt]
---- The (\code{crypt()} function used to check Unix passwords).
+--- The \code{crypt()} function used to check Unix passwords.
 
 \item[dbm]
 --- The standard ``database'' interface, based on \code{ndbm}.
@@ -30,10 +30,16 @@ some or many variants of it.  Here's an overview:
 \item[termios]
 --- Posix style tty control.
 
+\item[TERMIOS]
+--- The symbolic constants required to use the \code{termios} module.
+
 \item[fcntl]
 --- The \code{fcntl()} and \code{ioctl()} system calls.
 
 \item[posixfile]
 --- A file-like object with support for locking.
 
+\item[syslog]
+--- An interface to the Unix \code{syslog} library routines.
+
 \end{description}
index c42494e61ac9b267541d780158feca4c7bde367b..aebe9314e6c4170d2c68605b071092256c071446 100644 (file)
@@ -51,4 +51,18 @@ location, path, parameters, query string, fragment identifier).
 \item[mimetools]
 --- Tools for parsing MIME style message bodies.
 
+\item[binhex]
+--- Encode and decode files in binhex4 format.
+
+\item[uu]
+--- Encode and decode files in uuencode format.
+
+\item[binascii]
+--- Tools for converting between binary and various ascii-encoded binary 
+representation
+
+\item[xdrlib]
+--- The External Data Representation Standard as described in RFC 1014,
+written by Sun Microsystems, Inc. June 1987.
+
 \end{description}
index e0ed029353119d4223d6d13980e0d3c711e3d23b..1221fffd08fb2ef850b830c129746875c8b2c4ba 100644 (file)
@@ -205,6 +205,7 @@ each element is unpacked as in \code{unpack_farray} above.
 \end{funcdesc}
 
 \subsection{Exceptions}
+\nodename{Exceptions in xdrlib module}
 
 Exceptions in this module are coded as class instances:
 
index b5a207e2b853ac5f602093f1f68b4452dd61fbca..c167109cb6fafbbc55280530e00f275b3d03ccb5 100644 (file)
@@ -20,4 +20,7 @@ systems as well.  Here's an overview:
 \item[tempfile]
 --- Generate temporary file names.
 
+\item[errno]
+--- Standard errno system symbols.
+
 \end{description}
index 34c510e12783e1b5a9f5b7a6e0a79880a4e045b7..d736f39fab1e90848d8e3c22068e2654cb06e777 100644 (file)
@@ -168,6 +168,7 @@ version of this module, drop me a note.
 
 
 \subsection{Functions}
+\nodename{Functions in cgi module}
 
 These are useful if you want more control, or if you want to employ
 some of the algorithms implemented in this module in other
index e44f7b2be99e6bc71476fb8879f91119b8bf923d..132ae514ee0efebdb0bc0c435e9cfae409b65e38 100644 (file)
@@ -8,6 +8,7 @@ allowing Python scripts to accept typed passwords from the user, or
 attempting to crack Unix passwords with a dictionary.
 \index{crypt(3)}
 
+\renewcommand{\indexsubitem}{(in module crypt)}
 \begin{funcdesc}{crypt}{word\, salt} 
 \var{word} will usually be a user's password.  \var{salt} is a
 2-character string which will be used to select one of 4096 variations
index ee2d39f15a5f14a97db1885af42eaf5d0c272e51..bae388b97a5b81a002c0ceb11bbf2df729cec2f7 100644 (file)
@@ -1,7 +1,7 @@
 \section{Built-in Module \sectcode{dbm}}
 \bimodindex{dbm}
 
-The \code{dbm} module provides an interface to the {\UNIX}
+The \code{dbm} module provides an interface to the \UNIX{}
 \code{(n)dbm} library.  Dbm objects behave like mappings
 (dictionaries), except that keys and values are always strings.
 Printing a dbm object doesn't print the keys and values, and the
index 3fda77ac440a976b3073fadafa57a097eb5f09cf..ba18119a6b085207a5eec2efa4453e98941be3e6 100644 (file)
@@ -136,7 +136,7 @@ The \var{maxblocksize} argument specifies the maximum block size
 
 \begin{funcdesc}{retrlines}{command\optional{\, callback}}
 Retrieve a file or directory listing in \ASCII{} transfer mode.
-var{command} should be an appropriate \samp{RETR} command (see
+\var{command} should be an appropriate \samp{RETR} command (see
 \code{retrbinary()} or a \samp{LIST} command (usually just the string
 \code{"LIST"}).  The \var{callback} function is called for each line,
 with the trailing CRLF stripped.  The default \var{callback} prints
@@ -160,14 +160,14 @@ read until EOF from the open file object \var{file} using its
 
 \begin{funcdesc}{nlst}{argument\optional{\, \ldots}}
 Return a list of files as returned by the \samp{NLST} command.  The
-optional var{argument} is a directory to list (default is the current
+optional \var{argument} is a directory to list (default is the current
 server directory).  Multiple arguments can be used to pass
 non-standard options to the \samp{NLST} command.
 \end{funcdesc}
 
 \begin{funcdesc}{dir}{argument\optional{\, \ldots}}
 Return a directory listing as returned by the \samp{LIST} command, as
-a list of lines.  The optional var{argument} is a directory to list
+a list of lines.  The optional \var{argument} is a directory to list
 (default is the current server directory).  Multiple arguments can be
 used to pass non-standard options to the \samp{LIST} command.  If the
 last argument is a function, it is used as a \var{callback} function
index 39cb02b226cf59934a4c1be4273ce31637adc887..9e7d4c1af6ee986013142373c8af64b82f9131c7 100644 (file)
@@ -397,7 +397,7 @@ not designed to be initialized more than once, and may fail in
 arbitrary ways when reloaded.
 
 If a module imports objects from another module using \code{from}
-{\ldots} \code{import} {\ldots}, calling \code{reload()} for the other
+\ldots{} \code{import} \ldots{}, calling \code{reload()} for the other
 module does not redefine the objects imported from it --- one way
 around this is to re-execute the \code{from} statement, another is to
 use \code{import} and qualified names (\var{module}.\var{name})
index decb89021f247cece7706bd12b2dc36f8c6b4754..ecf50dc5fa2363f63b0ff4c6962f646051e796b2 100644 (file)
@@ -77,7 +77,7 @@ encoding is converted to lower case.
 \end{funcdesc}
 
 \begin{funcdesc}{gettype}{}
-Return the message type (of the form \samp{\var{type}/var{subtype}})
+Return the message type (of the form \samp{\var{type}/\var{subtype}})
 as specified in the \samp{Content-type} header.  If no such header
 exists, return \code{"text/plain"}.  The type is converted to lower
 case.
index d5abc6f56190ab3d9729007204779c5d6fd16204..a36915fc7f58bf30a3b64b0ed4eb6c6cbeb49b9e 100644 (file)
@@ -22,4 +22,7 @@ are available at the discretion of the installation.  Here's an overview:
 --- Read and write image files in ``SGI RGB'' format (the module is
 \emph{not} SGI specific though)!
 
+\item[imghdr]
+--- Determine the type of image contained in a file or byte stream.
+
 \end{description}
index e17ea8b48829b0c908a1f0071b7954dd6abd2a39..feec27a1f12c794ea963d8e1ccb4a4625594112e 100644 (file)
@@ -143,7 +143,7 @@ Send a \samp{HELP} command.  Return a pair \code{(\var{response},
 \begin{funcdesc}{stat}{id}
 Send a \samp{STAT} command, where \var{id} is the message id (enclosed
 in \samp{<} and \samp{>}) or an article number (as a string).
-Return a triple \code{(var{response}, \var{number}, \var{id})} where
+Return a triple \code{(\var{response}, \var{number}, \var{id})} where
 \var{number} is the article number (as a string) and \var{id} is the
 article id  (enclosed in \samp{<} and \samp{>}).
 \end{funcdesc}
index 5de93280992ef31f38822aaf24da0d1624a9bbf8..e85ca72a7eeabd9d126e4ed54081544b5abb2786 100644 (file)
@@ -272,6 +272,7 @@ Ordered and equality comparisons are supported between AST objects.
 
 
 \subsection{Examples}
+\nodename{AST Examples}
 
 The parser modules allows operations to be performed on the parse tree
 of Python source code before the bytecode is generated, and provides
index a87f5c0019282c56507b21879207763a9820191e..7cc4c0a3da5acaac2d34c1d8c7765f66e71731c8 100644 (file)
@@ -293,19 +293,19 @@ Set the current process's group id.
 
 \begin{funcdesc}{setpgrp}{}
 Calls the system call \code{setpgrp()} or \code{setpgrp(0, 0)}
-depending on which version is implemented (if any).  See the {\UNIX}
+depending on which version is implemented (if any).  See the \UNIX{}
 manual for the semantics.
 (Not on MS-DOS.)
 \end{funcdesc}
 
 \begin{funcdesc}{setpgid}{pid\, pgrp}
-Calls the system call \code{setpgid()}.  See the {\UNIX} manual for
+Calls the system call \code{setpgid()}.  See the \UNIX{} manual for
 the semantics.
 (Not on MS-DOS.)
 \end{funcdesc}
 
 \begin{funcdesc}{setsid}{}
-Calls the system call \code{setsid()}.  See the {\UNIX} manual for the
+Calls the system call \code{setsid()}.  See the \UNIX{} manual for the
 semantics.
 (Not on MS-DOS.)
 \end{funcdesc}
index 4ba4cf979da9af63a288e91854fc0eef0be4452f..da0c294456ab3e54651833779cde81ec766acc90 100644 (file)
@@ -2,7 +2,7 @@
 \stmodindex{profile}
 \stmodindex{pstats}
 
-Copyright \copyright\ 1994, by InfoSeek Corporation, all rights reserved.
+Copyright \copyright{} 1994, by InfoSeek Corporation, all rights reserved.
 
 Written by James Roskind%
 \footnote{
index f2e094ade1ddcbd8299778c6467221ea22d14a42..91f3a035728807c982b5c5069d49ea2828df289b 100644 (file)
@@ -67,11 +67,11 @@ affect how the regular expressions around them are interpreted.
 
 The special characters are:
 \begin{itemize}
-\item[\code{.}]{(Dot.)  Matches any character except a newline.}
-\item[\code{\^}]{(Caret.)  Matches the start of the string.}
-\item[\code{\$}]{Matches the end of the string.  
+\item[\code{.}] (Dot.)  Matches any character except a newline.
+\item[\code{\^}] (Caret.)  Matches the start of the string.
+\item[\code{\$}] Matches the end of the string.  
 \code{foo} matches both 'foo' and 'foobar', while the regular
-expression '\code{foo\$}' matches only 'foo'.}
+expression '\code{foo\$}' matches only 'foo'.
 \item[\code{*}] Causes the resulting RE to
 match 0 or more repetitions of the preceding RE.  \code{ab*} will
 match 'a', 'ab', or 'a' followed by any number of 'b's.
@@ -119,48 +119,48 @@ should be doubled are indicated.
 creates a regular expression that will match either A or B.  This can
 be used inside groups (see below) as well.
 %
-\item[\code{\e( \e)}]{Indicates the start and end of a group; the
+\item[\code{\e( \e)}] Indicates the start and end of a group; the
 contents of a group can be matched later in the string with the
-\code{\e \[1-9]} special sequence, described next.}
+\code{\e [1-9]} special sequence, described next.
 %
 {\fulllineitems\item[\code{\e \e 1, ... \e \e 7, \e 8, \e 9}]
-{Matches the contents of the group of the same
+Matches the contents of the group of the same
 number.  For example, \code{\e (.+\e ) \e \e 1} matches 'the the' or
 '55 55', but not 'the end' (note the space after the group).  This
 special sequence can only be used to match one of the first 9 groups;
 groups with higher numbers can be matched using the \code{\e v}
 sequence.  (\code{\e 8} and \code{\e 9} don't need a double backslash
-because they are not octal digits.)}}
+because they are not octal digits.)}
 %
-\item[\code{\e \e b}]{Matches the empty string, but only at the
+\item[\code{\e \e b}] Matches the empty string, but only at the
 beginning or end of a word.  A word is defined as a sequence of
 alphanumeric characters, so the end of a word is indicated by
-whitespace or a non-alphanumeric character.}
+whitespace or a non-alphanumeric character.
 %
-\item[\code{\e B}]{Matches the empty string, but when it is \emph{not} at the
-beginning or end of a word.
+\item[\code{\e B}] Matches the empty string, but when it is \emph{not} at the
+beginning or end of a word.
 %
-\item[\code{\e v}]{Must be followed by a two digit decimal number, and
-matches the contents of the group of the same number.  The group number must be between 1 and 99, inclusive.}
+\item[\code{\e v}] Must be followed by a two digit decimal number, and
+matches the contents of the group of the same number.  The group number must be between 1 and 99, inclusive.
 %
 \item[\code{\e w}]Matches any alphanumeric character; this is
 equivalent to the set \code{[a-zA-Z0-9]}.
 %
-\item[\code{\e W}]{Matches any non-alphanumeric character; this is
-equivalent to the set \code{[\^a-zA-Z0-9]}.
-\item[\code{\e <}]{Matches the empty string, but only at the beginning of a
+\item[\code{\e W}] Matches any non-alphanumeric character; this is
+equivalent to the set \code{[\^a-zA-Z0-9]}.
+\item[\code{\e <}] Matches the empty string, but only at the beginning of a
 word.  A word is defined as a sequence of alphanumeric characters, so
 the end of a word is indicated by whitespace or a non-alphanumeric 
-character.}
-\item[\code{\e >}]{Matches the empty string, but only at the end of a
-word.}
+character.
+\item[\code{\e >}] Matches the empty string, but only at the end of a
+word.
 
-\item[\code{\e \e \e \e}]{Matches a literal backslash.}
+\item[\code{\e \e \e \e}] Matches a literal backslash.
 
 % In Emacs, the following two are start of buffer/end of buffer.  In
 % Python they seem to be synonyms for ^$.
-\item[\code{\e `}]{Like \code{\^}, this only matches at the start of the
-string.}
+\item[\code{\e `}] Like \code{\^}, this only matches at the start of the
+string.
 \item[\code{\e \e '}] Like \code{\$}, this only matches at the end of the
 string.
 % end of buffer
index e009e3f0e064015a863cd4dc4e3ecd6a16079698..2f2bd42924fcdd2a247589c59e96a658d33afa76 100644 (file)
@@ -310,6 +310,7 @@ a blocking \code{select()} call.
 \end{funcdesc}
 
 \subsection{Window Objects}
+\nodename{STDWIN Window Objects}
 
 Window objects are created by \code{stdwin.open()}.  They are closed
 by their \code{close()} method or when they are garbage-collected.
index 4afb56b251684f00aa35870407b8459ce8bf5fcf..cd49a8f74e9a678dbb3432c2504957e5d44dac94 100644 (file)
@@ -24,8 +24,8 @@ The \code{spam} module defines operations for handling cans of Spam.
 It knows the four generally available Spam varieties and understands
 both can sizes.
 
-Because spamification requires UNIX process management, the module is
-only available on genuine UNIX systems.
+Because spamification requires \UNIX{} process management, the module
+is only available on genuine \UNIX{} systems.
 
 
 % ==== 3. ====
index e55aab4119fe15b0d092133febb7ebfc5be2b7d5..3d007c3e1d59ccb61fb0abda9aa02be4a0c43b33 100644 (file)
@@ -73,7 +73,7 @@ suspend input, or \code{TERMIOS.TCION} to restart input.
 
 Here's a function that prompts for a password with echoing turned off.
 Note the technique using a separate \code{termios.tcgetattr()} call
-and a \code{try {\ldots} finally} statement to ensure that the old tty
+and a \code{try \ldots{} finally} statement to ensure that the old tty
 attributes are restored exactly no matter what happens:
 
 \begin{verbatim}
index 895c6e57453c1e748acd3379933490c525432fec..47ed02994c226b2a9d32aa6b71ac941523fa66d0 100644 (file)
@@ -19,7 +19,7 @@ some or many variants of it.  Here's an overview:
 --- The group database (\code{getgrnam()} and friends).
 
 \item[crypt]
---- The (\code{crypt()} function used to check Unix passwords).
+--- The \code{crypt()} function used to check Unix passwords.
 
 \item[dbm]
 --- The standard ``database'' interface, based on \code{ndbm}.
@@ -30,10 +30,16 @@ some or many variants of it.  Here's an overview:
 \item[termios]
 --- Posix style tty control.
 
+\item[TERMIOS]
+--- The symbolic constants required to use the \code{termios} module.
+
 \item[fcntl]
 --- The \code{fcntl()} and \code{ioctl()} system calls.
 
 \item[posixfile]
 --- A file-like object with support for locking.
 
+\item[syslog]
+--- An interface to the Unix \code{syslog} library routines.
+
 \end{description}
index c42494e61ac9b267541d780158feca4c7bde367b..aebe9314e6c4170d2c68605b071092256c071446 100644 (file)
@@ -51,4 +51,18 @@ location, path, parameters, query string, fragment identifier).
 \item[mimetools]
 --- Tools for parsing MIME style message bodies.
 
+\item[binhex]
+--- Encode and decode files in binhex4 format.
+
+\item[uu]
+--- Encode and decode files in uuencode format.
+
+\item[binascii]
+--- Tools for converting between binary and various ascii-encoded binary 
+representation
+
+\item[xdrlib]
+--- The External Data Representation Standard as described in RFC 1014,
+written by Sun Microsystems, Inc. June 1987.
+
 \end{description}
index e0ed029353119d4223d6d13980e0d3c711e3d23b..1221fffd08fb2ef850b830c129746875c8b2c4ba 100644 (file)
@@ -205,6 +205,7 @@ each element is unpacked as in \code{unpack_farray} above.
 \end{funcdesc}
 
 \subsection{Exceptions}
+\nodename{Exceptions in xdrlib module}
 
 Exceptions in this module are coded as class instances:
 
index b83ad835d396879df26961ae16656eb2a55d789a..4a836f2f249a8e11d578385acb6eff41bcfe84c3 100644 (file)
@@ -827,7 +827,7 @@ class Wobj:
        self.data = self.data + data
 
 # ignore these commands
-ignoredcommands = ('bcode', 'ecode')
+ignoredcommands = ('bcode', 'ecode', 'hline', 'fulllineitems', 'small')
 # map commands like these to themselves as plaintext
 wordsselves = ('UNIX', 'ABC', 'C', 'ASCII', 'EOF', 'LaTeX')
 # \{ --> {,  \} --> }, etc
@@ -1978,6 +1978,12 @@ def dumpit(buf, wm, pp):
 
        if ch.chtype == chunk_type[CSNAME]:
            s_buf_data = s(buf, ch.data)
+            if s_buf_data == 'e':
+                wm('\\')
+                continue
+            if s_buf_data == '$':
+                wm('$')
+                continue
            wm('@' + s_buf_data)
            if s_buf_data == 'node' and \
                      pp[i].chtype == chunk_type[PLAIN] and \
index 4afb56b251684f00aa35870407b8459ce8bf5fcf..cd49a8f74e9a678dbb3432c2504957e5d44dac94 100644 (file)
@@ -24,8 +24,8 @@ The \code{spam} module defines operations for handling cans of Spam.
 It knows the four generally available Spam varieties and understands
 both can sizes.
 
-Because spamification requires UNIX process management, the module is
-only available on genuine UNIX systems.
+Because spamification requires \UNIX{} process management, the module
+is only available on genuine \UNIX{} systems.
 
 
 % ==== 3. ====
index b83ad835d396879df26961ae16656eb2a55d789a..4a836f2f249a8e11d578385acb6eff41bcfe84c3 100644 (file)
@@ -827,7 +827,7 @@ class Wobj:
        self.data = self.data + data
 
 # ignore these commands
-ignoredcommands = ('bcode', 'ecode')
+ignoredcommands = ('bcode', 'ecode', 'hline', 'fulllineitems', 'small')
 # map commands like these to themselves as plaintext
 wordsselves = ('UNIX', 'ABC', 'C', 'ASCII', 'EOF', 'LaTeX')
 # \{ --> {,  \} --> }, etc
@@ -1978,6 +1978,12 @@ def dumpit(buf, wm, pp):
 
        if ch.chtype == chunk_type[CSNAME]:
            s_buf_data = s(buf, ch.data)
+            if s_buf_data == 'e':
+                wm('\\')
+                continue
+            if s_buf_data == '$':
+                wm('$')
+                continue
            wm('@' + s_buf_data)
            if s_buf_data == 'node' and \
                      pp[i].chtype == chunk_type[PLAIN] and \