mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
121 lines
4.4 KiB
Plaintext
121 lines
4.4 KiB
Plaintext
|
--- pico/display.c.orig Sat Jan 31 15:57:10 1998
|
|||
|
+++ pico/display.c Sat Jan 31 16:07:16 1998
|
|||
|
@@ -76,32 +76,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", "<22><><EFBFBD>U<EFBFBD><55><EFBFBD><EFBFBD>", KS_SCREENHELP}, {"^O", "<22>Ȱ<EFBFBD><C8B0>u<EFBFBD>@", KS_SAVEFILE},
|
|||
|
+ {"^R", "Ū<><C5AA><EFBFBD>ɮ<EFBFBD>", KS_READFILE}, {"^Y", "<22>W<EFBFBD>@<40><>", KS_PREVPAGE},
|
|||
|
+ {"^K", "<22>ŤU<C5A4>@<40><>", KS_NONE}, {"^C", "<22>ثe<D8AB><65><EFBFBD>m", KS_CURPOSITION},
|
|||
|
+ {"^X", "<22><><EFBFBD>}", KS_EXIT}, {"^J", "<22><><EFBFBD><EFBFBD><EFBFBD>q<EFBFBD><71>", KS_JUSTIFY},
|
|||
|
+ {"^W", "<22>j<EFBFBD>M", KS_WHEREIS}, {"^V", "<22>U<EFBFBD>@<40><>", KS_NEXTPAGE},
|
|||
|
{"^U", NULL, KS_NONE},
|
|||
|
#if defined(SPELLER) && !defined(__FreeBSD__)
|
|||
|
- {"^T", "To Spell", KS_SPELLCHK}
|
|||
|
+ {"^T", "<22><><EFBFBD>r<EFBFBD>ˬd", KS_SPELLCHK}
|
|||
|
#else
|
|||
|
- {"^D", "Del Char", KS_NONE}
|
|||
|
+ {"^D", "<22>R<EFBFBD><52><EFBFBD>r<EFBFBD><72>", 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", "<22><><EFBFBD>U<EFBFBD><55><EFBFBD><EFBFBD>", KS_SCREENHELP}, {"^X", NULL, KS_SEND},
|
|||
|
+ {"^R", "Ū<><C5AA><EFBFBD>ɮ<EFBFBD>", KS_READFILE}, {"^Y", "<22>W<EFBFBD>@<40><>", KS_PREVPAGE},
|
|||
|
+ {"^K", "<22>ŤU<C5A4>@<40><>", KS_NONE}, {"^O", "<22>Ƚw<C8BD>g<EFBFBD>H", KS_POSTPONE},
|
|||
|
+ {"^C", "<22><><EFBFBD><EFBFBD>", KS_CANCEL}, {"^J", "<22><><EFBFBD><EFBFBD><EFBFBD>q<EFBFBD><71>", KS_JUSTIFY},
|
|||
|
+ {NULL, NULL, KS_NONE}, {"^V", "<22>U<EFBFBD>@<40><>", KS_NEXTPAGE},
|
|||
|
{"^U", NULL, KS_NONE},
|
|||
|
#ifdef SPELLER
|
|||
|
- {"^T", "To Spell", KS_SPELLCHK}
|
|||
|
+ {"^T", "<22><><EFBFBD>r<EFBFBD>ˬd", KS_SPELLCHK}
|
|||
|
#else
|
|||
|
- {"^D", "Del Char", KS_NONE}
|
|||
|
+ {"^D", "<22>R<EFBFBD><52><EFBFBD>r<EFBFBD><72>", KS_NONE}
|
|||
|
#endif
|
|||
|
};
|
|||
|
#define EXIT_KEY 1
|
|||
|
@@ -737,12 +737,12 @@
|
|||
|
}
|
|||
|
|
|||
|
if(lastflag&CFFILL){
|
|||
|
- menu_pico[UNCUT_KEY].label = "UnJustify";
|
|||
|
+ menu_pico[UNCUT_KEY].label = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>";
|
|||
|
emlwrite("Can now UnJustify!", NULL);
|
|||
|
mpresf = HUGE; /* remove this after next keystroke! */
|
|||
|
}
|
|||
|
else
|
|||
|
- menu_pico[UNCUT_KEY].label = "UnCut Text";
|
|||
|
+ menu_pico[UNCUT_KEY].label = "<22>_<EFBFBD><5F><EFBFBD>R<EFBFBD>r";
|
|||
|
|
|||
|
wkeyhelp(menu_pico);
|
|||
|
sgarbk = FALSE;
|
|||
|
@@ -932,18 +932,18 @@
|
|||
|
ShowPrompt();
|
|||
|
else{
|
|||
|
menu_compose[EXIT_KEY].label = (Pmaster->headents)
|
|||
|
- ? "Send" :"Exit";
|
|||
|
+ ? "<22>e<EFBFBD>X" :"<22><><EFBFBD>}";
|
|||
|
menu_compose[PSTPN_KEY].name = (Pmaster->headents)
|
|||
|
? "^O" : NULL;
|
|||
|
menu_compose[PSTPN_KEY].label = (Pmaster->headents)
|
|||
|
- ? "Postpone" : NULL;
|
|||
|
+ ? "<22>Ƚw<C8BD>g<EFBFBD>H" : NULL;
|
|||
|
menu_compose[WHERE_KEY].name = (Pmaster->alt_ed) ? "^_" : "^W";
|
|||
|
menu_compose[WHERE_KEY].label = (Pmaster->alt_ed) ? "Alt Edit"
|
|||
|
- : "Where is";
|
|||
|
+ : "<22>j<EFBFBD>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) ? "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|||
|
+ : "<22>_<EFBFBD><5F><EFBFBD>R<EFBFBD>r";
|
|||
|
wkeyhelp(menu_compose);
|
|||
|
#ifdef _WINDOWS
|
|||
|
/* When alt editor is available "Where is" is not on the menu
|
|||
|
@@ -1134,11 +1134,11 @@
|
|||
|
}
|
|||
|
|
|||
|
menu_yesno[1].name = "Y";
|
|||
|
- menu_yesno[1].label = (dflt == TRUE) ? "[Yes]" : "Yes";
|
|||
|
+ menu_yesno[1].label = (dflt == TRUE) ? "[<5B>O]" : "<22>O";
|
|||
|
menu_yesno[6].name = "^C";
|
|||
|
menu_yesno[6].label = "Cancel";
|
|||
|
menu_yesno[7].name = "N";
|
|||
|
- menu_yesno[7].label = (dflt == FALSE) ? "[No]" : "No";
|
|||
|
+ menu_yesno[7].label = (dflt == FALSE) ? "[<5B>_]" : "<22>_";
|
|||
|
wkeyhelp(menu_yesno); /* paint generic menu */
|
|||
|
sgarbk = TRUE; /* mark menu dirty */
|
|||
|
if(Pmaster && curwp)
|
|||
|
@@ -1304,7 +1304,7 @@
|
|||
|
#endif
|
|||
|
|
|||
|
menu_mlreply[0].name = "^G";
|
|||
|
- menu_mlreply[0].label = "Get Help";
|
|||
|
+ menu_mlreply[0].label = "<22><><EFBFBD>U<EFBFBD><55><EFBFBD><EFBFBD>";
|
|||
|
KS_OSDATASET(&menu_mlreply[0], KS_SCREENHELP);
|
|||
|
for(j = 0, i = 1; i < 6; i++){ /* insert odd extras */
|
|||
|
menu_mlreply[i].name = NULL;
|
|||
|
@@ -1324,7 +1324,7 @@
|
|||
|
}
|
|||
|
|
|||
|
menu_mlreply[6].name = "^C";
|
|||
|
- menu_mlreply[6].label = "Cancel";
|
|||
|
+ menu_mlreply[6].label = "<22><><EFBFBD><EFBFBD>";
|
|||
|
KS_OSDATASET(&menu_mlreply[6], KS_NONE);
|
|||
|
for(j = 0, i = 7; i < 12; i++){ /* insert even extras */
|
|||
|
menu_mlreply[i].name = NULL;
|