diff -c -r -N tin-1.3beta-950824/include/isprint.h tin-1.3beta-950824-h1/include/isprint.h *** tin-1.3beta-950824/include/isprint.h Wed Dec 31 19:00:00 1969 --- tin-1.3beta-950824-h1/include/isprint.h Mon May 27 15:55:58 1996 *************** *** 0 **** --- 1,4 ---- + /* #define ISPRINT(c) ( isprint(c) || ( unsigned char (c) > '\xa0' && \ + (unsigned char) (c) < '\xff' ) ) */ + #define ISPRINT(c) ( isprint(c) || ( (char) (c) > '\xa0' && \ + (char) (c) < '\xff' ) ) diff -c -r -N tin-1.3beta-950824/include/patchlev.h tin-1.3beta-950824-h1/include/patchlev.h *** tin-1.3beta-950824/include/patchlev.h Wed Aug 23 05:22:20 1995 --- tin-1.3beta-950824-h1/include/patchlev.h Mon May 27 17:37:46 1996 *************** *** 12,18 **** * right notice, and it must be included in any copy made */ ! #define VERSION "1.3 950824BETA" /* Beta versions are "1.n Beta" */ #define PATCHLEVEL "0" #ifdef M_AMIGA --- 12,18 ---- * right notice, and it must be included in any copy made */ ! #define VERSION "1.3 950824BETA-h1" /* Beta versions are "1.n Beta" */ #define PATCHLEVEL "0" #ifdef M_AMIGA diff -c -r -N tin-1.3beta-950824/include/tin.h tin-1.3beta-950824-h1/include/tin.h *** tin-1.3beta-950824/include/tin.h Wed Aug 23 05:20:33 1995 --- tin-1.3beta-950824-h1/include/tin.h Mon May 27 16:10:04 1996 *************** *** 351,357 **** # endif # ifdef linux # define DEFAULT_MAILBOX "/usr/spool/mail" ! # define DEFAULT_MAILER "/usr/bin/smail" # define DEFAULT_PRINTER "/usr/bin/lpr" # endif # ifdef M_AMIGA --- 351,357 ---- # endif # ifdef linux # define DEFAULT_MAILBOX "/usr/spool/mail" ! # define DEFAULT_MAILER "/usr/lib/sendmail" # define DEFAULT_PRINTER "/usr/bin/lpr" # endif # ifdef M_AMIGA diff -c -r -N tin-1.3beta-950824/src/Makefile tin-1.3beta-950824-h1/src/Makefile *** tin-1.3beta-950824/src/Makefile Wed Aug 23 01:51:56 1995 --- tin-1.3beta-950824-h1/src/Makefile Mon May 27 18:53:24 1996 *************** *** 7,13 **** DEBUG = # -DDEBUG -DDEBUG_NEWSRC -DPROFILE DEBUG = #-g -DDEBUG # -Wstrict-prototypes -Wnested-externs -Wmissing-prototypes -Wredundant-decls ! COPTS = -c -DHAVE_PGP -DHAVE_COREDUMP -g -I$(INCDIR) $(DEBUG) -DNNTP_ONLY # -DHAVE_MAIL_HANDLING #COPTS = -I$(INCDIR) $(DEBUG) -c -Wall -Wconversion -Wstrict-prototypes -Wmissing-prototypes -DHAVE_MAIL_HANDLING LD = $(CC) #LD = cc --- 7,13 ---- DEBUG = # -DDEBUG -DDEBUG_NEWSRC -DPROFILE DEBUG = #-g -DDEBUG # -Wstrict-prototypes -Wnested-externs -Wmissing-prototypes -Wredundant-decls ! COPTS = -c -DHAVE_PGP -DHAVE_COREDUMP -g -I$(INCDIR) $(DEBUG) -DNNTP_ONLY # -DHAVE_MAIL_HANDLING #COPTS = -I$(INCDIR) $(DEBUG) -c -Wall -Wconversion -Wstrict-prototypes -Wmissing-prototypes -DHAVE_MAIL_HANDLING LD = $(CC) #LD = cc *************** *** 16,23 **** # From: address in posted articles (don't use both - read the INSTALL file) # Put the gateway name (ie. news.foo.com) / domain name (ie. .foo.com) here ! INEWS_MAIL_GATEWAY=/etc/inews_mail_gateway ! INEWS_MAIL_DOMAIN= #.scn.de #.subdomain.domain --- 16,23 ---- # From: address in posted articles (don't use both - read the INSTALL file) # Put the gateway name (ie. news.foo.com) / domain name (ie. .foo.com) here ! #INEWS_MAIL_GATEWAY=/etc/inews_mail_gateway ! #INEWS_MAIL_DOMAIN= #.scn.de #.subdomain.domain diff -c -r -N tin-1.3beta-950824/src/getline.c tin-1.3beta-950824-h1/src/getline.c *** tin-1.3beta-950824/src/getline.c Fri Nov 18 13:20:38 1994 --- tin-1.3beta-950824-h1/src/getline.c Mon May 27 15:56:31 1996 *************** *** 16,21 **** --- 16,22 ---- */ #include "tin.h" + #include "isprint.h" #define BUF_SIZE 1024 #define SCROLL 30 *************** *** 106,112 **** } while ((c = ReadCh ()) != EOF) { c &= 0xff; ! if (isprint (c)) { if (number_only) { if (isdigit (c) && gl_cnt < 6) { /* num < 100000 */ gl_addchar (c); --- 107,113 ---- } while ((c = ReadCh ()) != EOF) { c &= 0xff; ! if (ISPRINT (c)) { if (number_only) { if (isdigit (c) && gl_cnt < 6) { /* num < 100000 */ gl_addchar (c); diff -c -r -N tin-1.3beta-950824/src/group.c tin-1.3beta-950824-h1/src/group.c *** tin-1.3beta-950824/src/group.c Wed Jun 21 13:05:59 1995 --- tin-1.3beta-950824-h1/src/group.c Mon May 27 15:59:58 1996 *************** *** 13,18 **** --- 13,19 ---- */ #include "tin.h" + #include "isprint.h" #define MARK_OFFSET 8 *************** *** 1595,1601 **** /* protect display from non-displayable characters (e.g., form-feed) */ for (n = 0; buffer[n] != '\0'; n++) ! if (!isprint(buffer[n])) buffer[n] = '?'; #endif /* INDEX_DAEMON */ --- 1596,1602 ---- /* protect display from non-displayable characters (e.g., form-feed) */ for (n = 0; buffer[n] != '\0'; n++) ! if (!ISPRINT(buffer[n])) buffer[n] = '?'; #endif /* INDEX_DAEMON */ diff -c -r -N tin-1.3beta-950824/src/post.c tin-1.3beta-950824-h1/src/post.c *** tin-1.3beta-950824/src/post.c Tue Aug 22 06:25:00 1995 --- tin-1.3beta-950824-h1/src/post.c Mon May 27 18:41:46 1996 *************** *** 891,900 **** msg_add_header ("Keywords", ""); start_line_offset = msg_write_headers (fp); ! start_line_offset++; msg_free_headers (); lines = msg_add_x_body (fp, psGrp->attribute->x_body); ! start_line_offset += lines; msg_write_signature (fp, FALSE); fclose (fp); --- 891,901 ---- msg_add_header ("Keywords", ""); start_line_offset = msg_write_headers (fp); ! start_line_offset++; msg_free_headers (); lines = msg_add_x_body (fp, psGrp->attribute->x_body); ! start_line_offset += lines; ! fputc('\n',fp); /* sjs */ msg_write_signature (fp, FALSE); fclose (fp); *************** *** 1123,1128 **** --- 1124,1132 ---- fseek (note_fp, note_mark[0], 0); copy_fp (note_fp, fp, quote_chars); } + else { /* sjs */ + fputc('\n',fp); + } msg_write_signature (fp, FALSE); fclose (fp); *************** *** 1419,1424 **** --- 1423,1429 ---- start_line_offset = msg_write_headers (fp); start_line_offset++; msg_free_headers (); + fputc('\n', fp); /* sjs */ #ifdef HAVE_UNAME if ((fp_uname = (FILE *) popen ("uname -a", "r")) != NULL) { *************** *** 1598,1613 **** } start_line_offset = msg_write_headers (fp); ! start_line_offset += 2; msg_free_headers (); if (copy_text) { if (strfquote (group, respnum, buf, sizeof (buf), mail_quote_format)) { fprintf (fp, "%s\n", buf); } fseek (note_fp, note_mark[0], 0); copy_fp (note_fp, fp, quote_chars); } msg_write_signature (fp, TRUE); #ifdef WIN32 --- 1603,1624 ---- } start_line_offset = msg_write_headers (fp); ! start_line_offset ++; /* sjs */ ! /* start_line_offset += 2; */ msg_free_headers (); if (copy_text) { if (strfquote (group, respnum, buf, sizeof (buf), mail_quote_format)) { fprintf (fp, "%s\n", buf); + start_line_offset ++; /* sjs */ } fseek (note_fp, note_mark[0], 0); copy_fp (note_fp, fp, quote_chars); } + else { /* sjs */ + fputc('\n',fp); + } + msg_write_signature (fp, TRUE); #ifdef WIN32