Article View: news.software.nn
Article #2494Re: multipart posting > 10 parts
From: Kevin W. Reed
Date: Sat, 22 Feb 1992 04:29
Date: Sat, 22 Feb 1992 04:29
41 lines
2325 bytes
2325 bytes
wolfgang@wsrcc.com (Wolfgang S. Rupprecht) writes: > >Multipart uuencoded postings that go over 10 parts don't collate >reliably. With subject-match-parts = false often leaves other >articles intermixed with the multipart postings. With >subject-match-parts = true, only the parts 0-9 are collated correctly. >Part 10-19 come between 1 and 2. Is there already a patch out to >collate numeric strings correctly? In the NN C source module 'save.c' is the format string for the save counter. It looks like: export char *save_counter_format = "%d"; /* format of save counter */ As you can see, it will generate part number like ( 1, 2, ... 9, 10 ...) which is not very useful when you have to unshar a file later in order. By changing it to: export char *save_counter_format = "%02d"; /* format of save counter */ You end up forcing the routine to pad single digit numbers with a 0 and get output like ( 01, 02, ... 09, 10 ...) which is what you want. I doubt that there are many times you would have more than 99 parts so %02d should be enough for most people. There may be a way to change this with some configuration setting in ./nn/init, but, I always wanted this to be the default so I changed it in the source. >-wolfgang >-- >Wolfgang Rupprecht wolfgang@wsrcc.com (or) wsrcc!wolfgang >Snail Mail: 39469 Gallaudet Drive, Fremont, CA 94538-4511 -- Kevin W. Reed TeleSys Development Systems kreed@tnet.com Post Office Box 40866, Mesa AZ 85274 ..!ncar!asuvax!telesys!kreed Voice/Fax +1 602 898 1341 Public *NIX Site and Newsfeed Source Data/UUCP/BBS +1 602 649 9099
Technical Details
Message-ID:
<1992Feb22.042922.3099@telesys.tnet.com>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!cs.utexas.edu!asuvax!telesys!kreedReferences:
<1992Feb21.213247.14335@wsrcc.com>Show Full Headers
Complete Article Headers
Message-ID: <1992Feb22.042922.3099@telesys.tnet.com> Subject: Re: multipart posting > 10 parts Date: Sat, 22 Feb 1992 04:29:22 +0000 From: kreed@telesys.tnet.com (Kevin W. Reed) References: <1992Feb21.213247.14335@wsrcc.com> 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!cs.utexas.edu!asuvax!telesys!kreed Newsgroups: news.software.nn Organization: Posted via TeleSys Development Systems (Mesa, AZ U.S.A.) Lines: 41