🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #1881

Re: saving to foo.bar.x when foo.bar exists

#1881
From: Harry Herman
Date: Sat, 20 Jul 1991 01:21
49 lines
2542 bytes
In <1991Jul17.152131.433@gtephx.UUCP> reesd@gtephx.UUCP (David Rees) writes:

>In <353@vaccine.UUCP> warren@worlds.UUCP (Warren Burstein) writes:

>>If you have already saved files in newsgroup foo.bar, you have created
>>a mailbox (or whatever) ~/News/foo/bar.  Now, when you get to a subgroup
>>it wants to create ~/News/foo/bar/x but that doesn't work because bar
>>is already a file.

>>I'm sure there is some option to save all groups in a single dir (e.g.
>>~/News/foo.bar.x) but I have SysV with the 14-char filename limit which
>>would put some groups in the same file.

>Yup,

>#save by group name
>set default-save-file +$G

>And you're right, many files would be cut off at the 14-char
>limit... (How do you live with it?)
>But if the original poster doesn't have that limit the above will
>work.

I use
	set default-save-file +$F/$L
The $F translates the '.'s to '/'s and the "/$L" adds the last field of the
group name to the end.  Therefore I end up with:
	/herman/News/foo/bar/x/x
for the default save file for group foo.bar.x.  If I then read through
+foo/bar/x/x and decide to save some of the articles in a different folder
(by subject, or whatever), I can then save them in +foo/bar/x/abc and
have them in the same directory as the default save file.

Also, since all the "."s get changed to "/"s, it does not exceed the
14 character limit, unless any one field of the name exceeds 14 characters.


> -dave

>-- 
>David G. Rees Jr., AG Communication Systems, Phoenix, AZ
>UUCP: ...!{ncar!noao!asuvax | uunet!zardoz!hrc | att}!gtephx!reesd
>Internet: gtephx!reesd@asuvax.eas.asu.edu
>voice: (602) 581-4198        fax:   (602) 581-4022
-- 
------------------------------------------------
Harry Herman		Corpane Industries, Inc.
UUCP:		herman@corpane.uucp
Internet:	herman%corpane@uunet.uu.net
Technical Details
Message-ID: <1991Jul20.012142.2455@corpane.uucp>
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!gmdzi!unido!fauern!math.fu-berlin.de!ox.com!caen!uakari.primate.wisc.edu!samsung!olivea!protoa!uunet!coplex!disk!corpane!herman
References: <353@vaccine.UUCP> <1991Jul17.152131.433@gtephx.UUCP>

Show Full Headers
Complete Article Headers
Message-ID: <1991Jul20.012142.2455@corpane.uucp>
Subject: Re: saving to foo.bar.x when foo.bar exists
Date: Sat, 20 Jul 1991 01:21:42 +0000
From: herman@corpane.uucp (Harry Herman)
References: <353@vaccine.UUCP> <1991Jul17.152131.433@gtephx.UUCP>
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!gmdzi!unido!fauern!math.fu-berlin.de!ox.com!caen!uakari.primate.wisc.edu!samsung!olivea!protoa!uunet!coplex!disk!corpane!herman
Newsgroups: news.software.nn
Organization: Corpane Industries Inc.
Lines: 49