🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by tim Thu, 05 Apr 1990 01:42
Feature Request
#265
Author: tim
Date: Thu, 05 Apr 1990 01:42
19 lines
1741 bytes
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.
I tend use :decode on the comp.binaries.ibm.pc files an it works great (as long
as all parts are there), 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.  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.

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!)


--
Tim Forsyth, tim@int13.hf.intel.com or forsytim@ccm.hf.intel.com
Intel Corp., OEM MicroComputer Platform Division, Hillsboro, Oregon, USA
Re: Feature Request
#283
Author: 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!
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads