Thread View: news.software.nn
6 messages
6 total messages
Started by Michael T Pins
Wed, 04 Jul 2001 06:24
nn-6.6.beta2 now available
Author: Michael T Pins
Date: Wed, 04 Jul 2001 06:24
Date: Wed, 04 Jul 2001 06:24
25 lines
1946 bytes
1946 bytes
Yes, I know, nn-6.6.0 should be out by now.... I'm releasing a second beta for a few reasons: I've fixed a number of things, and I'd like people to test the new version to see if there are any other bugs still lurking. The documentation, while much improved, is still not quite finished. I still have finished adding back in a few error checking routines. So, feel free to download the second beta. Assuming nothing major blows up, I'll be releasing the actual nn-6.6.0 on July 10th. Some of the new fixes: the date parser now translates years of the form 10x into 200x (yes, I'm still seeing these occasionally). screen formatting should now work on linux again (at least until they change it again for no reason). aliased groups apparently haven't ever worked with NOV/no-NNTP. fixed. -- ************************************************************************** * Michael T Pins | mtpins@nndev.org * * keeper of the nn sources | mtpins@visi.com * * ftp://ftp.nndev.org/pub | #include <std.disclaimer> *
Re: nn-6.6.beta2 now available
Author: Bernd Felsche
Date: Sat, 07 Jul 2001 02:59
Date: Sat, 07 Jul 2001 02:59
35 lines
2420 bytes
2420 bytes
Michael T Pins <mtpins@nndev.org> writes: >Yes, I know, nn-6.6.0 should be out by now.... >I'm releasing a second beta for a few reasons: >I've fixed a number of things, and I'd like people to test the new >version to see if there are any other bugs still lurking. >The documentation, while much improved, is still not quite finished. >I still have finished adding back in a few error checking routines. >So, feel free to download the second beta. Assuming nothing major blows >up, I'll be releasing the actual nn-6.6.0 on July 10th. >Some of the new fixes: >the date parser now translates years of the form 10x into 200x (yes, I'm >still seeing these occasionally). >screen formatting should now work on linux again (at least until they >change it again for no reason). >aliased groups apparently haven't ever worked with NOV/no-NNTP. fixed. Seems to build and function OK under SuSE-linux 7.1 when using just leafnode and NNTP to localhost. The previous beta didn't even build without *excessive* modifications. I'll be glad to get rid of the 6.5.4 installed (the SuSE-provided one is broken out of the box) which uses mininews (broken out of the box in conjunction with nn - so I had to hack and build one). -- /"\ Bernd Felsche - Innovative Reckoning, Perth, Western Australia \ / ASCII ribbon campaign | I'm a .signature virus! | X against HTML mail | Copy me into your ~/.signature| / \ and postings | to help me spread! |
Re: nn-6.6.beta2 now available
Author: J. Porter Clark
Date: Wed, 11 Jul 2001 00:23
Date: Wed, 11 Jul 2001 00:23
248 lines
8566 bytes
8566 bytes
As promised long ago, here are some diffs to nn-6.6.beta2 to add the
wonderful save-header-only function, which I have mapped to "T" so as
to infuriate the entire world, which has probably already mapped it to
some other function. It tends to save one too many newlines after each
header depending on various variables; I will fix this someday until
someone else beats me to it.
These diffs also fix a longstanding problem with uudecode file modes.
Also, I changed the "biggest possible article number" constant to a
really huge long integer. I actually found this necessary on one
server.
I'm still not totally sure about the open_mode table. I changed it to
what gives me the best results.
diff -c -r nn-6.6.beta2/decode.c nn-6.6.beta2-jpc/decode.c
*** nn-6.6.beta2/decode.c Mon Apr 9 22:56:46 2001
--- nn-6.6.beta2-jpc/decode.c Tue Jul 10 18:34:50 2001
***************
*** 423,429 ****
goto err;
}
} else {
! if(sscanf(line,"begin%d%s", &mode, arcname) != 2)
continue;
if (target != NULL)
--- 423,429 ----
goto err;
}
} else {
! if(sscanf(line,"begin%o%s", &mode, arcname) != 2)
continue;
if (target != NULL)
diff -c -r nn-6.6.beta2/keymap.c nn-6.6.beta2-jpc/keymap.c
*** nn-6.6.beta2/keymap.c Tue Jun 23 12:18:31 1998
--- nn-6.6.beta2-jpc/keymap.c Tue Jul 10 18:36:35 2001
***************
*** 172,178 ****
/* Q */ K_QUIT,
/* R */ K_REPLY,
/* S */ K_SAVE_FULL_HEADER,
! /* T */ K_UNBOUND,
/* U */ K_UNSUBSCRIBE,
/* V */ K_VERSION,
/* W */ K_SAVE_NO_HEADER,
--- 172,178 ----
/* Q */ K_QUIT,
/* R */ K_REPLY,
/* S */ K_SAVE_FULL_HEADER,
! /* T */ K_SAVE_HEADER_ONLY,
/* U */ K_UNSUBSCRIBE,
/* V */ K_VERSION,
/* W */ K_SAVE_NO_HEADER,
***************
*** 380,386 ****
/* Q */ K_QUIT,
/* R */ K_REPLY,
/* S */ K_SAVE_FULL_HEADER,
! /* T */ K_UNBOUND,
/* U */ K_UNSUBSCRIBE,
/* V */ K_VERSION,
/* W */ K_SAVE_NO_HEADER,
--- 380,386 ----
/* Q */ K_QUIT,
/* R */ K_REPLY,
/* S */ K_SAVE_FULL_HEADER,
! /* T */ K_SAVE_HEADER_ONLY,
/* U */ K_UNSUBSCRIBE,
/* V */ K_VERSION,
/* W */ K_SAVE_NO_HEADER,
***************
*** 538,543 ****
--- 538,544 ----
"save-body", K_SAVE_NO_HEADER, 0,
"save-full", K_SAVE_FULL_HEADER, 0,
+ "save-hdr-only", K_SAVE_HEADER_ONLY, 0,
"save-short", K_SAVE_SHORT_HEADER, 0,
"select", K_SELECT, K_ONLY_MENU,
"select-auto", K_AUTO_SELECT, K_ONLY_MENU,
diff -c -r nn-6.6.beta2/keymap.h nn-6.6.beta2-jpc/keymap.h
*** nn-6.6.beta2/keymap.h Sat Apr 29 00:34:49 1995
--- nn-6.6.beta2-jpc/keymap.h Tue Jul 10 18:37:23 2001
***************
*** 104,109 ****
--- 104,110 ----
#define K_OPEN_SUBJECT 0x0050 /* open subject on menu */
#define K_CLOSE_SUBJECT 0x0051 /* close subject on menu */
+ #define K_SAVE_HEADER_ONLY 0x0052 /* save header only */
#define K_M_TOGGLE 0x0060 /* page with mouse */
#define K_M_CONTINUE 0x0061 /* page with mouse */
diff -c -r nn-6.6.beta2/menu.c nn-6.6.beta2-jpc/menu.c
*** nn-6.6.beta2/menu.c Tue Jul 3 23:49:20 2001
--- nn-6.6.beta2-jpc/menu.c Tue Jul 10 18:38:41 2001
***************
*** 1418,1423 ****
--- 1418,1424 ----
case K_SAVE_NO_HEADER:
case K_SAVE_SHORT_HEADER:
case K_SAVE_FULL_HEADER:
+ case K_SAVE_HEADER_ONLY:
case K_PRINT:
case K_UNSHAR:
case K_PATCH:
diff -c -r nn-6.6.beta2/more.c nn-6.6.beta2-jpc/more.c
*** nn-6.6.beta2/more.c Mon Jul 2 00:21:34 2001
--- nn-6.6.beta2-jpc/more.c Tue Jul 10 18:39:09 2001
***************
*** 1185,1190 ****
--- 1185,1191 ----
case K_SAVE_NO_HEADER:
case K_SAVE_SHORT_HEADER:
case K_SAVE_FULL_HEADER:
+ case K_SAVE_HEADER_ONLY:
case K_PRINT:
case K_UNSHAR:
case K_PATCH:
diff -c -r nn-6.6.beta2/newsrc.c nn-6.6.beta2-jpc/newsrc.c
*** nn-6.6.beta2/newsrc.c Wed Jun 27 14:18:31 2001
--- nn-6.6.beta2-jpc/newsrc.c Tue Jul 10 18:39:35 2001
***************
*** 103,109 ****
#define SEL_END_DIGEST ')' /* end digest list */
#define SEL_NEW '&' /* new group (group.name&nnn) */
! #define END_OF_LIST 10000000L /* Greater than any article number */
/* line buffers */
--- 103,109 ----
#define SEL_END_DIGEST ')' /* end digest list */
#define SEL_NEW '&' /* new group (group.name&nnn) */
! #define END_OF_LIST 0x7fffffffL /* Greater than any article number */
/* line buffers */
diff -c -r nn-6.6.beta2/save.c nn-6.6.beta2-jpc/save.c
*** nn-6.6.beta2/save.c Sat Apr 29 00:35:11 1995
--- nn-6.6.beta2-jpc/save.c Tue Jul 10 18:44:27 2001
***************
*** 68,73 ****
--- 68,74 ----
#define SHORT_HEADER 1 /* save with partial header */
#define FULL_HEADER 2 /* save with full header */
#define SHORT_HEADER_DG 3 /* save with partial header (digest) */
+ #define HEADER_ONLY 4 /* save with *only* the header */
export int print_header_type = SHORT_HEADER;
***************
*** 85,92 ****
static int open_mode[] = {
SKIP_HEADER,
FILL_NEWS_HEADER | SKIP_HEADER | GET_ALL_FIELDS,
! 0,
! FILL_NEWS_HEADER | FILL_DIGEST_HEADER | SKIP_HEADER | GET_ALL_FIELDS
};
static FILE *save_file; /* output stream for saved files */
--- 86,94 ----
static int open_mode[] = {
SKIP_HEADER,
FILL_NEWS_HEADER | SKIP_HEADER | GET_ALL_FIELDS,
! FILL_NEWS_HEADER,
! FILL_NEWS_HEADER | FILL_DIGEST_HEADER | SKIP_HEADER | GET_ALL_FIELDS,
! FILL_NEWS_HEADER,
};
static FILE *save_file; /* output stream for saved files */
***************
*** 201,206 ****
--- 203,213 ----
mode_text = "Output";
goto cont_save;
+ case K_SAVE_HEADER_ONLY:
+ save_mode = HEADER_ONLY;
+ mode_text = "Header_save";
+ goto cont_save;
+
case K_SAVE_NO_HEADER:
save_mode = NO_HEADER;
mode_text = "Write";
***************
*** 530,536 ****
if (with_header)
mailbox_format(save_file, 1);
! if (mode == FULL_HEADER) {
off_t cnt = ah->fpos - ah->hpos;
while (--cnt >= 0) {
if ((c = getc(art)) == EOF) break;
--- 537,543 ----
if (with_header)
mailbox_format(save_file, 1);
! if (mode == FULL_HEADER || mode == HEADER_ONLY) {
off_t cnt = ah->fpos - ah->hpos;
while (--cnt >= 0) {
if ((c = getc(art)) == EOF) break;
***************
*** 550,563 ****
fflush(save_file);
if (s_pipe) goto broken_pipe;
! lcount = 0;
! while (ftell(art) < ah->lpos && fgets(copybuf, 512, art)) {
! lcount++;
! if (rot13_active) rot13_line(copybuf);
! if (saved_header_escape && with_header && is_header_line(copybuf))
! fputs(saved_header_escape, save_file);
! fputs(copybuf, save_file);
! if (s_pipe) goto broken_pipe;
}
if (with_header)
--- 557,572 ----
fflush(save_file);
if (s_pipe) goto broken_pipe;
! if (mode != HEADER_ONLY) {
! lcount = 0;
! while (ftell(art) < ah->lpos && fgets(copybuf, 512, art)) {
! lcount++;
! if (rot13_active) rot13_line(copybuf);
! if (saved_header_escape && with_header && is_header_line(copybuf))
! fputs(saved_header_escape, save_file);
! fputs(copybuf, save_file);
! if (s_pipe) goto broken_pipe;
! }
}
if (with_header)
Re: nn-6.6.beta2 now available
Author: Bernd Felsche
Date: Wed, 11 Jul 2001 02:03
Date: Wed, 11 Jul 2001 02:03
10 lines
1265 bytes
1265 bytes
One minor problem with the beta... it drops postings if the NNTP connection has timed out. Very ugly. This could get you lynched! :-) Sorry I can't say any more... have to refresh the NNTP connection. -- /"\ Bernd Felsche - Innovative Reckoning, Perth, Western Australia \ / ASCII ribbon campaign | I'm a .signature virus! | X against HTML mail | Copy me into your ~/.signature| / \ and postings | to help me spread! |
Re: nn-6.6.beta2 now available
Author: Michael T Pins
Date: Thu, 12 Jul 2001 05:47
Date: Thu, 12 Jul 2001 05:47
20 lines
1755 bytes
1755 bytes
Bernd Felsche <bernie@innovative.iinet.net.au> writes: >One minor problem with the beta... it drops postings if the NNTP >connection has timed out. Very ugly. This could get you lynched! :-) >Sorry I can't say any more... have to refresh the NNTP connection. Hmm, I'll have to test this as I haven't noticed it. If it's happening, I need to fix it. I suspect it's not doing a reconnect on postings as it should. *grumble* This was supposed to be released this week.... -- ************************************************************************** * Michael T Pins | mtpins@nndev.org * * keeper of the nn sources | mtpins@visi.com * * ftp://ftp.nndev.org/pub | #include <std.disclaimer> *
Re: nn-6.6.beta2 now available
Author: Bernd Felsche
Date: Fri, 13 Jul 2001 03:12
Date: Fri, 13 Jul 2001 03:12
31 lines
2119 bytes
2119 bytes
Michael T Pins <mtpins@nndev.org> writes: >Bernd Felsche <bernie@innovative.iinet.net.au> writes: >>One minor problem with the beta... it drops postings if the NNTP >>connection has timed out. Very ugly. This could get you lynched! :-) >>Sorry I can't say any more... have to refresh the NNTP connection. >Hmm, I'll have to test this as I haven't noticed it. Your followups are too short or you don't spend enough time thinking about them. Remember to write slowly so that all the readers can keep up. :-) Sometimes it takes me over 2 hours to compose a followup. So having the article dropped at that stage is especially annoying. Fortunately, I've set nn to retained a copy, which works fine. >If it's happening, I need to fix it. I suspect it's not doing a >reconnect on postings as it should. >*grumble* >This was supposed to be released this week.... Better not let it escape before it's fixed. -- /"\ Bernd Felsche - Innovative Reckoning, Perth, Western Australia \ / ASCII ribbon campaign | I'm a .signature virus! | X against HTML mail | Copy me into your ~/.signature| / \ and postings | to help me spread! |
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