aboutsummaryrefslogtreecommitdiff
path: root/chinese/pine4/files/patch-bh
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>1998-07-30 12:30:41 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>1998-07-30 12:30:41 +0000
commit0a5e44aa586cc7e9c6297a5cc4eb64fb011d7303 (patch)
treef0af86997e5c0c9e0a31463d35992a31a252faae /chinese/pine4/files/patch-bh
parent537e04f03f4a21ebfce311c43b3155db9a469e63 (diff)
Notes
Diffstat (limited to 'chinese/pine4/files/patch-bh')
-rw-r--r--chinese/pine4/files/patch-bh157
1 files changed, 107 insertions, 50 deletions
diff --git a/chinese/pine4/files/patch-bh b/chinese/pine4/files/patch-bh
index 87f51d4e53dd..b2f4dd7dffa9 100644
--- a/chinese/pine4/files/patch-bh
+++ b/chinese/pine4/files/patch-bh
@@ -1,52 +1,109 @@
---- build.orig Tue Jun 16 01:35:10 1998
-+++ build Wed Jul 15 17:02:29 1998
-@@ -256,11 +256,11 @@
+--- pine/screen.c.orig Fri Jun 5 04:09:17 1998
++++ pine/screen.c Tue Jul 28 08:35:06 1998
+@@ -433,7 +433,7 @@
- if [ -s c-client ] ; then rm -f c-client ; fi
- ln -s imap/c-client c-client
-- if [ -s mtest ] ; then rm -f mtest ; fi
-- ln -s imap/mtest mtest
-- if [ -s imapd ] ; then rm -f imapd ; fi
-- ln -s imap/imapd imapd
-- echo "Making c-client library, mtest and imapd"
-+# if [ -s mtest ] ; then rm -f mtest ; fi
-+# ln -s imap/mtest mtest
-+# if [ -s imapd ] ; then rm -f imapd ; fi
-+# ln -s imap/imapd imapd
-+ echo "Making c-client library"
- eval echo make "$makeargs" "$K1" "$K2" $ccltarg
- cd $PHOME/imap
- eval make "$makeargs" "$K1" "$K2" $ccltarg
-@@ -281,14 +281,16 @@
- cd $PHOME/bin
- rm -f pine mtest imapd pico pilot
- if [ -s ../pine/pine ] ; then ln ../pine/pine pine ; fi
-- if [ -s ../mtest/mtest ] ; then ln ../mtest/mtest mtest ; fi
-- if [ -s ../imapd/imapd ] ; then ln ../imapd/imapd imapd ; fi
-+# if [ -s ../mtest/mtest ] ; then ln ../mtest/mtest mtest ; fi
-+# if [ -s ../imapd/imapd ] ; then ln ../imapd/imapd imapd ; fi
- if [ -s ../pico/pico ] ; then ln ../pico/pico pico ; fi
- if [ -s ../pico/pilot ] ; then ln ../pico/pilot pilot ; fi
-+ if [ -s ../pico/libpico.so.1.3 ] ;
-+ then ln ../pico/libpico.so.1.3 libpico.so.1.3 ; fi
- cd $PHOME
- echo ''
- echo "Links to executables are in bin directory:"
-- size bin/pine bin/mtest bin/imapd bin/pico bin/pilot
-+ size bin/pine bin/pico bin/pilot bin/libpico.so.1.3
- echo "Done"
- ;;
-@@ -299,10 +301,10 @@
- make clean
- echo "Cleaning Pine"
- cd $PHOME/pine
-- make -f makefile.ult clean
-+ make -f makefile.bsf clean
- echo "Cleaning pico"
- cd $PHOME/pico
-- make $makeargs -f makefile.ult clean
-+ make $makeargs -f makefile.bsf clean
- echo "Done"
- cd $PHOME
- ;;
+ static struct key cancel_keys[] =
+- {{NULL,NULL,KS_NONE}, {"^C","Cancel",KS_NONE},
++ {{NULL,NULL,KS_NONE}, {"^C","取消",KS_NONE},
+ {NULL,NULL,KS_NONE}, {NULL,NULL,KS_NONE},
+ {NULL,NULL,KS_NONE}, {NULL,NULL,KS_NONE},
+ {NULL,NULL,KS_NONE}, {NULL,NULL,KS_NONE},
+@@ -1124,10 +1124,10 @@
+ as.page_column = -1;
+ is_context = strlen(as.context_name);
+ sprintf(version, "PINE %s", pine_version);
+- ss_string = as.stream_status == Closed ? "(CLOSED)" :
++ ss_string = as.stream_status == Closed ? "(已關閉)" :
+ (as.stream_status == ReadOnly
+ && !IS_NEWS(as.stream))
+- ? "(READONLY)" : "";
++ ? "(唯讀)" : "";
+ ss_len = strlen(ss_string);
+
+ tit_len = strlen(as.title); /* fixed title field width */
+@@ -1144,17 +1144,17 @@
+ /*
+ * set location field's length and value based on requested style
+ */
+- loc_label = (is_context) ? "Msg" : "Message";
++ loc_label = (is_context) ? "信" : "信件";
+ loc_len = strlen(loc_label);
+ if(!mn_get_total(as.msgmap)){
+- sprintf(tmp_20k_buf, "No %ss", loc_label);
++ sprintf(tmp_20k_buf, "沒有%s", loc_label);
+ loc_len += 4;
+ }else{
+ switch(as.style){
+ case FolderName : /* "x,xxx <loc_label>s" */
+ loc_len += digit_count(mn_get_total(as.msgmap)) + 3;
+- sprintf(tmp_20k_buf, "%s %s%s", comatose(mn_get_total(as.msgmap)),
+- loc_label, plural(mn_get_total(as.msgmap)));
++ sprintf(tmp_20k_buf, "%s 封%s", comatose(mn_get_total(as.msgmap)),
++ loc_label);
+ break;
+ case MessageNumber : /* "<loc_label> xxx of xxx DEL" */
+ num_len = digit_count(mn_get_total(as.msgmap));
+@@ -1162,7 +1162,7 @@
+ as.cur_mess_col = sc - (2 * num_len) - 10;
+ as.del_column = as.cur_mess_col + num_len
+ + digit_count(as.current_msg) + 5;
+- sprintf(tmp_20k_buf, "%s %s of %s %s", loc_label,
++ sprintf(tmp_20k_buf, "%s %s 之 %s %s", loc_label,
+ strcpy(tmp_20k_buf + 1000, comatose(as.current_msg)),
+ strcpy(tmp_20k_buf + 1500, comatose(mn_get_total(as.msgmap))),
+ BAR_STATUS(as.msg_state));
+@@ -1174,7 +1174,7 @@
+ as.percent_column = as.cur_mess_col + num_len
+ + digit_count(as.current_msg) + 7;
+ as.del_column = as.percent_column + 4;
+- sprintf(tmp_20k_buf, "%s %s of %s %s %s", loc_label,
++ sprintf(tmp_20k_buf, "%s %s 之 %s %s %s", loc_label,
+ strcpy(tmp_20k_buf + 1000, comatose(as.current_msg)),
+ strcpy(tmp_20k_buf + 1500, comatose(mn_get_total(as.msgmap))),
+ percentage(as.current_line, as.total_lines, 1),
+@@ -1185,7 +1185,7 @@
+ case FileTextPercent :
+ as.page_column = sc - (14 + 2*(num_len = digit_count(as.total_lines)));
+ loc_len = 17 + 2*num_len;
+- sprintf(tmp_20k_buf, "Line %*ld of %*ld %s ",
++ sprintf(tmp_20k_buf, "行 %*ld 之 %*ld %s ",
+ num_len, as.current_line,
+ num_len, as.total_lines,
+ percentage(as.current_line, as.total_lines, 1));
+@@ -1259,7 +1259,7 @@
+ ss_string);
+ }
+ else{
+- char *fmt = "Folder: %s%s";
++ char *fmt = "信件匣:%s%s";
+ if(fold_len + ss_len + 8 < avail) /* all of folder fit? */
+ sprintf(fold_tmp, fmt, as.folder_name, ss_string);
+ else if((fold_len/2) + ss_len + 8 < avail)
+@@ -1307,7 +1307,7 @@
+ as.current_msg = mn_get_cur(as.msgmap);
+
+ if(as.style == MsgTextPercent){
+- PutLine5(0, as.cur_mess_col, "%s of %s %s %s%s",
++ PutLine5(0, as.cur_mess_col, "%s 之 %s %s %s%s",
+ strcpy(tmp_20k_buf + 1000, comatose(as.current_msg)),
+ strcpy(tmp_20k_buf + 1500,
+ comatose(mn_get_total(as.msgmap))),
+@@ -1317,7 +1317,7 @@
+ as.del_column += delta;
+ as.percent_column += delta;
+ } else {
+- PutLine4(0, as.cur_mess_col, "%s of %s %s%s",
++ PutLine4(0, as.cur_mess_col, "%s 之 %s %s%s",
+ strcpy(tmp_20k_buf + 1000, comatose(as.current_msg)),
+ strcpy(tmp_20k_buf + 1500,
+ comatose(mn_get_total(as.msgmap))),
+@@ -1420,7 +1420,7 @@
+
+ as.current_line = new_line_number;
+
+- sprintf(tmp_20k_buf, "%*ld of %*ld %s ",
++ sprintf(tmp_20k_buf, "%*ld 之 %*ld %s ",
+ digit_count(as.total_lines), as.current_line,
+ digit_count(as.total_lines), as.total_lines,
+ percentage(as.current_line, as.total_lines, 0));