aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/pine4/files/patch-aj
blob: 223012340858de37cb26d35a683b7d54fd0c2f11 (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
--- pico/display.c.orig Sat Jun 20 01:19:53 1998
+++ pico/display.c  Wed Jul 15 17:02:30 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}
+    {"^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}
+    {"^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";
+                                 : "·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;