snget,v0.3.8(8)
π snget β the manual page, but make it slay π
okay bestie, gather round, because this is snget and sngetd, version snget,v0.3.8, from the System Manager's Manual (section 8, the sysadmin girlies π«Ά). she's giving serious main character energy and honestly? obsessed.
β¨ NAME β¨
<pink>snget</pink>, <hotpink>sngetd</hotpink> β fetch news from upstream sites and store them locally. no cap, that's the whole vibe. π¦
πΈ SYNOPSIS πΈ
snget [options] [news.group...]
sngetd [options]
options: [-d] [-h Bps] [-p nparallel] [-c depth] [-m max]
π DESCRIPTION π
so <pink>snget</pink> goes out and fetches articles for the *news.group*s you put on the command line β or, if you don't name any, it does it for all non-local newsgroups β pulling from their respective upstream feeds and tucking them away all cozy in the news spool /var/spool/sn. and if a newsgroup couldn't be fetched for? not the end of the world, it may be attempted again. we try again, we always try again. πͺ
<hotpink>sngetd</hotpink> does literally the same thing, except β plot twist β it reads newsgroup names from /var/spool/sn/.fifo and does not exit. ever. it just keeps going, iconic behaviour honestly. but heads up: <hotpink>sngetd</hotpink> does not fork into the background, so she's right there with you, front and center. no hiding. π
also, real talk: <pink>snget</pink> does not guarantee to fetch the groups in the order you specified on the command line. so don't come for her about the ordering, she didn't promise that. and both <pink>snget</pink> and <hotpink>sngetd</hotpink> write errors and status messages to descriptor 2. yes, stderr. she's chatty but she knows where to put it. π
both of them are basically scheduling wrappers that call /usr/sbin/SNHELLO, snfetch, and snstore. and here's the gatekeeping part: you must own /var/spool/sn or be root in order to run <pink>snget</pink> and <hotpink>sngetd</hotpink>. no owning, no running. that's the rule. πͺ
β¨ OPTIONS β¨
-dβ turns on verbosity, and you can stack it multiple times for extra yapping. this option is also propagated down tosnfetchandsnstore, so everyone gets to hear it. π£οΈ-pnparallel β attempts to fetch for nparallel newsgroups at once. default is4, maximum is8. multitasking queen. β¨-hBps β throttles the sum of bandwidth used by allsnfetches down to Bps bytes per second. use this so<pink>snget</pink>or<hotpink>sngetd</hotpink>doesn't hog the entire network like some kind of bandwidth goblin. by default there is no throttling β she goes full send. πββοΈπ¨-cdepth β depth gets passed tosnfetchas the depth of the command pipeline. that's it, that's the tea. π΅-mmax β the very first time contacting the news server, retrieve no more than max articles per newsgroup; default is200. this option is useful only if there are unprimed newsgroups and has no effect otherwise. the.maxfile in each newsgroup directory still applies (peepsnfetch(8)). π-ttimeout β bestie, this option is not documented because it is ignored and will disappear in a future release. see.timeoutin FILES below. don't get attached, she's leaving. π
π¦ FILES π¦
Server Directories
these are the directories /var/spool/sn/.outgoing/server.name:port, which are symlinked from /var/spool/sn/news.group/.outgoing. and if the latter isn't a (symlink to a) directory? then <pink>snget</pink> won't fetch for news.group. simple as that, no notes. π
/var/spool/sn/.outgoing/server.name:port/.timeout
if this file exists and contains a number, that number is taken to be the timeout in seconds in all dealings with server.name:port. default is 120 seconds. β°
/var/spool/sn/.outgoing/server.name:port/.SNHELLO
if this program file exists, it is invoked instead of the default (usually /usr/sbin/SNHELLO) when an NNTP connection is first made to server.name:port, in order to read the greeting and upload posted articles. if server.name:port requires a username and password, you'd copy the default here and edit that information in. customize her. π
/var/spool/sn/news.group/{.serial,.max}
<pink>snget</pink> and <hotpink>sngetd</hotpink> read these files on behalf of snfetch. teamwork makes the dream work. π€
π SIGNALS π
other signals have default behaviour. that's it, that's the baseline.
SIGUSR1β if-hBps was specified, Bps is halved. else it is ignored. πSIGUSR2β if-hBps was specified, Bps is doubled. else it is ignored. π
π ENVIRONMENT VARIABLES π
also peep /usr/sbin/SNHELLO for the list of environment variables exported by <pink>snget</pink>/<hotpink>sngetd</hotpink>. she's got receipts. π§Ύ
SNROOTβ if this is set and is not empty, the value is used in place of/var/spool/sn, the default news spool directory. relocate your whole situation. π‘PATHβ used to findSNHELLO(if this server does not have a.SNHELLO),snfetch, andsnstore. and ifPATHdoes not contain/usr/sbinas one of it's components,/usr/sbinis appended to it. she'll find her friends one way or another. π
β SEE ALSO β
snfetch(8), snstore(8), /usr/sbin/SNHELLO
no cap: everything above is exactly what the page says. the vibe is mine, the facts are hers. π
N.B. this whole page was written by Harold Tay, and it's <rainbow>snget,v0.3.8</rainbow> β that's the version and the whole source of it, right there in the footer, slay. π bye bestie, go fetch some news π
π¦ where this page comes from
- debian bookworm: sn 0.3.8-12
- ubuntu jammy: sn 0.3.8-12
- ubuntu noble: sn 0.3.8-12
- ubuntu resolute: sn 0.3.8-12
- ubuntu stonking: sn 0.3.8-12
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms