Document the new ,netrc awareness in nntplib.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 31 Dec 2002 15:28:44 +0000 (15:28 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 31 Dec 2002 15:28:44 +0000 (15:28 +0000)
Doc/lib/libnntplib.tex

index e0f9989416182087eda009aff92a78d34b0e8a14..5565289eed9b223925e5290eb4796386ef297736 100644 (file)
@@ -58,8 +58,9 @@ The module itself defines the following items:
 Return a new instance of the \class{NNTP} class, representing a
 connection to the NNTP server running on host \var{host}, listening at
 port \var{port}.  The default \var{port} is 119.  If the optional
-\var{user} and \var{password} are provided, the
-\samp{AUTHINFO USER} and \samp{AUTHINFO PASS} commands are used to
+\var{user} and \var{password} are provided, 
+or if suitable credentials are present in \file{~/.netrc},
+the \samp{AUTHINFO USER} and \samp{AUTHINFO PASS} commands are used to
 identify and authenticate the user to the server.  If the optional
 flag \var{readermode} is true, then a \samp{mode reader} command is
 sent before authentication is performed.  Reader mode is sometimes