GETLIST(1)

πŸ¦‹ GETLIST(1) β€” InterNetNews Documentation πŸ¦‹

ok so bestie, welcome to the getlist manual page β€” InterNetNews Documentation edition, no cap. this is the whole thing, every flag, every file, nothing skipped, i promise πŸ’–


✨ NAME ✨

getlist β€” grab a list from an NNTP server, periodt.

🌸 SYNOPSIS 🌸

getlist [-AR] [-h host] [-p port] [list [pattern [types]]]

πŸŽ€ DESCRIPTION πŸŽ€

okay so here's the vibe: getlist goes and obtains a list from an NNTP server and sends it straight to standard output. that's it, that's the whole personality πŸ’…

list can be one of these four, and honestly they're all iconic in their own way:

  • active β€” this one's the default value, the main character πŸ‘‘ it contains a list of all newsgroups carried by the server, with the high and low article numbers in the group, plus the group status field.
  • active.times β€” a list of newsgroups, their creation times (in seconds since epoch, yes really ⏰), and the creator of the group.
  • distrib.pats β€” a list of relevant distributions and the newsgroups they apply to.
  • newsgroups β€” a list of newsgroups along with their short descriptions.

for more info on the formats of these files, see active(5), active.times(5), distrib.pats(5) and newsgroups(5) 🫢


lowkey important caveat time 🚨 the listing files other than the active file are common extensions to the NNTP protocol and may not be available on all servers. like, don't come for me if your server doesn't have them. for instance, counts, distributions, headers, moderators, motd, overview.fmt and subscriptions, amongst others, may be available πŸ‘€

moreover, a uwildmat pattern pattern may also be usable for some of these listing files. cute, right?

for more information on the formats of these files, see distributions(5), moderators(5), motd.news(5) and subscriptions(5). and listen β€” the overview fields you get with overview.fmt are the ones for which the overview database is consistent (see extraoverviewadvertised in inn.conf for more information, iykyk). the list you get with headers contains the fields that can be retrieved using the HDR command (and pattern can then be either msgid or range). the list you get with counts is like the active one except that the number of articles in a newsgroup is mentioned just before the flag of this newsgroup. slay πŸ’…


now, the pattern parameter may be used with a list value of active, active.times or newsgroups to limit the output. if given, only entries corresponding to newsgroups that match the uwildmat pattern pattern will be printed. filter that feed, bestie ✨

and if the list parameter is active, 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 y would only show unmoderated groups, and a types value of ym would show all unmoderated and moderated groups but not aliased groups or groups that disallow postings. the way that works is genuinely so satisfying 🧚

πŸ’œ OPTIONS πŸ’œ

  • -A β€” try to authenticate using the username and password information in passwd.nntp(5) before issuing the LIST command. log in first, ask questions later 🫢
  • -h host β€” connect to the server host rather than to the value of server in inn.conf or the value of the NNTPSERVER environment variable. you're picking the server yourself, main character energy πŸ‘‘
  • -p port β€” connect to the port port, which is by default 119. yes, 119, the classic πŸŽ€
  • -R β€” try to switch to nnrpd with a MODE READER command before issuing the LIST 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. glow-up via a different daemon, honestly πŸ’…

πŸ”₯ EXAMPLES πŸ”₯

the following command will obtain the one-line descriptions of all newsgroups found on UUNET:

getlist -h news.uu.net newsgroups

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

getlist active 'comp.*' m

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

getlist active '*' ym=
note that the wildcard character "*" has to be quoted by simple quotes to protect it from the shell ⚠️ like, the shell will eat it otherwise and you'll be sad 😭

🌈 HISTORY 🌈

written by Landon Curt Noll <chongo@toad.com> for InterNetNews. rewritten in POD by Russ Allbery <eagle@eyrie.org>. legends, both of them 🫑

⭐ SEE ALSO ⭐

active(5), active.times(5), distrib.pats(5), distributions(5), inn.conf(5), libinn_uwildmat(3), moderators(5), motd.news(5), newsgroups(5), nnrpd(8), passwd.nntp(5), subscriptions(5).


and that's the whole page, bestie πŸ’– this one's from INN 2.7.4, dated 2026-06-12 β€” go forth and getlist responsibly, mwah πŸŽ€βœ¨

πŸ“¦ where this page comes from
  • arch rolling: inn 2.7.4-4 Β· ISC
  • epel 10: inn 2.7.4-5.el10_3 Β· ISC AND BSD-3-Clause AND BSD-4-Clause AND FSFAP AND (GPL-1.0-or-later OR Artistic-1.0-Perl) AND GPL-3.0-or-later WITH Bison-exception-2.2 AND LicenseRef-Fedora-Public-Domain AND MIT AND NTP
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms