1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/chinese/pine4/files/patch-bc

72 lines
2.0 KiB
Plaintext
Raw Normal View History

--- pine/mailpart.c.orig Thu May 30 05:47:17 1996
+++ pine/mailpart.c Sat Jan 17 21:06:54 1998
@@ -74,12 +74,12 @@
static struct key att_index_keys[] =
- {{"?","Help",KS_SCREENHELP}, {NULL,NULL,KS_NONE},
- {"E","Exit Index",KS_EXITMODE}, {"V","[View]",KS_VIEW},
- {"P","PrevAttch",KS_NONE}, {"N","NextAttch",KS_NONE},
- {"-","PrevPage",KS_PREVPAGE}, {"Spc","NextPage",KS_NEXTPAGE},
- {"A","AboutAttch",KS_NONE}, {"S","Save",KS_SAVE},
- {"|","Pipe",KS_NONE}, {"W","WhereIs",KS_WHEREIS}};
+ {{"?","<22><><EFBFBD>U<EFBFBD><55><EFBFBD><EFBFBD>",KS_SCREENHELP}, {NULL,NULL,KS_NONE},
+ {"E","<22><><EFBFBD>}<7D><><EFBFBD><EFBFBD>",KS_EXITMODE}, {"V","[<5B>˵<EFBFBD>]",KS_VIEW},
+ {"P","<22>e<EFBFBD>@<40><><EFBFBD><EFBFBD>",KS_NONE}, {"N","<22><><EFBFBD>@<40><><EFBFBD><EFBFBD>",KS_NONE},
+ {"-","<22>W<EFBFBD>@<40><>",KS_PREVPAGE}, {"Spc","<22>U<EFBFBD>@<40><>",KS_NEXTPAGE},
+ {"A","<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",KS_NONE}, {"S","<22>x<EFBFBD>s",KS_SAVE},
+ {"|","Pipe",KS_NONE}, {"W","<22>j<EFBFBD>M",KS_WHEREIS}};
INST_KEY_MENU(att_index_keymenu, att_index_keys);
#define ATT_PIPE_KEY 10
@@ -354,6 +354,7 @@
ps->mangled_screen = 1;
break;
+ case KEY_LEFT :
case 'e' : /* exit attachment screen */
case PF3 :
done++;
@@ -362,7 +363,6 @@
case 'n' : /* next list element */
case '\t' :
case ctrl('F') :
- case KEY_RIGHT :
case ctrl('N'): /* down arrow */
case KEY_DOWN :
case PF6 :
@@ -377,7 +377,6 @@
case 'p' : /* previous list element */
case ctrl('B') :
- case KEY_LEFT :
case ctrl('P') : /* up arrow */
case KEY_UP :
case PF5 :
@@ -506,7 +505,7 @@
}
}
else
- result = "WhereIs cancelled";
+ result = "<22>j<EFBFBD>M<EFBFBD><4D><EFBFBD>O<EFBFBD>w<EFBFBD><77><EFBFBD><EFBFBD>";
if(found && ctmp){
strcpy(last, buf);
@@ -530,6 +529,7 @@
ps->mangled_screen = 1;
break;
+ case KEY_RIGHT:
case 'v': /* View command */
case ctrl('M'):
case PF4 :
@@ -855,7 +855,7 @@
char *err;
struct variable *vars = ps_global->vars;
static ESCKEY_S att_save_opts[] = {
- {ctrl('T'), 10, "^T", "To Files"},
+ {ctrl('T'), 10, "^T", "<22>H<EFBFBD><48><EFBFBD>C<EFBFBD><43>"},
{-1, 0, NULL, NULL},
{-1, 0, NULL, NULL},
{-1, 0, NULL, NULL}};