🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #2729

Re: saving articles in rn format

#2729
From: Rudi van Houten
Date: Thu, 07 May 1992 19:01
48 lines
2048 bytes
In <1992May2.203503.7457@wndrsvr.la.ca.us> andyb@wndrsvr.la.ca.us (Andy Brager) writes:


>I have ISC V3 3.0, with nn 6.4.16 #4.

>Is there a way to save articles using rn format?  That is to say, rn
>saves them under ~/News/Hierarchy.news.group

>nn saves the same article as ~News/hierarchy/news/group

>Note the difference in capitalization, as well as . vs /

>Is there an option to change this?  Has anyone fixed this?  Should I 
>fix it myself?  I'd like to be able to save articles to the same file
>no matter which newsreader I'm using at the moment.

>Thanks in advance.

Exactly for this reason I made the following little patch:

-------------- scissor ---------------------
This patch causes the $G+ folder-names to start
with a capital to be compliant with rn.
Author: Rudi van houten <Rudi@cc.ruu.nl>

--- folder.c	Tue Oct  9 14:17:52 1990
***************
*** 109,114 ****
--- 109,121 ----
  		break;
  	     case 'G':
  		cp = cur_grp;
+ 			/*
+ 				hack to start filename with a
+ 				capital to comply with 'rn'
+ 				Rudi van Houten <Rudi@cc.ruu.nl>
+ 			*/
+ 		*dp++ = toupper(*cp++);
+ 			/* end of hack RvH */
  		break;
  	     case 'L':
  		if (cp = strrchr(cur_grp, '.'))
---- end of patch ----
-- 
Rudi van Houten	<rudi@cc.ruu.nl>
Academisch Computer Centrum Utrecht / Besturings Systemen
Budapestlaan 8  -  3584 CD  -  Utrecht  -  Netherlands
:-) Experience is the harvest of many mistakes.
Technical Details
Message-ID: <2545@accucx.cc.ruu.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!mcsun!sun4nl!alchemy!accucx!acbhour
References: <1992May2.203503.7457@wndrsvr.la.ca.us>

Show Full Headers
Complete Article Headers
Message-ID: <2545@accucx.cc.ruu.nl>
Subject: Re: saving articles in rn format
Date: Thu, 07 May 1992 19:01:23 +0000
From: acbhour@accucx.cc.ruu.nl (Rudi van Houten)
References: <1992May2.203503.7457@wndrsvr.la.ca.us>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!mcsun!sun4nl!alchemy!accucx!acbhour
Newsgroups: news.software.nn
Organization: Academic Computer Centre Utrecht
Lines: 48