Thread View: news.software.nn
3 messages
3 total messages
Started by Wolfgang S. Rupprecht
Fri, 21 Feb 1992 21:32
multipart posting > 10 parts
Author: Wolfgang S. Rupprecht
Date: Fri, 21 Feb 1992 21:32
Date: Fri, 21 Feb 1992 21:32
11 lines
1040 bytes
1040 bytes
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? -wolfgang -- Wolfgang Rupprecht wolfgang@wsrcc.com (or) wsrcc!wolfgang Snail Mail: 39469 Gallaudet Drive, Fremont, CA 94538-4511
Re: multipart posting > 10 parts
Author: 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
Re: multipart posting > 10 parts
Author: Kristian Koehntopp
Date: Mon, 24 Feb 1992 10:01
Date: Mon, 24 Feb 1992 10:01
22 lines
1387 bytes
1387 bytes
In <1992Feb22.042922.3099@telesys.tnet.com> kreed@telesys.tnet.com (Kevin W. Reed) writes: >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. I wanted this to be a default too and I did $ cat /usr/local/lib/nn/init [ ... ] # save-counter # # gibt an, auf welche Weise der Zaehler beim Saven von Artikeln generiert # werden soll. set save-counter %02d which worked well without recompilation because it's in the global init. Kristian -- Kristian Koehntopp, Harmsstrasse 98, FRG 2300 Kiel, +49 431 676689 "Ich bin ein .signature Virus. Mach' mit und kopiere mich in Deine .signature."
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