summaryrefslogtreecommitdiff
path: root/chinese/pine4/files/patch-ak
blob: 4c119517546a9c0791d6f9316ecde396f7edc93e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
--- pico/display.c.orig	Sat Jun 20 01:19:53 1998
+++ pico/display.c	Tue Sep 22 18:30:04 1998
@@ -71,32 +71,32 @@
  * Standard pico keymenus...
  */
 static KEYMENU menu_pico[] = {
-    {"^G", "Get Help", KS_SCREENHELP},	{"^O", "WriteOut", KS_SAVEFILE},
-    {"^R", "Read File", KS_READFILE},	{"^Y", "Prev Pg", KS_PREVPAGE},
-    {"^K", "Cut Text", KS_NONE},	{"^C", "Cur Pos", KS_CURPOSITION},
-    {"^X", "Exit", KS_EXIT},		{"^J", "Justify", KS_JUSTIFY},
-    {"^W", "Where is", KS_WHEREIS},	{"^V", "Next Pg", KS_NEXTPAGE},
+    {"^G", "���U����", KS_SCREENHELP}, {"^O", "�g�J�ɮ�", KS_SAVEFILE},
+    {"^R", "Ū���ɮ�", KS_READFILE},   {"^Y", "�W�@��", KS_PREVPAGE},
+    {"^K", "�ŤU�@��", KS_NONE},       {"^C", "�ثe��m", KS_CURPOSITION},
+    {"^X", "���}", KS_EXIT},           {"^J", "����q��", KS_JUSTIFY},
+    {"^W", "�j�M", KS_WHEREIS},        {"^V", "�U�@��", KS_NEXTPAGE},
     {"^U", NULL, KS_NONE},
-#ifdef	SPELLER
-    {"^T", "To Spell", KS_SPELLCHK}
+#if	defined(SPELLER) && !defined(__FreeBSD__)
+    {"^T", "���r�ˬd", KS_SPELLCHK}
 #else
-    {"^D", "Del Char", KS_NONE}
+    {"^D", "�R���r��", KS_NONE}
 #endif
 };
 #define	UNCUT_KEY	10
 
 
 static KEYMENU menu_compose[] = {
-    {"^G", "Get Help", KS_SCREENHELP},	{"^X", NULL, KS_SEND},
-    {"^R", "Read File", KS_READFILE},	{"^Y", "Prev Pg", KS_PREVPAGE},
-    {"^K", "Cut Text", KS_NONE},	{"^O", "Postpone", KS_POSTPONE},
-    {"^C", "Cancel", KS_CANCEL},	{"^J", "Justify", KS_JUSTIFY},
-    {NULL, NULL, KS_NONE},		{"^V", "Next Pg", KS_NEXTPAGE},
+    {"^G", "���U����", KS_SCREENHELP}, {"^X", NULL, KS_SEND},
+    {"^R", "Ū���ɮ�", KS_READFILE},   {"^Y", "�W�@��", KS_PREVPAGE},
+    {"^K", "�ŤU�@��", KS_NONE},       {"^O", "�Ƚw�g�H", KS_POSTPONE},
+    {"^C", "����", KS_CANCEL},         {"^J", "����q��", KS_JUSTIFY},
+    {NULL, NULL, KS_NONE},             {"^V", "�U�@��", KS_NEXTPAGE},
     {"^U", NULL, KS_NONE},
-#ifdef	SPELLER
-    {"^T", "To Spell", KS_SPELLCHK}
+#if	defined(SPELLER) && !defined(__FreeBSD__)
+    {"^T", "���r�ˬd", KS_SPELLCHK}
 #else
-    {"^D", "Del Char", KS_NONE}
+    {"^D", "�R���r��", KS_NONE}
 #endif
 };
 #define	EXIT_KEY	1
@@ -152,7 +152,7 @@
     (*term.t_rev)(FALSE);
     vscreen = (VIDEO **) malloc((term.t_nrow+1)*sizeof(VIDEO *));
     if (vscreen == NULL){
-	emlwrite("Allocating memory for virtual display failed.", NULL);
+	emlwrite("�t�m�O���鵹������ܾ����ѡC", NULL);
         return(FALSE);
     }
 
@@ -160,7 +160,7 @@
     pscreen = (VIDEO **) malloc((term.t_nrow+1)*sizeof(VIDEO *));
     if (pscreen == NULL){
 	free((void *)vscreen);
-	emlwrite("Allocating memory for physical display failed.", NULL);
+	emlwrite("�t�m�O���鵹������ܾ����ѡC", NULL);
         return(FALSE);
     }
 
