aboutsummaryrefslogtreecommitdiff
path: root/chinese/pine4/files/patch-bd
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/pine4/files/patch-bd')
-rw-r--r--chinese/pine4/files/patch-bd147
1 files changed, 81 insertions, 66 deletions
diff --git a/chinese/pine4/files/patch-bd b/chinese/pine4/files/patch-bd
index 42ad8eb016ec..08e112efd180 100644
--- a/chinese/pine4/files/patch-bd
+++ b/chinese/pine4/files/patch-bd
@@ -1,6 +1,6 @@
---- pine/mailview.c.orig Wed Aug 19 10:37:26 1998
-+++ pine/mailview.c Wed Aug 19 10:45:24 1998
-@@ -140,8 +140,8 @@
+--- pine/mailview.c.orig Thu Sep 17 05:56:10 1998
++++ pine/mailview.c Tue Sep 22 19:30:34 1998
+@@ -145,8 +145,8 @@
static struct key view_keys[] =
{HELP_MENU,
OTHER_MENU,
@@ -11,7 +11,7 @@
PREVMSG_MENU,
NEXTMSG_MENU,
PREVPAGE_MENU,
-@@ -166,11 +166,11 @@
+@@ -171,11 +171,11 @@
HELP_MENU,
OTHER_MENU,
@@ -27,7 +27,7 @@
JUMP_MENU,
TAB_MENU,
HDRMODE_MENU,
-@@ -187,7 +187,7 @@
+@@ -192,7 +192,7 @@
#define FLAG_KEY 34
#define VIEW_PIPE_KEY 35
@@ -36,7 +36,7 @@
{HELP_MENU,
WHEREIS_MENU,
QUIT_MENU,
-@@ -211,7 +211,7 @@
+@@ -216,7 +216,7 @@
NEXTMSG_MENU,
PREVPAGE_MENU,
NEXTPAGE_MENU,
@@ -45,16 +45,16 @@
JUMP_MENU,
PRYNTTXT_MENU,
SAVE_MENU,
-@@ -233,7 +233,7 @@
+@@ -238,7 +238,7 @@
static struct key simple_text_keys[] =
{HELP_MENU,
NULL_MENU,
-- {"E","Exit Viewer",{MC_EXIT,1,{'e'}},KS_NONE},
-+ {"E","離開",{MC_EXIT,1,{'e'}},KS_NONE},
+- {"E","Exit Viewer",{MC_EXIT,1,{'e'}},KS_EXITMODE},
++ {"E","離開",{MC_EXIT,1,{'e'}},KS_EXITMODE},
NULL_MENU,
NULL_MENU,
NULL_MENU,
-@@ -242,7 +242,7 @@
+@@ -247,7 +247,7 @@
PRYNTTXT_MENU,
WHEREIS_MENU,
FWDEMAIL_MENU,
@@ -63,7 +63,7 @@
INST_KEY_MENU(simple_text_keymenu, simple_text_keys);
-@@ -377,7 +377,7 @@
+@@ -388,7 +388,7 @@
* we were viewing. If so, make sure we don't just come back.
*/
if(mn_get_total(ps->msgmap) <= 0L || !ps->mail_stream){
@@ -72,7 +72,7 @@
ps->next_screen = mail_index_screen;
break;
}
-@@ -391,7 +391,7 @@
+@@ -402,7 +402,7 @@
body = NULL;
if(!(env = mail_fetchstructure(ps->mail_stream, raw_msgno, &body))
|| !(mc = mail_elt(ps->mail_stream, raw_msgno))){
@@ -81,7 +81,7 @@
comatose(mn_get_cur(ps->msgmap)));
dprint(1, (debugfile, "!!!! ERROR fetching %s of msg %ld\n",
env ? "elt" : "env", mn_get_cur(ps->msgmap)));
-@@ -444,7 +444,7 @@
+@@ -457,7 +457,7 @@
memset(&scrollargs, 0, sizeof(SCROLL_S));
scrollargs.text.text = so_text(store);
scrollargs.text.src = src;
@@ -90,7 +90,7 @@
/*
* make first selectable handle the default
-@@ -463,11 +463,11 @@
+@@ -477,11 +477,11 @@
else
scrollargs.body_valid = 1;
@@ -104,7 +104,7 @@
scrollargs.keys.menu = &view_keymenu;
scrollargs.keys.what = save_what;
setbitmap(scrollargs.keys.bitmap);
-@@ -1196,7 +1196,7 @@
+@@ -1214,7 +1214,7 @@
/*---- format and copy envelope ----*/
if(ps_global->full_header)
q_status_message(SM_INFO, 0, 3,
@@ -113,7 +113,7 @@
HD_INIT(&h, ps_global->VAR_VIEW_HEADERS, ps_global->view_all_except,
FE_DEFAULT);
-@@ -1235,7 +1235,7 @@
+@@ -1253,7 +1253,7 @@
if(append_file_name)
fs_give((void **)&append_file_name);
@@ -122,7 +122,7 @@
error_description(errno));
return(0);
}
-@@ -1529,7 +1529,7 @@
+@@ -1547,7 +1547,7 @@
write_error:
if(!(flgs & FM_DISPLAY))
@@ -131,7 +131,7 @@
decode_err ? decode_err : error_description(errno));
return(0);
-@@ -1865,8 +1865,8 @@
+@@ -1885,12 +1885,12 @@
char prompt[256], tmp[MAILTMPLEN];
int rc, flags, local_h;
static ESCKEY_S launch_opts[] = {
@@ -141,17 +141,23 @@
+ {'n', 'n', "N", "否"},
{-2, 0, NULL, NULL},
{-2, 0, NULL, NULL},
- {0, 'u', "U", "editURL"},
-@@ -1887,7 +1887,7 @@
- else{
- launch_opts[5].ch = -1;
- if(!local_h){
-- if(want_to("No Web-Browser application defined! Define now",
-+ if(want_to("尚未定義 Web-Browser!現在定義",
+- {0, 'u', "U", "editURL"},
+- {0, 'a', "A", "editApp"},
++ {0, 'u', "U", "編輯 URL"},
++ {0, 'a', "A", "編輯應用程式"},
+ {-1, 0, NULL, NULL}};
+
+ if(handle->type == URL){
+@@ -1920,7 +1920,7 @@
+ return(0);
+ }
+ else{
+- if(want_to("No URL-Viewer application defined! Define now",
++ if(want_to("尚未定義 URL 檢視程式!現在定義",
'y', 0, NO_HELP, WT_SEQ_SENSITIVE) == 'y'){
/* Prompt for the displayer? */
tmp[0] = '\0';
-@@ -1931,7 +1931,7 @@
+@@ -1964,7 +1964,7 @@
}
else{
q_status_message1(SM_ORDER | SM_DING, 2, 2,
@@ -160,7 +166,7 @@
error_description(errno));
continue;
}
-@@ -1960,8 +1960,8 @@
+@@ -1994,8 +1994,8 @@
return(1);
while(1){
@@ -171,30 +177,39 @@
(handle->type == URL) ? "\"" : "",
(handle->type == URL) ? handle->h.url.path : "",
(handle->type == URL)
-@@ -2426,11 +2426,11 @@
+@@ -2606,11 +2606,11 @@
mode = PIPE_RESET | PIPE_USER ;
if(syspipe = open_system_pipe(cmd, NULL, NULL, mode)){
close_system_pipe(&syspipe);
- q_status_message(SM_ORDER, 0, 4, "VIEWER command completed");
-+ q_status_message(SM_ORDER, 0, 4, "VIEWER 命令完成");
++ q_status_message(SM_ORDER, 0, 4, "檢視器命令完成");
}
else
q_status_message1(SM_ORDER, 3, 4,
-- "Cannot spawn command : %s", cmd);
-+ "無法起始命令:%s", cmd);
+- "Cannot spawn command : %s", cmd);
++ "無法起始命令:%s", cmd);
}
else if(f = url_local_handler(handle->h.url.path)){
if((*f)(handle->h.url.path) > 1)
-@@ -2438,7 +2438,7 @@
+@@ -2618,7 +2618,7 @@
}
else
q_status_message1(SM_ORDER, 2, 2,
-- "\"Web-Browser\" not defined: Can't open %s",
-+ "尚未定義 \"Web-Browser\":無法開啟 %s",
+- "\"URL-Viewer\" not defined: Can't open %s",
++ "尚未定義 \"URL-檢視器\":無法開啟 %s",
handle->h.url.path);
return(rv);
-@@ -2758,7 +2758,7 @@
+@@ -2630,7 +2630,7 @@
+ int return_value;
+ {
+ q_status_message(SM_ORDER | SM_DING, 3, 3,
+- "Can't spawn. Command too long.");
++ "無法起始。命令太長。");
+ return(return_value);
+ }
+
+@@ -2920,7 +2920,7 @@
}
else
q_status_message(SM_ORDER | SM_DING, 3, 4,
@@ -203,7 +218,7 @@
if(outgoing)
mail_free_envelope(&outgoing);
-@@ -2822,7 +2822,7 @@
+@@ -2984,7 +2984,7 @@
else if(errstr)
q_status_message(SM_ORDER|SM_DING, 3, 3, errstr);
else
@@ -212,7 +227,7 @@
break;
-@@ -2845,7 +2845,7 @@
+@@ -3007,7 +3007,7 @@
if(uid_val != ps_global->mail_stream->uid_validity){
/* Complain! */
q_status_message(SM_ORDER|SM_DING, 3, 3,
@@ -221,7 +236,7 @@
}
if(uid){
-@@ -2861,7 +2861,7 @@
+@@ -3023,7 +3023,7 @@
if(i > mn_get_total(ps_global->msgmap))
q_status_message(SM_ORDER, 2, 3,
@@ -230,7 +245,7 @@
}
else if(search){
/*
-@@ -2882,9 +2882,9 @@
+@@ -3044,9 +3044,9 @@
if(i = any_lflagged(ps_global->msgmap, MN_SLCT)){
extern long zoom_index();
@@ -243,7 +258,7 @@
/* Zoom the index! */
zoom_index(ps_global, ps_global->msgmap);
}
-@@ -3023,9 +3023,9 @@
+@@ -3185,9 +3185,9 @@
if(auth && *auth != '*')
q_status_message1(SM_ORDER, 3, 3,
@@ -256,7 +271,7 @@
/*
* At this point our structure should contain the
-@@ -3110,7 +3110,7 @@
+@@ -3272,7 +3272,7 @@
if(i > mn_get_total(ps_global->msgmap))
q_status_message(SM_ORDER, 2, 3,
@@ -265,7 +280,7 @@
}
break;
-@@ -3189,7 +3189,7 @@
+@@ -3386,7 +3386,7 @@
}
else
q_status_message1(SM_ORDER | SM_DING, 0, 3,
@@ -274,7 +289,7 @@
return(1);
}
-@@ -3216,7 +3216,7 @@
+@@ -3413,7 +3413,7 @@
dprint(2, (debugfile, "-- bogus url \"%s\": %s\n",
url ? url : "<NULL URL>", reason));
if(url)
@@ -283,7 +298,7 @@
(void *) (strchr(url, ':') - url), url, reason);
return(0);
-@@ -3356,7 +3356,7 @@
+@@ -3554,7 +3554,7 @@
write_error:
if(style == QStatus)
@@ -292,16 +307,16 @@
error_description(errno));
return(1);
-@@ -3606,7 +3606,7 @@
- gf_set_so_writec(&tmp_pc, df_store);
+@@ -3805,7 +3805,7 @@
+ gf_set_so_readc(&tmp_gc, df_store);
if(errstr = dfilter(display_filter, tmp_store, tmp_pc, NULL)){
q_status_message1(SM_ORDER | SM_DING, 3, 3,
- "Formatting error: %s", errstr);
+ "格式錯誤:%s", errstr);
rv = FHT_WRTERR;
}
- else{
-@@ -3618,7 +3618,7 @@
+ else
+@@ -3815,7 +3815,7 @@
}
else{
q_status_message1(SM_ORDER | SM_DING, 3, 3,
@@ -310,7 +325,7 @@
rv = FHT_WRTERR;
}
}
-@@ -3643,7 +3643,7 @@
+@@ -3841,7 +3841,7 @@
if(errstr = gf_pipe(tmp_gc, final_pc)){
rv = FHT_WRTERR;
q_status_message1(SM_ORDER | SM_DING, 3, 3,
@@ -319,7 +334,7 @@
}
}
-@@ -3782,7 +3782,7 @@
+@@ -3984,7 +3984,7 @@
format_newsgroup_string("Newsgroups: ", e->newsgroups, prefix, pc);
if(e->ngbogus)
q_status_message(SM_ORDER, 0, 3,
@@ -328,7 +343,7 @@
}
if((which & FE_FOLLOWUPTO) && e->followup_to)
-@@ -4406,7 +4406,7 @@
+@@ -4624,7 +4624,7 @@
}
if(!sparms->bar.title)
@@ -337,7 +352,7 @@
if(sparms->bar.style == TitleBarNone)
sparms->bar.style = MsgTextPercent;
-@@ -4555,7 +4555,7 @@
+@@ -4773,7 +4773,7 @@
}
if(first_view && num_display_lines >= get_scroll_text_lines())
@@ -346,7 +361,7 @@
force = 0; /* may not need to next time around */
-@@ -4671,7 +4671,7 @@
+@@ -4898,7 +4898,7 @@
whereis_pos.row = 0;
if(sparms->help.text == NO_HELP || ps_global->nr_mode){
q_status_message(SM_ORDER, 0, 5,
@@ -355,7 +370,7 @@
break;
}
-@@ -4710,12 +4710,12 @@
+@@ -4937,12 +4937,12 @@
cur_top_line -= scroll_lines;
if(cur_top_line <= 0){
cur_top_line = 0;
@@ -370,7 +385,7 @@
STYLE_NAME(sparms));
break;
-@@ -4729,12 +4729,12 @@
+@@ -4956,12 +4956,12 @@
cur_top_line += scroll_lines;
if(cur_top_line + num_display_lines >= get_scroll_text_lines())
@@ -385,7 +400,7 @@
STYLE_NAME(sparms));
break;
-@@ -4751,11 +4751,11 @@
+@@ -4978,11 +4978,11 @@
cur_top_line++;
if(cur_top_line + num_display_lines
>= get_scroll_text_lines())
@@ -399,7 +414,7 @@
STYLE_NAME(sparms));
}
-@@ -4772,11 +4772,11 @@
+@@ -4999,11 +4999,11 @@
if(cur_top_line){
cur_top_line--;
if(cur_top_line == 0)
@@ -413,7 +428,7 @@
STYLE_NAME(sparms));
}
-@@ -4807,7 +4807,7 @@
+@@ -5034,7 +5034,7 @@
}
q_status_message(SM_ORDER, 0, 1,
@@ -422,7 +437,7 @@
}
break;
-@@ -4837,7 +4837,7 @@
+@@ -5064,7 +5064,7 @@
}
q_status_message(SM_ORDER, 0, 1,
@@ -431,7 +446,7 @@
}
break;
-@@ -4856,7 +4856,7 @@
+@@ -5083,7 +5083,7 @@
break;
case -1 :
@@ -440,7 +455,7 @@
break;
default :
-@@ -4943,14 +4943,14 @@
+@@ -5170,14 +5170,14 @@
q_status_message(SM_ORDER, 0, 3, tmp_20k_buf);
else
q_status_message2(SM_ORDER, 0, 3,
@@ -459,7 +474,7 @@
break;
-@@ -5006,7 +5006,7 @@
+@@ -5257,7 +5257,7 @@
break;
case -1 :
@@ -468,7 +483,7 @@
break;
default :
-@@ -5251,13 +5251,13 @@
+@@ -5522,13 +5522,13 @@
int rc, flags;
static char search_string[MAX_SEARCH+1] = { '\0' };
static ESCKEY_S word_search_key[] = { { 0, 0, "", "" },
@@ -485,7 +500,7 @@
help = NO_HELP;
nsearch_string[0] = '\0';
-@@ -5272,13 +5272,13 @@
+@@ -5543,13 +5543,13 @@
continue;
}
else if(rc == 10){
@@ -501,7 +516,7 @@
cursor_pos->row = max(get_scroll_text_lines() - 1, 0);
cursor_pos->col = 0;
return(cursor_pos->row);
-@@ -6069,10 +6069,10 @@
+@@ -6411,10 +6411,10 @@
if(*msg_p[0])
for(i = 0; i < msg_q; i++)
q_status_message2(SM_ORDER, 3, 4,
@@ -514,7 +529,7 @@
}
else{
SCROLL_S sargs;
-@@ -6083,7 +6083,7 @@
+@@ -6425,7 +6425,7 @@
memset(&sargs, 0, sizeof(SCROLL_S));
sargs.text.text = f;
sargs.text.src = FileStar;