diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2000-09-24 04:37:05 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2000-09-24 04:37:05 +0000 |
commit | a8a560495c1573d674f9ed3d76eb4efd1eb652ed (patch) | |
tree | babca689c461efbb6075ad11f1ed97fe94985499 /chinese/tin | |
parent | 3136ece7f52cb965acc1a5c865f1d861dbeb4ec1 (diff) | |
download | ports-a8a560495c1573d674f9ed3d76eb4efd1eb652ed.tar.gz ports-a8a560495c1573d674f9ed3d76eb4efd1eb652ed.zip |
Notes
Diffstat (limited to 'chinese/tin')
-rw-r--r-- | chinese/tin/files/patch-charset.c | 20 | ||||
-rw-r--r-- | chinese/tin/files/patch-cook.c | 11 | ||||
-rw-r--r-- | chinese/tin/files/patch-init.c | 36 |
3 files changed, 67 insertions, 0 deletions
diff --git a/chinese/tin/files/patch-charset.c b/chinese/tin/files/patch-charset.c new file mode 100644 index 000000000000..fc7a8448e9ae --- /dev/null +++ b/chinese/tin/files/patch-charset.c @@ -0,0 +1,20 @@ +--- src/charset.c.orig Mon Jul 24 21:30:22 2000 ++++ src/charset.c Sat Sep 23 14:03:14 2000 +@@ -330,7 +330,7 @@ + unsigned char *c; + + for (c= (unsigned char *)buf; *c; c++) { +- if (!my_isprint(*c)) ++ if (!my_isprint(*c) && *c != 27) + *c = '?'; + } + } +@@ -348,7 +348,7 @@ + unsigned char *c; + + for (c = (unsigned char *)buf; *c; c++) { +- if (!(my_isprint(*c) || *c == 8 || *c == 9 || *c == 10 || *c == 12 || *c == 13)) ++ if (!(my_isprint(*c) || *c == 8 || *c == 9 || *c == 10 || *c == 12 || *c == 13 || *c==27)) + *c = '?'; + } + } diff --git a/chinese/tin/files/patch-cook.c b/chinese/tin/files/patch-cook.c new file mode 100644 index 000000000000..7584b8b4cd65 --- /dev/null +++ b/chinese/tin/files/patch-cook.c @@ -0,0 +1,11 @@ +--- src/cook.c.orig Sat Sep 23 14:34:20 2000 ++++ src/cook.c Sat Sep 23 14:34:41 2000 +@@ -109,7 +109,7 @@ + while (i++ < j) + *q++ = ' '; + +- } else if (((*p) & 0xFF) < ' ' && *p != '\n') { /* Literal ctrl chars */ ++ } else if (((*p) & 0xFF) < ' ' && *p != '\n' && *p != 27) { /* Literal ctrl chars */ + *q++ = '^'; + *q++ = ((*p) & 0xFF) + '@'; + if (*p == '\f') /* ^L detected */ diff --git a/chinese/tin/files/patch-init.c b/chinese/tin/files/patch-init.c new file mode 100644 index 000000000000..9c0e57b253a0 --- /dev/null +++ b/chinese/tin/files/patch-init.c @@ -0,0 +1,36 @@ +--- src/init.c.orig Sat Sep 23 15:52:42 2000 ++++ src/init.c Sat Sep 23 15:55:26 2000 +@@ -270,8 +270,8 @@ + 2, /* recent_time */ + 32, /* groupname_max_length */ + KILL_READ, /* kill_level */ +- MIME_ENCODING_7BIT, /* mail_mime_encoding */ +- MIME_ENCODING_7BIT, /* post_mime_encoding */ ++ MIME_ENCODING_8BIT, /* mail_mime_encoding */ ++ MIME_ENCODING_8BIT, /* post_mime_encoding */ + POST_PROC_NONE, /* post_process */ + REREAD_ACTIVE_FILE_SECS, /* reread_active_file_secs */ + SHOW_FROM_NAME, /* show_author */ +@@ -302,7 +302,7 @@ + 0, /* col_title (initialised later) */ + 2, /* word_h_display_marks */ + TRUE, /* word_highlight */ +- FALSE, /* use_color */ ++ TRUE, /* use_color */ + #endif /* HAVE_COLOR */ + TRUE, /* add_posted_to_filter */ + TRUE, /* advertising */ +@@ -335,11 +335,11 @@ + TRUE, /* keep_dead_articles */ + TRUE, /* keep_posted_articles */ + POSTED_FILE, /* keep_posted_articles_file */ +- FALSE, /* mail_8bit_header */ ++ TRUE, /* mail_8bit_header */ + TRUE, /* mark_saved_read */ + TRUE, /* pgdn_goto_next */ + TRUE, /* pos_first_unread */ +- FALSE, /* post_8bit_header */ ++ TRUE, /* post_8bit_header */ + TRUE, /* post_process_view */ + #ifndef DISABLE_PRINTING + FALSE, /* print_header */ |