1 \cfg{man-identity}{nntpid}{1}{2004-11-21}{Simon Tatham}{Simon Tatham}
3 \title Man page for \cw{nntpid}
7 \cw{nntpid} - retrieve a single article from a news server
11 \c nntpid [ -v ] message-id
12 \e bbbbbb bb iiiiiiiiii
13 \c nntpid [ -v ] newsgroup-name article-number
14 \e bbbbbb bb iiiiiiiiiiiiii iiiiiiiiiiiiii
18 \cw{nntpid} makes a connection to a news server, retrieves a single
19 article, and displays it.
21 You can specify the article you want by either:
23 \b giving its Message-ID. Message-IDs are globally unique, so you
24 don't need to know which newsgroup the article was in. Also, they do
25 not vary between news servers.
27 \b giving a newsgroup name and an article number within that
28 newsgroup. Article numbers are assigned internally by a particular
29 news server, so they will be different on other servers carrying the
34 If you specify one argument, \cw{nntpid} assumes it is a Message-ID.
35 The angle brackets that usually delimit Message-IDs are optional;
36 \cw{nntpid} will strip them off if it sees them, and will not
37 complain if it does not.
39 If you specify two arguments, \cw{nntpid} will interpret the first
40 as a newsgroup name, and the second as an article number.
46 \dd Verbose mode. In this mode, \cw{nntpid} will log its entire
47 conversation with the news server on standard error.
51 Currently, the only form of authentication supported by \cw{nntpid}
52 is \cw{AUTHINFO GENERIC}, using the environment variable
53 \cw{NNTPAUTH}. It will only attempt this if it receives a 480
54 response from the news server; if your news server never sends 480
55 then \cw{nntpid} will never even look at \cw{NNTPAUTH}.
59 \cw{nntpid} is free software, distributed under the MIT licence.
60 Type \cw{nntpid --licence} to see the full licence text.