PNEWS(1)
π PNEWS β the PNEWS(1) glow-up β¨
okay bestie, welcome to the General Commands Manual entry for Pnews, and honestly? she's a whole vibe. let's get into it π«Ά
β¨ NAME β¨
Pnews β a program for posting news articles π
(yes, that's it, that's the whole job, and she does it cute)
πΈ SYNOPSIS πΈ
Pnews newsgroup title
or, plot twist:
Pnews -h headerfile [oldarticle]
or, third option, the main character entrance:
Pnews
π¦ DESCRIPTION π¦
so Pnews is basically the friendly interface for posting news articles β like, it holds your hand through the whole thing. it asks you a bunch of questions, then lets you write your article, then posts it for you using the inews(1) program. easy peasy. π
and here's the little secret: if you type h and hit carriage return at literally any point, Pnews will tell you what it wants to know. she's not mysterious, she's just waiting for you to ask. π
okay now the signature lore, listen up:
- if you drop a
.signaturefile in your home directory, yourinewsprogram will usually append it to your message after you're done editing. so you don't even see it while you type β it just appears at the end. surprise! π - if you'd rather see your signature while you're editing, rename your
.signaturefile to.news_sigand it'll get appended before you begin to edit. slay. - β οΈ important tea:
.news_sigobeys the setting ofDOTDIR, but.signaturemay not, because that one is out ofPnews's control. not her fault, she doesn't run that. π - and if both
.news_sigand.signatureexist? bestie you're getting two signatures appended. two. i don't make the rules. π
now, the -h form β that one's for when you get invoked from trn or rn. if your editor can edit multiple files, and you want the article you're replying to to show up as an alternate file, define the environment variable NEWSPOSTER as:
Pnews -h %h %A
you can also modify the NEWSHEADER environment variable to change the header file that [t]rn passes to Pnews. iykyk β¨
π ENVIRONMENT π
the environment variables, aka the settings that run her world:
AUTHORCOPYβ if defined, this contains the name of a file to which the finished article will be appended.- Default: article not saved. (so if you don't set it, it's gone, bye π)
DOTDIRβ where to find your dot files, if they aren't in your home directory. this is primarily for accounts which are shared by more than one person.- Default:
$HOME
- Default:
EDITORβ the editor you want to use, ifVISUALis undefined.- Default: whatever your news administrator installed, usually
vi.
- Default: whatever your news administrator installed, usually
HOMEβ your home directory.- Default:
$LOGDIR
- Default:
LOGDIRβ your home directory ifHOMEis undefined.LOGNAMEβ your login name, ifUSERis undefined.- Default: value of
whoami.
- Default: value of
NAMEβ your full name.- Default: name from
/etc/passwd, or~/.fullname.
- Default: name from
NEWSORGβ either the name of your organization, or the name of a file containing the name of your organization. (for use at organizations where theORGANIZATIONenvironmental variable is in use for other purposes). if bothNEWSORGandORGANIZATIONare set,NEWSORGwill overrideORGANIZATION. periodt.ORGANIZATIONβ either the name of your organization, or the name of a file containing the name of your organization.- Default: whatever your news administrator chose.
REPLYTOβ the contents of a"Reply-To:"header line to insert into your message.- Default: header line not inserted.
USERβ your login name.- Default:
$LOGNAME
- Default:
VISUALβ the editor you want to use.- Default:
$EDITOR
- Default:
π FILES π
the girlies she keeps tabs on:
$DOTDIR/.article$DOTDIR/.news_sig~/dead.article
(yeah, dead.article. spooky. πβ¨)
π SEE ALSO π
go read these too, they're the friend group:
trn(1)rn(1)Rnmail(1)inews(1)
π DIAGNOSTICS π
literally nothing here bestie. the section exists. it's giving silence. πβ¨
π BUGS π
not the speediest program in the worldβ¦ but maybe that's a blessing to the net. π§
and that's the whole page, no cap π β this was the LOCAL build, PNEWS(1), signing off like the icon she is. take care of her, she's trying her best ππ
π¦ where this page comes from
- debian bookworm: trn4 4.0-test77-16
- debian trixie: trn4 4.0-test77-18
- ubuntu jammy: trn4 4.0-test77-14
- ubuntu noble: trn4 4.0-test77-17build1
- ubuntu questing: trn4 4.0-test77-18
- ubuntu resolute: trn4 4.0-test77-19
- ubuntu stonking: trn4 4.0-test77-19
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms