🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #283

Re: Feature Request

#283
From: Kim F. Storm
Date: Sun, 08 Apr 1990 16:24
50 lines
2671 bytes
tim@int13.hf.intel.com.ogi.edu writes:

>First, thanks for a great news reader Kim!

>I really like the :unshar, :patch, and :decode functions in nn, and I noticed
>that :patch also worked even if the patch files were sent as a shar file.

Well, that only works because the "patch" program can do that - and I think
it only worked for you because the shar file didn't place "X"es on each
line as is done with most shar files.

>I tend use :decode on the comp.binaries.ibm.pc files an it works great
>as all parts are there),
So send your warm thanks to the moderator for not complicating postings
more than is necessary!


>but I soon noticed that the comp.binaries.amiga (saved
>for a friend with a BBS for amiga users) consists of files that have been
>zooed, uuencoded and split, THEN put into shar files.

And tell that moderator that he is making things more complicated than
what is really needed!

> So now I have to :unshar
>all the parts, then :sh, cd to the directory and cat the parts and pipe them
>into uudecode, then delete those no longer needed parts, then exit back into nn.

Maybe you could make some kind of shell-script to do the decoding etc?
And then define the unshar-command variable to use this program when
you are in the amiga group?  (Notice that each part is piped to separate
invokations of the unshar-command - that may be a problem!)

>My question Kim, is, what would it take to make :decode also be able to
>uudecode files that have happened to have been stuffed into a shar file?
>(what can I say?  I want to do the least amount of work as possible!)

I can easily solve the present problem with comp.binaries.amiga, if I
declare a variable like
	on entry comp.binaries.amiga
	  :local decode-strip-prefix X
	end
which will simply remove an X at the beginning of the shar lines; that
should work!
But that doesn't solve the problem in general!

-- 
Kim F. Storm        storm@texas.dk        Tel +45 429 174 00
Texas Instruments, Marielundvej 46E, DK-2730 Herlev, Denmark
	  No news is good news, but nn is better!
Technical Details
Message-ID: <510@texas.dk>
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!mcsun!sunic!dkuug!tidk!storm
References: <989@gandalf.littlei.UUCP>

Show Full Headers
Complete Article Headers
Message-ID: <510@texas.dk>
Subject: Re: Feature Request
Date: Sun, 08 Apr 1990 16:24:28 +0000
From: storm@texas.dk (Kim F. Storm)
References: <989@gandalf.littlei.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!mcsun!sunic!dkuug!tidk!storm
Newsgroups: news.software.nn
Distribution: news
Organization: Texas Instruments, Denmark
Lines: 50
Posted: Sun Apr 8 17:24:28 1990