From 016b40f74dd2259272132a5e7d6f9732542d510d Mon Sep 17 00:00:00 2001 From: simon Date: Wed, 24 Mar 2010 19:33:45 +0000 Subject: [PATCH 1/1] Add a vital missing paragraph to the man page, and update the header comment in the script. git-svn-id: svn://svn.tartarus.org/sgt/utils@8908 cda61777-01e9-0310-a592-d414129be87e --- nntpid/nntpid | 3 +-- nntpid/nntpid.but | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/nntpid/nntpid b/nntpid/nntpid index e444c73..d9b47c0 100755 --- a/nntpid/nntpid +++ b/nntpid/nntpid @@ -16,8 +16,7 @@ # a 480 response from the news server; if your news server isn't paranoid # then the script will never need to look at NNTPAUTH. -# Copyright 2000 Simon Tatham. All rights reserved. -# FIXME: put in a licence notice. +# Copyright 2000,2004 Simon Tatham. All rights reserved. require 5.002; use Socket; diff --git a/nntpid/nntpid.but b/nntpid/nntpid.but index 3444a99..934068d 100644 --- a/nntpid/nntpid.but +++ b/nntpid/nntpid.but @@ -44,6 +44,10 @@ There is a third mode of operation, enabled by the \cw{-a} option, in which \cw{nntpid} retrieves \e{all} available articles in the group and writes them to standard output in \cw{mbox} format. +The location of the news server is obtained by reading the +environment variable \cw{NNTPSERVER}, or failing that the file +\cw{/etc/nntpserver}. + \U ARGUMENTS If you specify one argument, \cw{nntpid} assumes it is a Message-ID. -- 2.11.0