@@ -171,7 +171,7 @@
         if (vp == NULL){
 	    free((void *)vscreen);
 	    free((void *)pscreen);
-	    emlwrite("Allocating memory for virtual display lines failed.",
+	    emlwrite("�t�m�O���鵹������ܦ楢�ѡC",
 		     NULL);
             return(FALSE);
 	}
@@ -191,7 +191,7 @@
 
 	    free((void *)vscreen);
 	    free((void *)pscreen);
-	    emlwrite("Allocating memory for physical display lines failed.",
+	    emlwrite("�t�m�O���鵹������ܦ楢�ѡC",
 		     NULL);
             return(FALSE);
 	}
@@ -749,12 +749,12 @@
 	    }
 
 	    if(lastflag&CFFILL){
-		menu_pico[UNCUT_KEY].label = "UnJustify";
-		emlwrite("Can now UnJustify!", NULL);
+		menu_pico[UNCUT_KEY].label = "��������";
+		emlwrite("�{�b�i�H��������!", NULL);
 		mpresf = FARAWAY;	/* remove this after next keystroke! */
 	    }
 	    else
-	      menu_pico[UNCUT_KEY].label = "UnCut Text";
+	      menu_pico[UNCUT_KEY].label = "�_��R�r";
 
 	    wkeyhelp(menu_pico);
 	    sgarbk = FALSE;
@@ -944,18 +944,18 @@
 	  ShowPrompt();
 	else{
 	    menu_compose[EXIT_KEY].label  = (Pmaster->headents)
-					      ? "Send" :"Exit";
+					      ? "�e�X" :"���}";
 	    menu_compose[PSTPN_KEY].name  = (Pmaster->headents)
 					      ? "^O" : NULL;
 	    menu_compose[PSTPN_KEY].label = (Pmaster->headents)
-					      ? "Postpone" : NULL;
+					      ? "�Ƚw�g�H" : NULL;
 	    menu_compose[WHERE_KEY].name  = (Pmaster->alt_ed) ? "^_" : "^W";
-	    menu_compose[WHERE_KEY].label = (Pmaster->alt_ed) ? "Alt Edit" 
-							      : "Where is";
+	    menu_compose[WHERE_KEY].label = (Pmaster->alt_ed) ? "�۩w�s�边" 
+							      : "�j�M";
 	    KS_OSDATASET(&menu_compose[WHERE_KEY],
 			 (Pmaster->alt_ed) ? KS_ALTEDITOR : KS_WHEREIS);
-	    menu_compose[UNCUT_KEY].label = (thisflag&CFFILL) ? "UnJustify"
-							      : "UnCut Text";
+	    menu_compose[UNCUT_KEY].label = (thisflag&CFFILL) ? "��������"
+							      : "�_��R�r";
 	    wkeyhelp(menu_compose);
 #ifdef _WINDOWS
 	    /* When alt editor is available "Where is" is not on the menu
@@ -1150,11 +1150,11 @@
     }
 
     menu_yesno[1].name  = "Y";
-    menu_yesno[1].label = (dflt == TRUE) ? "[Yes]" : "Yes";
+    menu_yesno[1].label = (dflt == TRUE) ? "[�O]" : "�O";
     menu_yesno[6].name  = "^C";
-    menu_yesno[6].label = "Cancel";
+    menu_yesno[6].label = "����";
     menu_yesno[7].name  = "N";
-    menu_yesno[7].label = (dflt == FALSE) ? "[No]" : "No";
+    menu_yesno[7].label = (dflt == FALSE) ? "[�_]" : "�_";
     wkeyhelp(menu_yesno);		/* paint generic menu */
     sgarbk = TRUE;			/* mark menu dirty */
     if(Pmaster && curwp)
@@ -1168,7 +1168,7 @@
 	switch(GetKey()){
 	  case (CTRL|'M') :		/* default */
 	    if(dflt >= 0){
-		pputs((dflt) ? "Yes" : "No", 1);
+		pputs((dflt) ? "�O" : "�_", 1);
 		rv = dflt;
 	    }
 	    else
@@ -1185,14 +1185,14 @@
 	  case 'y' :
 	  case 'Y' :
 	  case F3  :
-	    pputs("Yes", 1);
+	    pputs("�O", 1);
 	    rv = TRUE;
 	    break;
 
 	  case 'n' :
 	  case 'N' :
 	  case F4  :
-	    pputs("No", 1);
+	    pputs("�_", 1);
 	    rv = FALSE;
 	    break;
 
@@ -1320,7 +1320,7 @@
 #endif
 
     menu_mlreply[0].name = "^G";
-    menu_mlreply[0].label = "Get Help";
+    menu_mlreply[0].label = "���U����";
     KS_OSDATASET(&menu_mlreply[0], KS_SCREENHELP);
     for(j = 0, i = 1; i < 6; i++){	/* insert odd extras */
 	menu_mlreply[i].name = NULL;
@@ -1340,7 +1340,7 @@
     }
 
     menu_mlreply[6].name = "^C";
-    menu_mlreply[6].label = "Cancel";
+    menu_mlreply[6].label = "����";
     KS_OSDATASET(&menu_mlreply[6], KS_NONE);
     for(j = 0, i = 7; i < 12; i++){	/* insert even extras */
 	menu_mlreply[i].name = NULL;