UUCPSEND.CTL(5)
β¨ UUCPSEND.CTL(5) β¨
okay bestie, welcome to the uucpsend.ctl page β it lives in section 5 (that's file formats for the admin girlies π ). Buckle up, this one's short but it's lowkey doing a lot.
π NAME π
uucpsend.ctl β the list of sites you're feeding via uucpsend, no cap.
πΈ DESCRIPTION πΈ
So the file /etc/news/uucpsend.ctl is where you tell the world (okay, tell uucpsend(8)) the default list of sites to be fed. That's its whole job. But heads up β the program can also read site info from other related configuration files too, so it's not the only source of truth, periodt.
Comments start with a hash mark (`#`) and just run all the way to the end of the line. Blank lines and comments? Ignored, we don't see them. Every other line should have six fields separated by a colon, like this:
site:max_size:queue_size:header:compressor:args
Let's break down each field because this is giving "anatomy lesson" and we're obsessed π«Ά
Field one β site. This is the name of the site as specified in the newsfeeds(5) file. It's also the name of the UUCP system connected to this site. Two jobs, one name, main character energy fr fr.
Field two β max_size. The maximum size of all batches, in kbytes, that may be sent to this site. If you hit that amount, this site just won't get batched with this run β and a reason gets logged into the logfile (so at least it's accountable π). Important detail: this test includes all UUCP jobs, not only the ones sent to rnews. It does this by performing `du -s`. So yeah, it's counting everything, not just the cute stuff.
Field three β queue_size. The maximum size in kbytes of one batch. This argument gets passed directly to batcher(8). Simple. Clean. Iconic.
Field four β header. This defines the text that shall appear in the command header of every batch file. `#! ` is prefixed to each batch (so don't panic, that part's automatic). Normally you'll need cunbatch for compress, or gunbatch or zunbatch for gzip. This header matters because there is no standard way to handle gzip'ed batches β so you gotta say it yourself. Using this field and the next argument, you're also able to use any compressor you like. So basically uucpsend hands you a certain amount of flexibility. If you don't want any compression at all? Just leave the field empty. Slay.
Field five β compressor. This names a program that reads from stdin and writes to stdout. Normally it modifies the input stream by compressing it β think compress(1) or gzip(1). Chef's kiss.
Field six β args. Additional arguments that are passed directly to uux when sending the batch. Whatever you put here, uux is getting it.
π¨ One entry in the main configuration file is mandatory. There must exist a line containing the default values for all these variables. To achieve this, the pseudo site /default/ is used. Don't skip it, bestie, it's not optional.
One default entry could look like this:
/default/:2000:200:cunbatch:compress:-r -n
This reflects a minimal setup. Let's vibe check it:
- The maximal size that may be used by the UUCP spool directory is
2MB. - Each batch will be max.
200kBytes big. - The header of each batch will contain the string
`cunbatch`. compress(1)is used to compress the batches.`-r -n`is passed touux(1), which means no notification will be sent ifuuxwas successful, anduuxwon't start theuucico(8)program when spooling the file.
π¦ HISTORY π¦
Written by Martin Schulze <joey@infodrom.org> for InterNetNews. Most of the work is derived from nncpsend.ctl(5) by Landon Curt Noll <chongo@toad.com> for InterNetNews. Credit where credit is due, we love a citation moment π
π SEE ALSO π
and that's the whole page, bestie!! π this one came from Infodrom, dated 21 November 2001 β a certified vintage classic, still eating after all these years. go configure your sites, you've got this π«Άβ¨
π¦ where this page comes from
- debian bookworm: uucpsend 1.1-5 Β· GPL-2.0-or-later
- debian trixie: uucpsend 1.1-5 Β· GPL-2.0-or-later
- ubuntu jammy: uucpsend 1.1-5 Β· GPL-2.0-or-later
- ubuntu noble: uucpsend 1.1-5 Β· GPL-2.0-or-later
- ubuntu questing: uucpsend 1.1-5
- ubuntu resolute: uucpsend 1.1-5build1 Β· GPL-2.0-or-later
- ubuntu stonking: uucpsend 1.1-6 Β· GPL-2.0-or-later
- Copyright (c) 1995-8,2001 Martin Schulze <joey@infodrom.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms