🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #7908

nn 6.5.1 patch for UUDeview

#7908
From: Frank Pilhofer
Date: Fri, 30 Aug 1996 00:00
72 lines
3385 bytes

   Hi there,

 as I had threatened a couple of days ago, I have patched nn to use
the UUDeview decoding library. This is a significant improvement in
decoding intelligence, also the additional formats Base64, BinHex
and xxencoding are understood.
 Since the patch is rather small, I'm reproducing it here, I hope
you don't mind. The patch applies to nn 6.5.1. Here's how to add
the patch:

 o  Patch your nn sources. Extract the file below, go to your nn
    source directory and type:
      gzcat nn-6.5.1-uu-patch.gz | patch -p1
    If the changes to "Makefile" fail because of your own changes,
    edit the following two lines manually:

CFLAGS =	-O -Iuulib
LDFLAGS =	-Luulib -luu

    (the distribution Makefile has no "LDFLAGS" line. Just add it.)

 o  Download the UUDeview package. The most recent version is 0.5.5,
    available as uudeview-0.5.5.tar.gz or from its home page,
      http://www.uni-frankfurt.de/~fp/uudeview/

 o  Extract and compile the package. You might also want to install
    it :-) although it's not necessary for this purpose (the compi-
    lation _is_ necessary, though).

 o  Go to your nn sources and create a symbolic link to UUDeview's
    "uulib" subdirectory:
      ln -s /where/ever/uudeview-0.5.5/uulib .

 o  Configure, compile and install nn as usual. If you have an existing
    installation, there's no need to remake nnmaster.

 Instead of changing the behaviour of ":decode", I added another command
":deview" which invokes the new code. In the unlikely event that UUDeview
screws up, you can still escape to the old :decode.
 Handling the new function is easy. Select all articles with encoded data
and hit :deview. You will be asked for a target directory to write the
decoded files to. This works even if parts of one file are mixed with
parts of other files, so in a binaries group you could just hit =. to
select all articles and then :deview everything.

 The only limitation is that you can't see what the decoder is doing
and where it failed. But usually it catches everything that's somehow
possible to decode. If you want to know why some file didn't get de-
coded, I recommend using UUDeview manually.

 I hope there are people out there who will find the patch useful. Let
me know.

	Frank

begin 644 nn-6.5.1-uu-patch.gz
<uuencoded_portion_removed>
G/O;9SO^$<.>%E[?OU_(CSHN=38=1,9_P*&*B`975/V#QB:^^$0``
`
end

-- 
 + Frank Pilhofer                            fp@informatik.uni-frankfurt.de  +
 | Darmstaedter Str. 22                     http://www.uni-frankfurt.de/~fp/ |
 | D-63225 Langen, Germany                              RAD Host             |
 +---------------------------------------------------------------------------+
 | It's no use. She'll never see me as anything - but a monster.   The Beast |


Technical Details
Message-ID: <DwyxBD.1C9@rose.fpp.tm.informatik.uni-frankfurt.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <DwyxBD.1C9@rose.fpp.tm.informatik.uni-frankfurt.de>
Subject: nn 6.5.1 patch for UUDeview
Date: Fri, 30 Aug 1996 00:00:00 +0000
From: fp@rose.fpp.tm.informatik.uni-frankfurt.de (Frank Pilhofer)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail
X-Deja-AN: 177597822
Organization: Frank Pilhofer Projects Network
Newsgroups: news.software.nn