Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35)

Standard preamble:
========================================================================
..
..
.. Set up some character translations and predefined strings. \*(-- will
give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
double quote, and \*(R" will give a right double quote. \*(C+ will
give a nicer C++. Capital omega is used to do unbreakable dashes and
therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
nothing in troff, for use with C<>.
.tr \(*W- . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\}
Escape single quotes in literal strings from groff's Unicode transform.

If the F register is >0, we'll generate index entries on stderr for
titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
entries marked with X<> in POD. Of course, you'll have to process the
output yourself in some meaningful fashion.

Avoid warning from groff about undefined register 'F'.
.. .nr rF 0 . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF
Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
Fear. Run. Save yourself. No user-serviceable parts.
. \" fudge factors for nroff and troff . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] .\} . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents . \" corrections for vroff . \" for low resolution devices (crt and lpr) \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} ========================================================================

Title "GETLIST 1"
GETLIST 1 "2015-09-12" "INN 2.6.4" "InterNetNews Documentation"
For nroff, turn off justification. Always turn off hyphenation; it makes
way too many mistakes in technical documents.
"NAME"
getlist - Get a list from an NNTP server
"SYNOPSIS"
Header "SYNOPSIS" \fBgetlist [-AR] [-h host] [-p port] [list [pattern [types]]]
"DESCRIPTION"
Header "DESCRIPTION" \fBgetlist obtains a list from an \s-1NNTP\s0 server and sends it to standard output. list may be one of \*(C`active\*(C' (which is the default value), \f(CW\*(C`active.times\*(C', \*(C`distrib.pats\*(C', or \*(C`newsgroups\*(C'. \*(C`active\*(C' contains a list of all newsgroups carried by the server with the high and low article numbers in the group, and the group status field. \*(C`active.times\*(C' is a list of newsgroups, their creation times (in seconds since epoch), and the creator of the group. \*(C`distrib.pats\*(C' is a list of relevant distributions and the newsgroups they apply to. \*(C`newsgroups\*(C' is a list of newsgroups along with their short descriptions.

For more information on the formats of these files, see active\|(5), \fBactive.times\|(5), distrib.pats\|(5) and newsgroups\|(5).

The listing files other than the active file are common extensions to the \s-1NNTP\s0 protocol and may not be available on all servers. For instance, \*(C`counts\*(C' \f(CW\*(C`distributions\*(C', \*(C`headers\*(C', \*(C`moderators\*(C', \*(C`motd\*(C', \*(C`overview.fmt\*(C' and \f(CW\*(C`subscriptions\*(C', amongst other, may be available. Moreover, a uwildmat\|(3) pattern pattern may also be usable for some of these listing files.

For more information on the formats of these files, see distributions\|(5), \fBmoderators\|(5), motd.news\|(5) and subscriptions\|(5). The overview fields obtained with \*(C`overview.fmt\*(C' are the ones for which the overview database is consistent (see extraoverviewadvertised in inn.conf for more information). The list obtained with \*(C`headers\*(C' contains the fields that can be retrieved using the \s-1HDR\s0 command (pattern can then be either \*(C`msgid\*(C' or \*(C`range\*(C'). The list obtained with \*(C`counts\*(C' is like the \*(C`active\*(C' one except that the number of articles in a newsgroup is mentioned just before the flag of this newsgroup.

The pattern parameter may be used with a list value of \*(C`active\*(C', \f(CW\*(C`active.times\*(C' or \*(C`newsgroups\*(C' to limit the output. If given, only entries corresponding to newsgroups that match the uwildmat\|(3) pattern \fIpattern will be printed.

If the list parameter is \*(C`active\*(C', a third parameter, types, may also be used to restrict the list. If given, only entries corresponding to newsgroups with a newsgroup mode found in types will be printed. For example, a types value of \*(C`y\*(C' would only show unmoderated groups, and a types value of \*(C`ym\*(C' would show all unmoderated and moderated groups but not aliased groups or groups that disallow postings.

"OPTIONS"
Header "OPTIONS"
"-A" 4
Item "-A" Try to authenticate using the username and password information in \fBpasswd.nntp\|(5) before issuing the \s-1LIST\s0 command.
"-h host" 4
Item "-h host" Connect to the server host rather than to the value of server in \fIinn.conf or the value of the \s-1NNTPSERVER\s0 environment variable.
"-p port" 4
Item "-p port" Connect to the port port, which is by default 119.
"-R" 4
Item "-R" Try to switch to nnrpd with a \s-1MODE READER\s0 command before issuing the \s-1LIST\s0 request. It can be useful in case a feeding access exists for the news server: more information can be retrieved from nnrpd, compared with innd.
"EXAMPLES"
Header "EXAMPLES" The following command will obtain the one-line descriptions of all newsgroups found on \s-1UUNET:\s0

.Vb 1 getlist -h news.uu.net newsgroups .Ve

The following command will show the active file entries for all moderated comp.* groups on the default server:

.Vb 1 getlist active \*(Aqcomp.*\*(Aq m .Ve

The following command lists all groups where local postings are permitted, are moderated or aliased:

.Vb 1 getlist active \*(Aq*\*(Aq ym= .Ve

Note that the wildcard character \*(C`*\*(C' has to be quoted by simple quotes to protect it from the shell.

"HISTORY"
Header "HISTORY" Written by Landon Curt Noll <chongo@toad.com> for InterNetNews. Rewritten in \s-1POD\s0 by Russ Allbery <eagle@eyrie.org>.

\f(CW$Id: getlist.pod 9767 2014-12-07 21:13:43Z iulius $

"SEE ALSO"
Header "SEE ALSO" \fBactive\|(5), active.times\|(5), distrib.pats\|(5), distributions\|(5), inn.conf\|(5), \fBmoderators\|(5), motd.news\|(5), newsgroups\|(5), nnrpd\|(8), passwd.nntp\|(5), \fBsubscriptions\|(5), uwildmat\|(3).