diff Doc/lib/libgopherlib.tex @ 7036:d0a97014ed42 legacy-trunk

Added index entry for the protocol. Fixed typo (extra char in the word "character"). Minor nits.
author Fred Drake <fdrake@acm.org>
date Wed, 07 Jan 1998 13:17:20 +0000
parents 3468ea8645ca
children bf4e790bd61a
line wrap: on
line diff
--- a/Doc/lib/libgopherlib.tex	Wed Jan 07 13:13:42 1998 +0000
+++ b/Doc/lib/libgopherlib.tex	Wed Jan 07 13:17:20 1998 +0000
@@ -1,6 +1,7 @@
 \section{Standard Module \sectcode{gopherlib}}
 \label{module-gopherlib}
 \stmodindex{gopherlib}
+\indexii{Gopher}{protocol}
 
 \renewcommand{\indexsubitem}{(in module gopherlib)}
 
@@ -10,16 +11,16 @@
 
 The module defines the following functions:
 
-\begin{funcdesc}{send_selector}{selector\, host\optional{\, port}}
+\begin{funcdesc}{send_selector}{selector, host\optional{, port}}
 Send a \var{selector} string to the gopher server at \var{host} and
-\var{port} (default 70).  Return an open file object from which the
-returned document can be read.
+\var{port} (default \code{70}).  Returns an open file object from
+which the returned document can be read.
 \end{funcdesc}
 
-\begin{funcdesc}{send_query}{selector\, query\, host\optional{\, port}}
+\begin{funcdesc}{send_query}{selector, query, host\optional{, port}}
 Send a \var{selector} string and a \var{query} string to a gopher
-server at \var{host} and \var{port} (default 70).  Return an open file
-object from which the returned document can be read.
+server at \var{host} and \var{port} (default \code{70}).  Returns an
+open file object from which the returned document can be read.
 \end{funcdesc}
 
 Note that the data returned by the Gopher server can be of any type,
@@ -27,5 +28,5 @@
 is text (first character of the selector is \samp{0}), lines are
 terminated by CRLF, and the data is terminated by a line consisting of
 a single \samp{.}, and a leading \samp{.} should be stripped from
-lines that begin with \samp{..}.  Directory listings (first charactger
+lines that begin with \samp{..}.  Directory listings (first character
 of the selector is \samp{1}) are transferred using the same protocol.