🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #603

REPLYTO variable -- help!

#603
From: Mike O'Connor
Date: Sat, 14 Sep 1991 22:14
36 lines
2361 bytes
 : A fixable 'bug' in rn. When rn invokes Pnews, it pre-builds the headers
 :and obviously doesn't honour the $REPLYTO feature. However, you can
 :specify what these prebuilt headers should look like, and just include
 :your desired Reply-to: line. See the rn manpage, especially the
 :discussion of the $NEWSHEADER variable.
 
 You mean something like this?
 
 setenv NEWSHEADER 'Newsgroups: %(%F=^$?%C:%F)\nSubject: %(%S=^$?%"Subject: ":Re: %S)\nReferences: %R\nReply-To: %N <mjo@mtu.edu>\nOrganization: %o\nDistribution: %(%i=^$?%"Distribution: ":%D)\n\n'
 
 I don't think that someone should have to hack a silly header like
 this just to change their Reply-To: address, especially if there's a
 documented environment variable in place.  It sounds like rn isn't
 performing with regard to the REPLYTO variable the way it is
 advertised in the man page.  And, at least under rn 4.3, very long
 environment variables cause a problem where rn reads too much of the
 environment so you'll get headers that also contain stuff like:
 
 SHELL=/bin/tcsh
 
 Also, shouldn't rn be building the same headers as Pnews?
 
  
  Mike O'Connor                       | "...and it rained -- like a slow
  NIC Database:  MJO17                | divorce..."
  Internet:  mjo@mtu.edu              |  
  UUCP:  ...!ttardis!mjo              | -Robyn Hitchcock
 

 
 
 Mike O'Connor                       | "Ho! Ha-ha! Guard! Turn! Parry! Dodge!
 NIC Database:  MJO17                | Spin! Ha! Thrust!
 Internet:  mjo@mtu.edu              | BOING!"
 UUCP:  ...!ttardis!mjo              | -Daffy Duck
Technical Details
Message-ID: <9109142214.AA20395@mtu.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmdzi!unido!mcsun!uunet!decwrl!pa.dec.com!mjo@mtu.edu

Show Full Headers
Complete Article Headers
Message-ID: <9109142214.AA20395@mtu.edu>
Subject: REPLYTO variable -- help!
Date: Sat, 14 Sep 1991 22:14:26 +0000
From: mjo@mtu.edu (Mike O'Connor)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmdzi!unido!mcsun!uunet!decwrl!pa.dec.com!mjo@mtu.edu
Newsgroups: news.software.readers
Sender: mjo@mtu.edu @PA.dec.com (Paul Vixie)
Reply-To: Mike O'Connor <mjo@mtu.edu>
Organization: Strategic Dynamics, Inc.
Lines: 36
To: news.software.readers.usenet
Whois: MJO17
Dial: TTARDIS Public Access Unix -- (313) 350-2585
X-Mailer: ELM [version 2.3 PL11]