diff options
author | vanilla <vanilla@FreeBSD.org> | 2000-09-24 12:37:05 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2000-09-24 12:37:05 +0800 |
commit | 6a09e69dfa00fc364129d4480c2f3b7e488de709 (patch) | |
tree | 0e4fea4b4b197cd4c9a43e2f73f3caf15357fe22 /chinese/tin | |
parent | 4e7d46262f17f5a67ad87c1e1eca9892f57be162 (diff) | |
download | freebsd-ports-gnome-6a09e69dfa00fc364129d4480c2f3b7e488de709.tar.gz freebsd-ports-gnome-6a09e69dfa00fc364129d4480c2f3b7e488de709.tar.zst freebsd-ports-gnome-6a09e69dfa00fc364129d4480c2f3b7e488de709.zip |
Forgot to add patch files :)
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 */ |