1998-07-21 14:11:48 +00:00
|
|
|
|
--- pine/other.c.orig Thu Jul 9 05:35:12 1998
|
|
|
|
|
+++ pine/other.c Wed Jul 15 17:02:36 1998
|
|
|
|
|
@@ -51,16 +51,16 @@
|
|
|
|
|
|
|
|
|
|
#define BODY_LINES(X) ((X)->ttyo->screen_rows -HEADER_ROWS(X)-FOOTER_ROWS(X))
|
|
|
|
|
|
|
|
|
|
-#define CONFIG_SCREEN_TITLE "SETUP CONFIGURATION"
|
|
|
|
|
-#define CONFIG_SCREEN_HELP_TITLE "HELP FOR SETUP CONFIGURATION"
|
|
|
|
|
+#define CONFIG_SCREEN_TITLE "<22><><EFBFBD>ҳ]<5D>w"
|
|
|
|
|
+#define CONFIG_SCREEN_HELP_TITLE "<22><><EFBFBD>ҳ]<5D>w<EFBFBD><77><EFBFBD><EFBFBD><EFBFBD>U<EFBFBD><55><EFBFBD><EFBFBD>"
|
|
|
|
|
#define R_SELD '*'
|
|
|
|
|
-#define EXIT_PMT "Commit changes (\"Yes\" replaces settings, \"No\" abandons changes)"
|
|
|
|
|
-static char *empty_val = "Empty Value";
|
|
|
|
|
-static char *empty_val2 = "<Empty Value>";
|
|
|
|
|
+#define EXIT_PMT "<22>e<EFBFBD>X<EFBFBD><58><EFBFBD><EFBFBD> (\"<22>O\" <20><><EFBFBD>N<EFBFBD>]<5D>w<EFBFBD>A\"<22>_\" <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
|
|
|
|
|
+static char *empty_val = "<22>Ū<EFBFBD><C5AA>]<5D>w<EFBFBD><77>";
|
|
|
|
|
+static char *empty_val2 = "<<3C>Ū<EFBFBD><C5AA>]<5D>w<EFBFBD><77>>";
|
|
|
|
|
#define EMPTY_VAL_LEN 11
|
|
|
|
|
-static char *no_val = "No Value Set";
|
|
|
|
|
+static char *no_val = "<22>|<7C><><EFBFBD>w<EFBFBD>q<EFBFBD>]<5D>w<EFBFBD><77>";
|
|
|
|
|
#define NO_VAL_LEN 12
|
|
|
|
|
-static char *fixed_val = "Value is Fixed";
|
|
|
|
|
+static char *fixed_val = "<22>]<5D>w<EFBFBD>Ȥw<C8A4>T<EFBFBD>w";
|
|
|
|
|
|
|
|
|
|
typedef struct proto_conf_line {
|
|
|
|
|
short type, /* type of line treatment */
|
|
|
|
|
@@ -311,9 +311,9 @@
|
|
|
|
|
char prompt[50];
|
|
|
|
|
|
|
|
|
|
sprintf(prompt,
|
|
|
|
|
- "%s password to LOCK keyboard %s: ",
|
|
|
|
|
- i ? "Retype" : "Enter",
|
|
|
|
|
- i > 1 ? "(Yes, again) " : "");
|
|
|
|
|
+ "%s<><73><EFBFBD>w<EFBFBD><77><EFBFBD>L<EFBFBD><4C><EFBFBD>K<EFBFBD>X %s<>G",
|
|
|
|
|
+ i ? "<22><><EFBFBD>s<EFBFBD><73><EFBFBD>J" : "<22><><EFBFBD>J",
|
|
|
|
|
+ i > 1 ? "(<28>O<EFBFBD><4F><EFBFBD>A<EFBFBD>A<EFBFBD>@<40><>) " : "");
|
|
|
|
|
|
|
|
|
|
flags = OE_PASSWD;
|
|
|
|
|
rc = optionally_enter(pw, -FOOTER_ROWS(ps), 0, 30,
|
|
|
|
|
@@ -322,7 +322,7 @@
|
|
|
|
|
if(rc == 3)
|
|
|
|
|
help = help == NO_HELP ? h_kb_lock : NO_HELP;
|
|
|
|
|
else if(rc == 1 || pw[0] == '\0'){
|
|
|
|
|
- q_status_message(SM_ORDER, 0, 2, "Keyboard lock cancelled");
|
|
|
|
|
+ q_status_message(SM_ORDER, 0, 2, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>L<EFBFBD><4C><EFBFBD>w");
|
|
|
|
|
return(-1);
|
|
|
|
|
}
|
|
|
|
|
else if(rc != 4)
|
|
|
|
|
@@ -333,14 +333,14 @@
|
|
|
|
|
strcpy(inpasswd, pw);
|
|
|
|
|
else if(strcmp(inpasswd, pw)){
|
|
|
|
|
q_status_message(SM_ORDER, 0, 2,
|
|
|
|
|
- "Mismatch with initial password: keyboard lock cancelled");
|
|
|
|
|
+ "<22>M<EFBFBD><4D><EFBFBD>l<EFBFBD>K<EFBFBD>X<EFBFBD><58><EFBFBD>šG<C5A1><47><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>L<EFBFBD><4C><EFBFBD>w");
|
|
|
|
|
return(-1);
|
1998-02-02 14:34:45 +00:00
|
|
|
|
}
|
1998-07-21 14:11:48 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
- if(want_to("Really lock keyboard with entered password", 'y', 'n',
|
|
|
|
|
+ if(want_to("<22>T<EFBFBD>w<EFBFBD>H<EFBFBD><48><EFBFBD>J<EFBFBD><4A><EFBFBD>K<EFBFBD>X<EFBFBD><58><EFBFBD>w<EFBFBD><77><EFBFBD>L", 'y', 'n',
|
|
|
|
|
NO_HELP, WT_NORM) != 'y'){
|
|
|
|
|
- q_status_message(SM_ORDER, 0, 2, "Keyboard lock cancelled");
|
|
|
|
|
+ q_status_message(SM_ORDER, 0, 2, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>L<EFBFBD><4C><EFBFBD>w");
|
|
|
|
|
return(-1);
|
|
|
|
|
}
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
@@ -354,7 +354,7 @@
|
|
|
|
|
while(strcmp(inpasswd, passwd)){
|
|
|
|
|
if(passwd[0])
|
|
|
|
|
q_status_message(SM_ORDER | SM_DING, 3, 3,
|
|
|
|
|
- "Password to UNLOCK doesn't match password used to LOCK");
|
|
|
|
|
+ "<22>K<EFBFBD>X<EFBFBD><58><EFBFBD><EFBFBD>");
|
|
|
|
|
|
|
|
|
|
help = NO_HELP;
|
|
|
|
|
while(1){
|
|
|
|
|
@@ -362,7 +362,7 @@
|
|
|
|
|
|
|
|
|
|
flags = OE_PASSWD | OE_DISALLOW_CANCEL;
|
|
|
|
|
rc = optionally_enter(passwd, -FOOTER_ROWS(ps), 0, 30,
|
|
|
|
|
- "Enter password to UNLOCK keyboard : ",NULL,
|
|
|
|
|
+ "<22><><EFBFBD>J<EFBFBD>Ѱ<EFBFBD><D1B0><EFBFBD><EFBFBD>w<EFBFBD><77><EFBFBD>K<EFBFBD>X<EFBFBD>G",NULL,
|
|
|
|
|
help, &flags);
|
|
|
|
|
if(rc == 3) {
|
|
|
|
|
help = help == NO_HELP ? h_oe_keylock : NO_HELP;
|
|
|
|
|
@@ -377,7 +377,7 @@
|
|
|
|
|
if(old_suspend)
|
|
|
|
|
F_TURN_ON(F_CAN_SUSPEND, ps_global);
|
|
|
|
|
|
|
|
|
|
- q_status_message(SM_ORDER, 0, 3, "Keyboard Unlocked");
|
|
|
|
|
+ q_status_message(SM_ORDER, 0, 3, "<22>Ѱ<EFBFBD><D1B0><EFBFBD><EFBFBD>L<EFBFBD><4C><EFBFBD>w");
|
|
|
|
|
return(0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -412,7 +412,7 @@
|
|
|
|
|
PICO pbuf;
|
|
|
|
|
|
|
|
|
|
if(!signature_path(sigfile, sig_path, MAXPATH)){
|
|
|
|
|
- q_status_message(SM_ORDER, 3, 4, "No signature file defined.");
|
|
|
|
|
+ q_status_message(SM_ORDER, 3, 4, "<22>|<7C><><EFBFBD>w<EFBFBD>qñ<71>W<EFBFBD>ɡC");
|
|
|
|
|
return;
|
1998-02-02 14:34:45 +00:00
|
|
|
|
}
|
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
@@ -442,7 +442,7 @@
|
|
|
|
|
pbuf.browse_help = h_composer_browse;
|
|
|
|
|
pbuf.attach_help = h_composer_ctrl_j;
|
|
|
|
|
|
|
|
|
|
- pbuf.pine_anchor = set_titlebar("SIGNATURE EDITOR",
|
|
|
|
|
+ pbuf.pine_anchor = set_titlebar("ñ<>W<EFBFBD>ɽs<C9BD>边",
|
|
|
|
|
ps_global->mail_stream,
|
|
|
|
|
ps_global->context_current,
|
|
|
|
|
ps_global->cur_folder,
|
|
|
|
|
@@ -486,7 +486,7 @@
|
|
|
|
|
*/
|
|
|
|
|
if(!(msgso = so_get(PicoText, NULL, EDIT_ACCESS))){
|
|
|
|
|
q_status_message(SM_ORDER | SM_DING, 3, 4,
|
|
|
|
|
- "Error allocating space for signature file");
|
|
|
|
|
+ "<22>t<EFBFBD>mñ<6D>W<EFBFBD>ɪŶ<C9AA><C5B6>ɵo<C9B5>Ϳ<EFBFBD><CDBF>~");
|
|
|
|
|
dprint(1, (debugfile, "Can't alloc space for signature_edit"));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
@@ -496,7 +496,7 @@
|
|
|
|
|
if(can_access(sig_path, READ_ACCESS) == 0
|
|
|
|
|
&& !(tmpso = so_get(FileStar, sig_path, READ_ACCESS))){
|
|
|
|
|
char *problem = error_description(errno);
|
|
|
|
|
- q_status_message2(SM_ORDER | SM_DING, 3, 3, "Error editing %s: %s",
|
|
|
|
|
+ q_status_message2(SM_ORDER | SM_DING, 3, 3, "<22>s<EFBFBD><73> %s <20>ɵo<C9B5>Ϳ<EFBFBD><CDBF>~<7E>G%s",
|
|
|
|
|
sig_path, problem ? problem : "<NULL>");
|
|
|
|
|
dprint(1, (debugfile, "signature_edit: can't open %s: %s", sig_path,
|
|
|
|
|
problem ? problem : "<NULL>"));
|
|
|
|
|
@@ -508,7 +508,7 @@
|
|
|
|
|
gf_filter_init(); /* no filters needed */
|
|
|
|
|
if(errstr = gf_pipe(gc, pc)){
|
|
|
|
|
q_status_message1(SM_ORDER | SM_DING, 3, 5,
|
|
|
|
|
- "Error reading signature \"%s\"", errstr);
|
|
|
|
|
+ "<22>s<EFBFBD><73>ñ<EFBFBD>W<EFBFBD>ɮɵo<C9B5>Ϳ<EFBFBD><CDBF>~ \"%s\"", errstr);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
gf_clear_so_readc(tmpso);
|
|
|
|
|
@@ -547,7 +547,7 @@
|
|
|
|
|
gf_filter_init(); /* no filters needed */
|
|
|
|
|
if(errstr = gf_pipe(gc, pc)){
|
|
|
|
|
q_status_message1(SM_ORDER | SM_DING, 3, 5,
|
|
|
|
|
- "Error writing signature \"%s\"",
|
|
|
|
|
+ "<22>g<EFBFBD>Jñ<4A>W<EFBFBD>ɮɵo<C9B5>Ϳ<EFBFBD><CDBF>~ \"%s\"",
|
|
|
|
|
errstr);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -557,7 +557,7 @@
|
1998-02-02 14:34:45 +00:00
|
|
|
|
}
|
1998-07-21 14:11:48 +00:00
|
|
|
|
else{
|
|
|
|
|
q_status_message1(SM_ORDER | SM_DING, 3, 3,
|
|
|
|
|
- "Error writing %s", sig_path);
|
|
|
|
|
+ "<22>g<EFBFBD>J %s <20>ɵo<C9B5>Ϳ<EFBFBD><CDBF>~", sig_path);
|
|
|
|
|
dprint(1, (debugfile, "signature_edit: can't write %s",
|
|
|
|
|
sig_path));
|
|
|
|
|
}
|
|
|
|
|
@@ -581,8 +581,8 @@
|
|
|
|
|
char *rstr = NULL;
|
|
|
|
|
void (*redraw)() = ps_global->redrawer;
|
|
|
|
|
static ESCKEY_S opts[] = {
|
|
|
|
|
- {'y', 'y', "Y", "Yes"},
|
|
|
|
|
- {'n', 'n', "N", "No"},
|
|
|
|
|
+ {'y', 'y', "Y", "<22>O"},
|
|
|
|
|
+ {'n', 'n', "N", "<22>_"},
|
|
|
|
|
{-1, 0, NULL, NULL}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@@ -590,18 +590,18 @@
|
|
|
|
|
fix_windsize(ps_global);
|
|
|
|
|
|
|
|
|
|
while(1){
|
|
|
|
|
- rv = radio_buttons("Exit editor and apply changes? ",
|
|
|
|
|
+ rv = radio_buttons("<22><><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD>îM<C3AE>Χ<EFBFBD><CEA7>ܡH",
|
|
|
|
|
-FOOTER_ROWS(ps_global), opts,
|
|
|
|
|
'y', 'x', NO_HELP, RB_NORM);
|
|
|
|
|
if(rv == 'y'){ /* user ACCEPTS! */
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
else if(rv == 'n'){ /* Declined! */
|
|
|
|
|
- rstr = "No Changes Saved";
|
|
|
|
|
+ rstr = "<22><><EFBFBD>ܨå<DCA8><C3A5>s<EFBFBD><73>";
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
else if(rv == 'x'){ /* Cancelled! */
|
|
|
|
|
- rstr = "Exit Cancelled";
|
|
|
|
|
+ rstr = "<22><><EFBFBD><EFBFBD>";
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@@ -616,24 +616,24 @@
|
|
|
|
|
* * * * * * Start of Config Screen Support Code * * * * *
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
-#define PREV_MENU {"P", "Prev", {MC_PREVITEM, 1, {'p'}}, KS_NONE}
|
|
|
|
|
-#define NEXT_MENU {"N", "Next", {MC_NEXTITEM, 2, {'n','\t'}}, KS_NONE}
|
|
|
|
|
+#define PREV_MENU {"P", "<22>e<EFBFBD>@<40><>", {MC_PREVITEM, 1, {'p'}}, KS_NONE}
|
|
|
|
|
+#define NEXT_MENU {"N", "<22><><EFBFBD>@<40><>", {MC_NEXTITEM, 2, {'n','\t'}}, KS_NONE}
|
|
|
|
|
#define EXIT_SETUP_MENU \
|
|
|
|
|
- {"E", "Exit Setup", {MC_EXIT,1,{'e'}}, KS_EXITMODE}
|
|
|
|
|
+ {"E", "<22><><EFBFBD>}", {MC_EXIT,1,{'e'}}, KS_EXITMODE}
|
|
|
|
|
#define TOGGLE_MENU \
|
|
|
|
|
- {"X", "[Set/Unset]", {MC_TOGGLE,3,{'x',ctrl('M'),ctrl('J')}}, KS_NONE}
|
|
|
|
|
+ {"X", "[<5B>]<5D>w/<2F>Ѱ<EFBFBD><D1B0>]<5D>w]", {MC_TOGGLE,3,{'x',ctrl('M'),ctrl('J')}}, KS_NONE}
|
|
|
|
|
|
|
|
|
|
static struct key config_text_keys[] =
|
|
|
|
|
{HELP_MENU,
|
|
|
|
|
NULL_MENU,
|
|
|
|
|
EXIT_SETUP_MENU,
|
|
|
|
|
- {"C", "[Change Val]", {MC_EDIT,3,{'c',ctrl('M'),ctrl('J')}}, KS_NONE},
|
|
|
|
|
+ {"C", "[<5B><><EFBFBD>ܳ]<5D>w<EFBFBD><77>]", {MC_EDIT,3,{'c',ctrl('M'),ctrl('J')}}, KS_NONE},
|
|
|
|
|
PREV_MENU,
|
|
|
|
|
NEXT_MENU,
|
|
|
|
|
PREVPAGE_MENU,
|
|
|
|
|
NEXTPAGE_MENU,
|
|
|
|
|
- {"A", "Add Value", {MC_ADD,1,{'a'}}, KS_NONE},
|
|
|
|
|
- {"D", "Delete Val", {MC_DELETE,1,{'d'}}, KS_NONE},
|
|
|
|
|
+ {"A", "<22>s<EFBFBD>W<EFBFBD>]<5D>w<EFBFBD><77>", {MC_ADD,1,{'a'}}, KS_NONE},
|
|
|
|
|
+ {"D", "<22>R<EFBFBD><52><EFBFBD>]<5D>w<EFBFBD><77>", {MC_DELETE,1,{'d'}}, KS_NONE},
|
|
|
|
|
PRYNTTXT_MENU,
|
|
|
|
|
WHEREIS_MENU};
|
|
|
|
|
INST_KEY_MENU(config_text_keymenu, config_text_keys);
|
|
|
|
|
@@ -657,7 +657,7 @@
|
|
|
|
|
{HELP_MENU,
|
|
|
|
|
NULL_MENU,
|
|
|
|
|
EXIT_SETUP_MENU,
|
|
|
|
|
- {"*", "[Select]", {MC_CHOICE,3,{'*',ctrl('M'),ctrl('J')}}, KS_NONE},
|
|
|
|
|
+ {"*", "[<5B><><EFBFBD><EFBFBD>]", {MC_CHOICE,3,{'*',ctrl('M'),ctrl('J')}}, KS_NONE},
|
|
|
|
|
PREV_MENU,
|
|
|
|
|
NEXT_MENU,
|
|
|
|
|
PREVPAGE_MENU,
|
|
|
|
|
@@ -672,7 +672,7 @@
|
|
|
|
|
{HELP_MENU,
|
|
|
|
|
NULL_MENU,
|
|
|
|
|
EXIT_SETUP_MENU,
|
|
|
|
|
- {"C", "[Change]", {MC_TOGGLE,3,{'c',ctrl('M'),ctrl('J')}}, KS_NONE},
|
|
|
|
|
+ {"C", "[<5B>ק<EFBFBD>]", {MC_TOGGLE,3,{'c',ctrl('M'),ctrl('J')}}, KS_NONE},
|
|
|
|
|
PREV_MENU,
|
|
|
|
|
NEXT_MENU,
|
|
|
|
|
PREVPAGE_MENU,
|
|
|
|
|
@@ -1377,14 +1377,14 @@
|
|
|
|
|
{HELP_MENU,
|
|
|
|
|
PRYNTTXT_MENU,
|
|
|
|
|
EXIT_SETUP_MENU,
|
|
|
|
|
- {"S", "[Select]", {MC_CHOICE,3,{'s',ctrl('M'),ctrl('J')}}, KS_NONE},
|
|
|
|
|
+ {"S", "[<5B><><EFBFBD><EFBFBD>]", {MC_CHOICE,3,{'s',ctrl('M'),ctrl('J')}}, KS_NONE},
|
|
|
|
|
PREV_MENU,
|
|
|
|
|
NEXT_MENU,
|
|
|
|
|
PREVPAGE_MENU,
|
|
|
|
|
NEXTPAGE_MENU,
|
|
|
|
|
- {"A", "Add Printer", {MC_ADD,1,{'a'}}, KS_NONE},
|
|
|
|
|
- {"D", "DeletePrint", {MC_DELETE,1,{'d'}}, KS_NONE},
|
|
|
|
|
- {"C", "Change", {MC_EDIT,1,{'c'}}, KS_NONE},
|
|
|
|
|
+ {"A", "<22>s<EFBFBD>W<EFBFBD>L<EFBFBD><4C><EFBFBD><EFBFBD>", {MC_ADD,1,{'a'}}, KS_NONE},
|
|
|
|
|
+ {"D", "<22>R<EFBFBD><52><EFBFBD>L<EFBFBD><4C><EFBFBD><EFBFBD>", {MC_DELETE,1,{'d'}}, KS_NONE},
|
|
|
|
|
+ {"C", "<22>ק<EFBFBD>", {MC_EDIT,1,{'c'}}, KS_NONE},
|
|
|
|
|
WHEREIS_MENU};
|
|
|
|
|
INST_KEY_MENU(printer_edit_keymenu, printer_edit_keys);
|
|
|
|
|
|
|
|
|
|
@@ -1392,7 +1392,7 @@
|
|
|
|
|
{HELP_MENU,
|
|
|
|
|
PRYNTTXT_MENU,
|
|
|
|
|
EXIT_SETUP_MENU,
|
|
|
|
|
- {"S", "[Select]", {MC_CHOICE,3,{'s',ctrl('M'),ctrl('J')}}, KS_NONE},
|
|
|
|
|
+ {"S", "[<5B><><EFBFBD><EFBFBD>]", {MC_CHOICE,3,{'s',ctrl('M'),ctrl('J')}}, KS_NONE},
|
|
|
|
|
PREV_MENU,
|
|
|
|
|
NEXT_MENU,
|
|
|
|
|
PREVPAGE_MENU,
|
|
|
|
|
@@ -1425,7 +1425,7 @@
|
|
|
|
|
char *saved_printer;
|
|
|
|
|
OPT_SCREEN_S screen;
|
|
|
|
|
|
|
|
|
|
- if(fixed_var(&ps_global->vars[V_PRINTER], "change", "printer"))
|
|
|
|
|
+ if(fixed_var(&ps_global->vars[V_PRINTER], "<22>ק<EFBFBD>", "<22>L<EFBFBD><4C><EFBFBD><EFBFBD>"))
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
saved_printer = cpystr(ps->VAR_PRINTER);
|
|
|
|
|
@@ -1794,7 +1794,7 @@
|
|
|
|
|
|
|
|
|
|
vsave = save_config_vars(ps);
|
|
|
|
|
switch(conf_scroll_screen(ps, &screen, start_line,
|
|
|
|
|
- "SETUP PRINTER", "printer config ", 1)){
|
|
|
|
|
+ "<22>]<5D>w<EFBFBD>L<EFBFBD><4C><EFBFBD><EFBFBD>", "printer config ", 1)){
|
|
|
|
|
case 0:
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
@@ -1835,8 +1835,8 @@
|
|
|
|
|
fs_give((void **)def_printer_line);
|
|
|
|
|
|
|
|
|
|
*def_printer_line = fs_get(36 + strlen(p) + 1);
|
|
|
|
|
- sprintf(*def_printer_line, "Default printer currently %s%s%s",
|
|
|
|
|
- set ? "set to \"" : "unset", set ? p : "", set ? "\"." : ".");
|
|
|
|
|
+ sprintf(*def_printer_line, "<22>w<EFBFBD>]<5D>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>ثe%s%s%s",
|
|
|
|
|
+ set ? "<22>]<5D>w<EFBFBD><77> \"" : "<22><><EFBFBD>]<5D>w", set ? p : "", set ? "\"." : ".");
|
|
|
|
|
|
|
|
|
|
fs_give((void **)&nick);
|
|
|
|
|
fs_give((void **)&cmd);
|
|
|
|
|
@@ -1846,7 +1846,7 @@
|
|
|
|
|
static struct key flag_keys[] =
|
|
|
|
|
{HELP_MENU,
|
|
|
|
|
NULL_MENU,
|
|
|
|
|
- {"E", "Exit Flags", {MC_EXIT,1,{'e'}}, KS_EXITMODE},
|
|
|
|
|
+ {"E", "<22><><EFBFBD>}", {MC_EXIT,1,{'e'}}, KS_EXITMODE},
|
|
|
|
|
TOGGLE_MENU,
|
|
|
|
|
PREV_MENU,
|
|
|
|
|
NEXT_MENU,
|
|
|
|
|
@@ -2000,9 +2000,9 @@
|
|
|
|
|
|
|
|
|
|
static struct key addr_select_keys[] =
|
|
|
|
|
{HELP_MENU,
|
|
|
|
|
- {"E", "ExitSelect", {MC_EXIT,1,{'e'}}, KS_EXITMODE},
|
|
|
|
|
+ {"E", "<22><><EFBFBD>}", {MC_EXIT,1,{'e'}}, KS_EXITMODE},
|
|
|
|
|
NULL_MENU,
|
|
|
|
|
- {"S", "[Select]", {MC_CHOICE,3,{'s',ctrl('M'),ctrl('J')}}, KS_NONE},
|
|
|
|
|
+ {"S", "[<5B><><EFBFBD><EFBFBD>]", {MC_CHOICE,3,{'s',ctrl('M'),ctrl('J')}}, KS_NONE},
|
|
|
|
|
PREV_MENU,
|
|
|
|
|
NEXT_MENU,
|
|
|
|
|
PREVPAGE_MENU,
|
|
|
|
|
@@ -2016,29 +2016,29 @@
|
|
|
|
|
static struct key addr_select_with_goback_keys[] =
|
|
|
|
|
{HELP_MENU,
|
|
|
|
|
NULL_MENU,
|
|
|
|
|
- {"<", "AddbkList", {MC_ADDRBOOK,2,{'<',','}}, KS_NONE},
|
|
|
|
|
- {"S", "[Select]", {MC_CHOICE,3,{'s',ctrl('M'),ctrl('J')}}, KS_NONE},
|
|
|
|
|
+ {"<", "<22>a<EFBFBD>}ï<>C<EFBFBD><43>", {MC_ADDRBOOK,2,{'<',','}}, KS_NONE},
|
|
|
|
|
+ {"S", "[<5B><><EFBFBD><EFBFBD>]", {MC_CHOICE,3,{'s',ctrl('M'),ctrl('J')}}, KS_NONE},
|
|
|
|
|
PREV_MENU,
|
|
|
|
|
NEXT_MENU,
|
|
|
|
|
PREVPAGE_MENU,
|
|
|
|
|
NEXTPAGE_MENU,
|
|
|
|
|
NULL_MENU,
|
|
|
|
|
NULL_MENU,
|
|
|
|
|
- {"E", "ExitSelect", {MC_EXIT,1,{'e'}}, KS_EXITMODE},
|
|
|
|
|
+ {"E", "<22><><EFBFBD>}", {MC_EXIT,1,{'e'}}, KS_EXITMODE},
|
|
|
|
|
WHEREIS_MENU};
|
|
|
|
|
INST_KEY_MENU(addr_s_km_with_goback, addr_select_with_goback_keys);
|
|
|
|
|
|
|
|
|
|
static struct key addr_select_with_view_keys[] =
|
|
|
|
|
{HELP_MENU,
|
|
|
|
|
NULL_MENU,
|
|
|
|
|
- {"<", "AddbkList", {MC_ADDRBOOK,2,{'<',','}}, KS_NONE},
|
|
|
|
|
- {">", "[View]",
|
|
|
|
|
+ {"<", "<22>a<EFBFBD>}ï<>C<EFBFBD><43>", {MC_ADDRBOOK,2,{'<',','}}, KS_NONE},
|
|
|
|
|
+ {">", "[<5B>˵<EFBFBD>]",
|
|
|
|
|
{MC_VIEW_TEXT,5,{'v','>','.',ctrl('M'),ctrl('J')}}, KS_NONE},
|
|
|
|
|
PREV_MENU,
|
|
|
|
|
NEXT_MENU,
|
|
|
|
|
PREVPAGE_MENU,
|
|
|
|
|
NEXTPAGE_MENU,
|
|
|
|
|
- {"C", "ComposeTo", {MC_COMPOSE,1,{'c'}}, KS_COMPOSER},
|
|
|
|
|
+ {"C", "<22>s<EFBFBD><73>", {MC_COMPOSE,1,{'c'}}, KS_COMPOSER},
|
|
|
|
|
FWDEMAIL_MENU,
|
|
|
|
|
SAVE_MENU,
|
|
|
|
|
WHEREIS_MENU};
|
|
|
|
|
@@ -2047,7 +2047,7 @@
|
|
|
|
|
static struct key addr_select_exit_keys[] =
|
|
|
|
|
{NULL_MENU,
|
|
|
|
|
NULL_MENU,
|
|
|
|
|
- {"E", "[Exit]", {MC_EXIT,3,{'e',ctrl('M'),ctrl('J')}},
|
|
|
|
|
+ {"E", "[<5B><><EFBFBD>}]", {MC_EXIT,3,{'e',ctrl('M'),ctrl('J')}},
|
|
|
|
|
KS_EXITMODE},
|
|
|
|
|
NULL_MENU,
|
|
|
|
|
NULL_MENU,
|
|
|
|
|
@@ -2063,7 +2063,7 @@
|
|
|
|
|
static struct key addr_select_goback_keys[] =
|
|
|
|
|
{NULL_MENU,
|
|
|
|
|
NULL_MENU,
|
|
|
|
|
- {"E", "[Exit]", {MC_ADDRBOOK,3,{'e',ctrl('M'),ctrl('J')}},
|
|
|
|
|
+ {"E", "[<5B><><EFBFBD>}]", {MC_ADDRBOOK,3,{'e',ctrl('M'),ctrl('J')}},
|
|
|
|
|
KS_EXITMODE},
|
|
|
|
|
NULL_MENU,
|
|
|
|
|
NULL_MENU,
|
|
|
|
|
@@ -2404,7 +2404,7 @@
|
|
|
|
|
sprintf(ee+2, "%s, No Matches Returned",
|
|
|
|
|
ldap_err2string(wp_err->ldap_errno));
|
|
|
|
|
else
|
|
|
|
|
- strcat(ee, "No Matches");
|
|
|
|
|
+ strcat(ee, "<22>S<EFBFBD><53><EFBFBD>ŦX<C5A6><58>");
|
|
|
|
|
|
|
|
|
|
strcat(ee, " -- Choose Exit ]");
|
|
|
|
|
ctmpa->value = cpystr(ee);
|
|
|
|
|
@@ -2498,7 +2498,7 @@
|
|
|
|
|
case MC_CHOICE :
|
|
|
|
|
if(flags & CF_PRIVATE){
|
|
|
|
|
q_status_message(SM_ORDER | SM_DING, 0, 3,
|
|
|
|
|
- "No email address available for this entry; choose another or ExitSelect");
|
|
|
|
|
+ "<22>L<EFBFBD>k<EFBFBD>w<EFBFBD>惡<EFBFBD><EFA6B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>o<EFBFBD>q<EFBFBD>l<EFBFBD>l<EFBFBD><6C><EFBFBD>a<EFBFBD>}<7D>F<EFBFBD>п<EFBFBD><D0BF>ܨ<EFBFBD><DCA8>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>}");
|
|
|
|
|
}
|
|
|
|
|
else if(some_selectable){
|
|
|
|
|
(*cl)->d.a.ac->selected_ld = (*cl)->d.a.ld;
|
|
|
|
|
@@ -2561,15 +2561,15 @@
|
|
|
|
|
static struct key direct_config_keys[] =
|
|
|
|
|
{HELP_MENU,
|
|
|
|
|
NULL_MENU,
|
|
|
|
|
- {"E", "Exit Setup", {MC_EXIT,1,{'e'}}, KS_EXITMODE},
|
|
|
|
|
- {"C", "[Change]", {MC_EDIT,3,{'c',ctrl('M'),ctrl('J')}}, KS_NONE},
|
|
|
|
|
- {"P", "PrevDir", {MC_PREVITEM, 1, {'p'}}, KS_NONE},
|
|
|
|
|
- {"N", "NextDir", {MC_NEXTITEM, 2, {'n', TAB}}, KS_NONE},
|
|
|
|
|
+ {"E", "<22><><EFBFBD>}", {MC_EXIT,1,{'e'}}, KS_EXITMODE},
|
|
|
|
|
+ {"C", "[<5B>ק<EFBFBD>]", {MC_EDIT,3,{'c',ctrl('M'),ctrl('J')}}, KS_NONE},
|
|
|
|
|
+ {"P", "<22>e<EFBFBD>@<40>ؿ<EFBFBD>", {MC_PREVITEM, 1, {'p'}}, KS_NONE},
|
|
|
|
|
+ {"N", "<22><><EFBFBD>@<40>ؿ<EFBFBD>", {MC_NEXTITEM, 2, {'n', TAB}}, KS_NONE},
|
|
|
|
|
PREVPAGE_MENU,
|
|
|
|
|
NEXTPAGE_MENU,
|
|
|
|
|
- {"A", "Add Dir", {MC_ADD,1,{'a'}}, KS_NONE},
|
|
|
|
|
- {"D", "Del Dir", {MC_DELETE,1,{'d'}}, KS_NONE},
|
|
|
|
|
- {"$", "Shuffle", {MC_SHUFFLE,1,{'$'}}, KS_NONE},
|
|
|
|
|
+ {"A", "<22>s<EFBFBD>W<EFBFBD>ؿ<EFBFBD>", {MC_ADD,1,{'a'}}, KS_NONE},
|
|
|
|
|
+ {"D", "<22>R<EFBFBD><52><EFBFBD>ؿ<EFBFBD>", {MC_DELETE,1,{'d'}}, KS_NONE},
|
|
|
|
|
+ {"$", "<22><><EFBFBD><EFBFBD>", {MC_SHUFFLE,1,{'$'}}, KS_NONE},
|
|
|
|
|
WHEREIS_MENU};
|
|
|
|
|
INST_KEY_MENU(dir_conf_km, direct_config_keys);
|
|
|
|
|
|
|
|
|
|
@@ -2655,7 +2655,7 @@
|
|
|
|
|
*/
|
|
|
|
|
if(!ps->VAR_LDAP_SERVERS || !ps->VAR_LDAP_SERVERS[0] ||
|
|
|
|
|
!ps->VAR_LDAP_SERVERS[0][0]){
|
|
|
|
|
- if(!fixed_var(&ps->vars[V_LDAP_SERVERS], "modify", "directory list")){
|
|
|
|
|
+ if(!fixed_var(&ps->vars[V_LDAP_SERVERS], "<22>ק<EFBFBD>", "<22>a<EFBFBD>}<7D>C<EFBFBD><43>")){
|
|
|
|
|
unsigned flags = 0;
|
|
|
|
|
|
|
|
|
|
opt_screen = &screen;
|
|
|
|
|
@@ -2665,7 +2665,7 @@
|
|
|
|
|
#endif /* notdef */
|
|
|
|
|
|
|
|
|
|
(void)conf_scroll_screen(ps, &screen, first_line,
|
|
|
|
|
- "SETUP DIRECTORY SERVERS", "servers ", 1);
|
|
|
|
|
+ "<22>]<5D>w<EFBFBD>a<EFBFBD>}<7D><><EFBFBD>A<EFBFBD><41>", "servers ", 1);
|
|
|
|
|
ps->mangled_screen = 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -2685,20 +2685,20 @@
|
|
|
|
|
case MC_DELETE :
|
|
|
|
|
if(first_one)
|
|
|
|
|
q_status_message(SM_ORDER|SM_DING, 0, 3,
|
|
|
|
|
- "Nothing to Delete, use Add");
|
|
|
|
|
+ "<22>S<EFBFBD><53><EFBFBD>i<EFBFBD>ѧR<D1A7><52><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ءA<D8A1>Хηs<CEB7>W");
|
|
|
|
|
else
|
|
|
|
|
dir_config_del(ps, cl);
|
|
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case MC_ADD :
|
|
|
|
|
- if(!fixed_var((*cl)->var, NULL, "directory list"))
|
|
|
|
|
+ if(!fixed_var((*cl)->var, NULL, "<22>a<EFBFBD>}<7D>C<EFBFBD><43>"))
|
|
|
|
|
dir_config_add(ps, cl);
|
|
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case MC_EDIT :
|
|
|
|
|
- if(!fixed_var((*cl)->var, NULL, "directory list")){
|
|
|
|
|
+ if(!fixed_var((*cl)->var, NULL, "<22>a<EFBFBD>}<7D>C<EFBFBD><43>")){
|
|
|
|
|
if(first_one)
|
|
|
|
|
dir_config_add(ps, cl);
|
|
|
|
|
else
|
|
|
|
|
@@ -2708,10 +2708,10 @@
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case MC_SHUFFLE :
|
|
|
|
|
- if(!fixed_var((*cl)->var, NULL, "directory list")){
|
|
|
|
|
+ if(!fixed_var((*cl)->var, NULL, "<22>a<EFBFBD>}<7D>C<EFBFBD><43>")){
|
|
|
|
|
if(first_one)
|
|
|
|
|
q_status_message(SM_ORDER|SM_DING, 0, 3,
|
|
|
|
|
- "Nothing to Shuffle, use Add");
|
|
|
|
|
+ "<22>S<EFBFBD><53><EFBFBD>i<EFBFBD>ѭ<EFBFBD><D1AD>㪺<EFBFBD><E3AABA><EFBFBD>ءA<D8A1>Хηs<CEB7>W");
|
1998-02-02 14:34:45 +00:00
|
|
|
|
else
|
1998-07-21 14:11:48 +00:00
|
|
|
|
dir_config_shuffle(ps, cl);
|
|
|
|
|
}
|
|
|
|
|
@@ -2840,7 +2840,7 @@
|
|
|
|
|
write_pinerc(ps);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
- q_status_message(SM_ORDER, 0, 3, "Add cancelled, no server name");
|
|
|
|
|
+ q_status_message(SM_ORDER, 0, 3, "<22>S<EFBFBD><53><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD><41><EFBFBD>W<EFBFBD>١A<D9A1><41><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD>W");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
free_ldap_server_info(&info);
|
|
|
|
|
@@ -2870,7 +2870,7 @@
|
|
|
|
|
|
|
|
|
|
if(cnt < 2){
|
|
|
|
|
q_status_message(SM_ORDER, 0, 3,
|
|
|
|
|
- "Shuffle only makes sense when there is more than one server defined");
|
|
|
|
|
+ "<22>Ȧb<C8A6>w<EFBFBD>q<EFBFBD>F<EFBFBD>h<EFBFBD>Ӧ<EFBFBD><D3A6>A<EFBFBD><41><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD><41><EFBFBD><EFBFBD><EFBFBD>~<7E><><EFBFBD>o<EFBFBD><6F><EFBFBD>@<40><>");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -2881,12 +2881,12 @@
|
|
|
|
|
opts[i].ch = 'u';
|
|
|
|
|
opts[i].rval = 'u';
|
|
|
|
|
opts[i].name = "U";
|
|
|
|
|
- opts[i++].label = "Up";
|
|
|
|
|
+ opts[i++].label = "<22>W";
|
|
|
|
|
|
|
|
|
|
opts[i].ch = 'd';
|
|
|
|
|
opts[i].rval = 'd';
|
|
|
|
|
opts[i].name = "D";
|
|
|
|
|
- opts[i++].label = "Down";
|
|
|
|
|
+ opts[i++].label = "<22>U";
|
|
|
|
|
|
|
|
|
|
opts[i].ch = -1;
|
|
|
|
|
deefault = 'u';
|
|
|
|
|
@@ -2898,11 +2898,11 @@
|
|
|
|
|
else if(current_num == cnt - 1) /* no down */
|
|
|
|
|
opts[1].ch = -2;
|
|
|
|
|
|
|
|
|
|
- sprintf(tmp, "Shuffle \"%s\" %s%s%s ? ",
|
|
|
|
|
+ sprintf(tmp, "<22><><EFBFBD><EFBFBD> \"%s\" %s%s%s ? ",
|
|
|
|
|
(*cl)->value,
|
|
|
|
|
- (opts[0].ch != -2) ? "UP" : "",
|
|
|
|
|
+ (opts[0].ch != -2) ? "<22><><EFBFBD>W" : "",
|
|
|
|
|
(opts[0].ch != -2 && opts[1].ch != -2) ? " or " : "",
|
|
|
|
|
- (opts[1].ch != -2) ? "DOWN" : "");
|
|
|
|
|
+ (opts[1].ch != -2) ? "<22><><EFBFBD>U" : "");
|
|
|
|
|
help = (opts[0].ch == -2) ? h_dir_shuf_down
|
|
|
|
|
: (opts[1].ch == -2) ? h_dir_shuf_up
|
|
|
|
|
: h_dir_shuf;
|
|
|
|
|
@@ -2912,7 +2912,7 @@
|
|
|
|
|
|
|
|
|
|
switch(rv){
|
|
|
|
|
case 'x':
|
|
|
|
|
- q_status_message(SM_ORDER, 0, 3, "Shuffle cancelled");
|
|
|
|
|
+ q_status_message(SM_ORDER, 0, 3, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
case 'u':
|
|
|
|
|
@@ -2950,7 +2950,7 @@
|
|
|
|
|
free_list_array(&new_list);
|
|
|
|
|
if(j){
|
|
|
|
|
q_status_message(SM_ORDER, 0, 3,
|
|
|
|
|
- "Shuffle cancelled: couldn't save configuration file");
|
|
|
|
|
+ "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>G<EFBFBD>L<EFBFBD>k<EFBFBD>s<EFBFBD>J<EFBFBD>]<5D>w<EFBFBD><77>");
|
|
|
|
|
set_current_val((*cl)->var, TRUE, FALSE);
|
|
|
|
|
return;
|
1998-02-02 14:34:45 +00:00
|
|
|
|
}
|
1998-07-21 14:11:48 +00:00
|
|
|
|
@@ -3002,10 +3002,10 @@
|
|
|
|
|
info = break_up_ldap_server(raw_server);
|
|
|
|
|
|
|
|
|
|
if(strcmp((*cl)->var->current_val.l[(*cl)->varmem], raw_server) == 0)
|
|
|
|
|
- q_status_message(SM_ORDER, 0, 3, "No change, cancelled");
|
|
|
|
|
+ q_status_message(SM_ORDER, 0, 3, "<22>S<EFBFBD><53><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܡA<DCA1><41><EFBFBD><EFBFBD>");
|
|
|
|
|
else if(!(info && info->serv && *info->serv))
|
|
|
|
|
q_status_message(SM_ORDER, 0, 3,
|
|
|
|
|
- "Change cancelled, use Delete if you want to remove this server");
|
|
|
|
|
+ "<22>w<EFBFBD><77><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܡA<DCA1>p<EFBFBD><70><EFBFBD>R<EFBFBD><52><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD><41><EFBFBD>A<EFBFBD>ХΧR<CEA7><52>");
|
|
|
|
|
else{
|
|
|
|
|
char tmp[900];
|
|
|
|
|
char *subtitle;
|
|
|
|
|
@@ -3740,7 +3740,7 @@
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
q_status_message(SM_ORDER, 3, 3,
|
|
|
|
|
- "Can't delete sys-admin defined value");
|
|
|
|
|
+ "<22>L<EFBFBD>k<EFBFBD>R<EFBFBD><52><EFBFBD>t<EFBFBD>κz<DEB2><7A><EFBFBD>w<EFBFBD>q<EFBFBD><71><EFBFBD>]<5D>w<EFBFBD>ȡC");
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
int cnt, ans = 0;
|
|
|
|
|
@@ -3763,8 +3763,8 @@
|
|
|
|
|
*/
|
|
|
|
|
if(!(*cl)->var->user_val.l && cnt > 1){
|
|
|
|
|
static ESCKEY_S opts[] = {
|
|
|
|
|
- {'i', 'i', "I", "Ignore All"},
|
|
|
|
|
- {'r', 'r', "R", "Remove One"},
|
|
|
|
|
+ {'i', 'i', "I", "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"},
|
|
|
|
|
+ {'r', 'r', "R", "<22><><EFBFBD><EFBFBD><EFBFBD>@<40><>"},
|
|
|
|
|
{-1, 0, NULL, NULL}};
|
|
|
|
|
ans = radio_buttons(
|
|
|
|
|
"Ignore all default directory servers or just remove this one ? ",
|
|
|
|
|
@@ -3870,7 +3870,7 @@
|
|
|
|
|
CONF_S *first_line = NULL;
|
|
|
|
|
|
|
|
|
|
q_status_message(SM_ORDER, 0, 3,
|
|
|
|
|
- "Reverting to default directory server");
|
|
|
|
|
+ "<22>^<5E>_<EFBFBD>ܹw<DCB9>]<5D><><EFBFBD>a<EFBFBD>}<7D><><EFBFBD>A<EFBFBD><41>");
|
|
|
|
|
dir_init_display(ps, cl, servers,
|
|
|
|
|
&ps->vars[V_LDAP_SERVERS], &first_line);
|
|
|
|
|
*cl = first_line;
|
|
|
|
|
@@ -3910,7 +3910,7 @@
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
- q_status_message(SM_ORDER, 0, 3, "Server not deleted");
|
|
|
|
|
+ q_status_message(SM_ORDER, 0, 3, "<22><><EFBFBD>A<EFBFBD><41><EFBFBD><EFBFBD><EFBFBD>Q<EFBFBD>R<EFBFBD><52>");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(rv == 1){
|
|
|
|
|
@@ -4416,7 +4416,7 @@
|
|
|
|
|
ps->mangled_screen = 1;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
- q_status_message(SM_ORDER,0,3,"No help yet!");
|
|
|
|
|
+ q_status_message(SM_ORDER,0,3,"<22><><EFBFBD>U<EFBFBD><55><EFBFBD><EFBFBD><EFBFBD>|<7C><><EFBFBD>s<EFBFBD>b<EFBFBD>I");
|
|
|
|
|
|
|
|
|
|
break;
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
|
|
|
|
@@ -4473,7 +4473,7 @@
|
1998-07-21 14:11:48 +00:00
|
|
|
|
if(i)
|
|
|
|
|
config_scroll_up(i);
|
1998-02-02 14:34:45 +00:00
|
|
|
|
else
|
1998-07-21 14:11:48 +00:00
|
|
|
|
- q_status_message(SM_ORDER,0,1, "Already at end of screen");
|
|
|
|
|
+ q_status_message(SM_ORDER,0,1, "<22>w<EFBFBD>g<EFBFBD>b<EFBFBD>e<EFBFBD><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>F");
|
|
|
|
|
}
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
break;
|
|
|
|
|
@@ -4497,7 +4497,7 @@
|
1998-02-02 14:34:45 +00:00
|
|
|
|
}
|
1998-07-21 14:11:48 +00:00
|
|
|
|
else
|
|
|
|
|
q_status_message(SM_ORDER, 0, 1,
|
|
|
|
|
- "Already at start of screen");
|
|
|
|
|
+ "<22>w<EFBFBD>g<EFBFBD>b<EFBFBD>e<EFBFBD><65><EFBFBD><EFBFBD><EFBFBD>_<EFBFBD>l<EFBFBD>F");
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
@@ -4540,7 +4540,7 @@
|
|
|
|
|
|
|
|
|
|
if(ctmpa == screen->current){
|
|
|
|
|
q_status_message(SM_ORDER,0,1,
|
|
|
|
|
- "Already at end of screen");
|
|
|
|
|
+ "<22>w<EFBFBD>g<EFBFBD>b<EFBFBD>e<EFBFBD><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>F");
|
|
|
|
|
goto no_down;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -4571,7 +4571,7 @@
|
|
|
|
|
if(ctmpa){
|
|
|
|
|
if(ctmpa == screen->current)
|
|
|
|
|
q_status_message(SM_ORDER, 0, 1,
|
|
|
|
|
- "Already at start of screen");
|
|
|
|
|
+ "<22>w<EFBFBD>g<EFBFBD>b<EFBFBD>e<EFBFBD><65><EFBFBD><EFBFBD><EFBFBD>_<EFBFBD>l<EFBFBD>F");
|
|
|
|
|
|
|
|
|
|
screen->current = ctmpa;
|
1998-02-02 14:34:45 +00:00
|
|
|
|
}
|
1998-07-21 14:11:48 +00:00
|
|
|
|
@@ -4651,13 +4651,13 @@
|
|
|
|
|
HelpType help;
|
|
|
|
|
static ESCKEY_S ekey[] = {
|
|
|
|
|
{0, 0, "", ""},
|
|
|
|
|
- {ctrl('Y'), 10, "^Y", "Top"},
|
|
|
|
|
- {ctrl('V'), 11, "^V", "Bottom"},
|
|
|
|
|
+ {ctrl('Y'), 10, "^Y", "<22><><EFBFBD><EFBFBD>"},
|
|
|
|
|
+ {ctrl('V'), 11, "^V", "<22><><EFBFBD><EFBFBD>"},
|
|
|
|
|
{-1, 0, NULL, NULL}};
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
ps->mangled_footer = 1;
|
|
|
|
|
buf[0] = '\0';
|
|
|
|
|
- sprintf(tmp, "Word to find %s%s%s: ",
|
|
|
|
|
+ sprintf(tmp, "<22><><EFBFBD>j<EFBFBD>M<EFBFBD><4D><EFBFBD><EFBFBD><EFBFBD>r %s%s%s: ",
|
|
|
|
|
(last[0]) ? "[" : "",
|
|
|
|
|
(last[0]) ? last : "",
|
|
|
|
|
(last[0]) ? "]" : "");
|
|
|
|
|
@@ -4779,7 +4779,7 @@
|
|
|
|
|
result = "Searched to bottom";
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
- result = "WhereIs cancelled";
|
|
|
|
|
+ result = "<22><><EFBFBD><EFBFBD><EFBFBD>j<EFBFBD>M";
|
|
|
|
|
|
|
|
|
|
if((found & FOUND_IT) && ctmpa){
|
|
|
|
|
strcpy(last, buf);
|
|
|
|
|
@@ -4798,7 +4798,7 @@
|
|
|
|
|
screen->current = ctmpa;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
- q_status_message(SM_ORDER,0,3,result ? result : "Word not found");
|
|
|
|
|
+ q_status_message(SM_ORDER,0,3,result ? result : "<22>䤣<EFBFBD><E4A4A3><EFBFBD>Ӧr");
|
1998-02-02 14:34:45 +00:00
|
|
|
|
}
|
1998-07-21 14:11:48 +00:00
|
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
@@ -4813,10 +4813,10 @@
|
|
|
|
|
if(edit_config
|
|
|
|
|
&& (ps_global->restricted || ps_global->readonly_pinerc)){
|
|
|
|
|
q_status_message1(SM_ORDER, 0, 3,
|
|
|
|
|
- "%s can't change options or settings",
|
|
|
|
|
- ps_global->restricted ? "Pine demo"
|
|
|
|
|
- : "Config file not changeable,");
|
|
|
|
|
- if(cmd == MC_EXIT){
|
|
|
|
|
+ "%s<>L<EFBFBD>k<EFBFBD><6B><EFBFBD>ܿﶵ<DCBF>γ]<5D>w",
|
|
|
|
|
+ ps_global->restricted ? "Pine <20>i<EFBFBD>ܪ<EFBFBD>"
|
|
|
|
|
+ : "<22>]<5D>w<EFBFBD>ɵL<C9B5>k<EFBFBD><6B><EFBFBD>ܡA");
|
|
|
|
|
+ if(cmd == MC_EXIT || cmd == KEY_LEFT){
|
|
|
|
|
retval = 0;
|
|
|
|
|
done++;
|
1998-02-02 14:34:45 +00:00
|
|
|
|
}
|
1998-07-21 14:11:48 +00:00
|
|
|
|
@@ -4831,9 +4831,9 @@
|
|
|
|
|
&screen->current, flags)){
|
|
|
|
|
case -1:
|
|
|
|
|
q_status_message2(SM_ORDER, 0, 2,
|
|
|
|
|
- "Command \"%s\" not defined here.%s",
|
|
|
|
|
+ "<22>R<EFBFBD>O \"%s\" <20><><EFBFBD>b<EFBFBD><62><EFBFBD>w<EFBFBD>q<EFBFBD>C%s",
|
|
|
|
|
pretty_command(ch),
|
|
|
|
|
- F_ON(F_BLANK_KEYMENU,ps) ? "" : " See key menu below.");
|
|
|
|
|
+ F_ON(F_BLANK_KEYMENU,ps) ? "" : "<22>аѦҤU<D2A4>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>M<EFBFBD><4D><EFBFBD>C");
|
1998-02-02 14:34:45 +00:00
|
|
|
|
break;
|
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
case 0:
|
|
|
|
|
@@ -5368,11 +5368,11 @@
|
|
|
|
|
ekey[1].ch = ctrl('P');
|
|
|
|
|
ekey[1].rval = ctrl('P');
|
|
|
|
|
ekey[1].name = "^P";
|
|
|
|
|
- ekey[1].label = "Decrease";
|
|
|
|
|
+ ekey[1].label = "<22><><EFBFBD><EFBFBD>";
|
|
|
|
|
ekey[2].ch = ctrl('N');
|
|
|
|
|
ekey[2].rval = ctrl('N');
|
|
|
|
|
ekey[2].name = "^N";
|
|
|
|
|
- ekey[2].label = "Increase";
|
|
|
|
|
+ ekey[2].label = "<22>W<EFBFBD>[";
|
|
|
|
|
ekey[3].ch = KEY_DOWN;
|
|
|
|
|
ekey[3].rval = ctrl('P');
|
|
|
|
|
ekey[3].name = "";
|
|
|
|
|
@@ -5387,12 +5387,12 @@
|
|
|
|
|
sval[0] = '\0';
|
|
|
|
|
switch(cmd){
|
|
|
|
|
case MC_ADD: /* add to list */
|
|
|
|
|
- if(fixed_var((*cl)->var, "add to", NULL)){
|
|
|
|
|
+ if(fixed_var((*cl)->var, "<22>s<EFBFBD>W", NULL)){
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
else if(!(*cl)->var->is_list && (*cl)->var->user_val.p){
|
|
|
|
|
q_status_message(SM_ORDER, 3, 3,
|
|
|
|
|
- "Only single value allowed. Use \"Change\".");
|
|
|
|
|
+ "<22>Ȥ<EFBFBD><C8A4>\\<5C><><EFBFBD>@<40>]<5D>w<EFBFBD>ȡC<C8A1>Х<EFBFBD> \"Change\".");
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
int maxwidth =min(80,ps->ttyo->screen_cols) - 15;
|
|
|
|
|
@@ -5416,7 +5416,7 @@
|
1998-02-02 14:34:45 +00:00
|
|
|
|
}
|
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
sprintf(prompt,
|
|
|
|
|
- "Enter text to insert before \"%.*s\": ",k,tmpval);
|
|
|
|
|
+ "<22><><EFBFBD>J<EFBFBD><4A><EFBFBD>b \"%.*s\" <20><><EFBFBD>e<EFBFBD><65><EFBFBD>r<EFBFBD><72><EFBFBD>G",k,tmpval);
|
|
|
|
|
}
|
|
|
|
|
else if((*cl)->var->is_list
|
|
|
|
|
&& !(*cl)->var->user_val.l
|
|
|
|
|
@@ -5425,13 +5425,13 @@
|
|
|
|
|
ekey[0].ch = 'r';
|
|
|
|
|
ekey[0].rval = 'r';
|
|
|
|
|
ekey[0].name = "R";
|
|
|
|
|
- ekey[0].label = "Replace";
|
|
|
|
|
+ ekey[0].label = "<22><><EFBFBD>N";
|
|
|
|
|
ekey[1].ch = 'a';
|
|
|
|
|
ekey[1].rval = 'a';
|
|
|
|
|
ekey[1].name = "A";
|
|
|
|
|
- ekey[1].label = "Add To";
|
|
|
|
|
+ ekey[1].label = "<22>[<5B><>";
|
|
|
|
|
ekey[2].ch = -1;
|
|
|
|
|
- strcpy(prompt, "Replace or Add To default value ? ");
|
|
|
|
|
+ strcpy(prompt, "<22><><EFBFBD>N(R)<29>Υ[<5B><>(A)<29>w<EFBFBD>]<5D>ȡH");
|
|
|
|
|
switch(radio_buttons(prompt, -FOOTER_ROWS(ps), ekey, 'a', 'x',
|
|
|
|
|
h_config_replace_add, RB_NORM)){
|
|
|
|
|
case 'a':
|
|
|
|
|
@@ -5445,25 +5445,25 @@
|
|
|
|
|
}
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
add_text:
|
|
|
|
|
- sprintf(prompt, "Enter the %stext to be added : ",
|
|
|
|
|
- flags&CF_NUMBER ? "numeric " : "");
|
|
|
|
|
+ sprintf(prompt, "<22><><EFBFBD>J<EFBFBD>Q<EFBFBD>[<5B>J<EFBFBD><4A>%s<>r<EFBFBD>G",
|
|
|
|
|
+ flags&CF_NUMBER ? "<22><> " : "<22><>");
|
1998-02-02 14:34:45 +00:00
|
|
|
|
break;
|
1998-07-21 14:11:48 +00:00
|
|
|
|
|
|
|
|
|
case 'r':
|
|
|
|
|
replace_text:
|
|
|
|
|
- sprintf(prompt, "Enter the %sreplacement text : ",
|
|
|
|
|
- flags&CF_NUMBER ? "numeric " : "");
|
|
|
|
|
+ sprintf(prompt, "<22><><EFBFBD>J<EFBFBD>Q<EFBFBD><51><EFBFBD>N<EFBFBD><4E>%s<>r<EFBFBD>G",
|
|
|
|
|
+ flags&CF_NUMBER ? "<22><> " : "<22><>");
|
1998-02-02 14:34:45 +00:00
|
|
|
|
break;
|
1998-07-21 14:11:48 +00:00
|
|
|
|
|
|
|
|
|
case 'x':
|
|
|
|
|
i = 1;
|
|
|
|
|
- q_status_message(SM_ORDER,0,3,"Add cancelled");
|
|
|
|
|
+ q_status_message(SM_ORDER,0,3,"<22><><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD>W");
|
1998-02-02 14:34:45 +00:00
|
|
|
|
break;
|
|
|
|
|
}
|
1998-07-21 14:11:48 +00:00
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
- sprintf(prompt, "Enter the %stext to be added : ",
|
|
|
|
|
- flags&CF_NUMBER ? "numeric " : "");
|
|
|
|
|
+ sprintf(prompt, "<22><><EFBFBD>J<EFBFBD>Q<EFBFBD>[<5B>J<EFBFBD><4A>%s<>r<EFBFBD>G",
|
|
|
|
|
+ flags&CF_NUMBER ? "<22><> " : "<22><>");
|
|
|
|
|
|
|
|
|
|
ps->mangled_footer = 1;
|
|
|
|
|
|
|
|
|
|
@@ -5480,7 +5480,7 @@
|
|
|
|
|
ekey[0].ch = ctrl('W');
|
|
|
|
|
ekey[0].rval = 5;
|
|
|
|
|
ekey[0].name = "^W";
|
|
|
|
|
- ekey[0].label = after ? "InsertBefore" : "InsertAfter";
|
|
|
|
|
+ ekey[0].label = after ? "<22><><EFBFBD>b<EFBFBD>e<EFBFBD><65>" : "<22><><EFBFBD>b<EFBFBD>᭱";
|
|
|
|
|
ekey[1].ch = -1;
|
|
|
|
|
}
|
|
|
|
|
else if(!(flags&CF_NUMBER))
|
|
|
|
|
@@ -5534,7 +5534,7 @@
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
q_status_message1(SM_ORDER, 0, 3,
|
|
|
|
|
- "Can't add %s to list", empty_val);
|
|
|
|
|
+ "<22>L<EFBFBD>k<EFBFBD>N %s <20>[<5B>ܦC<DCA6><43><EFBFBD><EFBFBD>", empty_val);
|
|
|
|
|
rv = ps->mangled_body = 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -5542,7 +5542,7 @@
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
q_status_message1(SM_ORDER, 0, 3,
|
|
|
|
|
- "Can't add %s to list", empty_val);
|
|
|
|
|
+ "<22>L<EFBFBD>k<EFBFBD>N %s <20>[<5B>ܦC<DCA6><43><EFBFBD><EFBFBD>", empty_val);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
@@ -5550,7 +5550,7 @@
|
|
|
|
|
&& !(isdigit((unsigned char)sval[0])
|
|
|
|
|
|| sval[0] == '-' || sval[0] == '+')){
|
|
|
|
|
q_status_message(SM_ORDER,3,3,
|
|
|
|
|
- "Entry must be numeric");
|
|
|
|
|
+ "<22>Ӷ<EFBFBD><D3B6>إ<EFBFBD><D8A5><EFBFBD><EFBFBD>O<EFBFBD>Ʀr");
|
|
|
|
|
i = 3; /* to keep loop going */
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
@@ -5563,7 +5563,7 @@
|
1998-02-02 14:34:45 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
1998-07-21 14:11:48 +00:00
|
|
|
|
else if(i == 1){
|
|
|
|
|
- q_status_message(SM_ORDER,0,3,"Add cancelled");
|
|
|
|
|
+ q_status_message(SM_ORDER,0,3,"<22><><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD>W");
|
|
|
|
|
}
|
|
|
|
|
else if(i == 3){
|
|
|
|
|
help = help == NO_HELP ? h_config_add : NO_HELP;
|
|
|
|
|
@@ -5586,8 +5586,8 @@
|
|
|
|
|
}
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
sprintf(prompt,
|
|
|
|
|
- "Enter text to insert %s \"%.*s\": ",
|
|
|
|
|
- after ? "after" : "before", k, tmpval);
|
|
|
|
|
+ "<22><><EFBFBD>J<EFBFBD>Q<EFBFBD>n<EFBFBD><6E><EFBFBD>b \"%.*s\" %s<><73><EFBFBD><EFBFBD><EFBFBD>r",
|
|
|
|
|
+ k, tmpval, after ? "<22><><EFBFBD><EFBFBD>" : "<22><><EFBFBD>e");
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
else if(i == ctrl('P')){
|
|
|
|
|
@@ -5607,7 +5607,7 @@
|
|
|
|
|
*/
|
|
|
|
|
if(++repeat_key > 0){
|
|
|
|
|
q_status_message1(SM_ORDER,3,3,
|
|
|
|
|
- "Minimum value is %s", comatose(lowrange));
|
|
|
|
|
+ "<22>̤p<CCA4>ȬO %s", comatose(lowrange));
|
|
|
|
|
repeat_key = -5;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@@ -5631,7 +5631,7 @@
|
|
|
|
|
if(numval == hirange){
|
|
|
|
|
if(++repeat_key > 0){
|
|
|
|
|
q_status_message1(SM_ORDER,3,3,
|
|
|
|
|
- "Maximum value is %s", comatose(hirange));
|
|
|
|
|
+ "<22>̤j<CCA4>ȬO %s", comatose(hirange));
|
|
|
|
|
repeat_key = -5;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@@ -5684,7 +5684,7 @@
|
|
|
|
|
}
|
|
|
|
|
else if(((*cl)->var->is_list && !(*cl)->var->user_val.l)
|
|
|
|
|
|| (!(*cl)->var->is_list && !(*cl)->var->user_val.p)){
|
|
|
|
|
- q_status_message(SM_ORDER, 0, 3, "No set value to delete");
|
|
|
|
|
+ q_status_message(SM_ORDER, 0, 3, "<22>S<EFBFBD><53><EFBFBD>i<EFBFBD>ѧR<D1A7><52><EFBFBD><EFBFBD><EFBFBD>]<5D>w<EFBFBD><77>");
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
if((*cl)->var->is_fixed)
|
|
|
|
|
@@ -5700,7 +5700,8 @@
|
|
|
|
|
: "<NULL VALUE>",
|
|
|
|
|
(*cl)->var->name);
|
|
|
|
|
else
|
|
|
|
|
- sprintf(prompt, "Really delete %s%.20s from %.30s ",
|
|
|
|
|
+ sprintf(prompt, "<22>T<EFBFBD>w<EFBFBD><77> %.30s <20>R<EFBFBD><52> %s%.20s ",
|
|
|
|
|
+ (*cl)->var->name,
|
|
|
|
|
(*cl)->var->is_list ? "item " : "",
|
|
|
|
|
(*cl)->var->is_list
|
|
|
|
|
? int2string((*cl)->varmem + 1)
|
|
|
|
|
@@ -5708,8 +5709,7 @@
|
|
|
|
|
? (!*(*cl)->var->user_val.p)
|
|
|
|
|
? empty_val2
|
|
|
|
|
: (*cl)->var->user_val.p
|
|
|
|
|
- : "<NULL VALUE>",
|
|
|
|
|
- (*cl)->var->name);
|
|
|
|
|
+ : "<NULL VALUE>");
|
|
|
|
|
|
|
|
|
|
ps->mangled_footer = 1;
|
|
|
|
|
if(want_to(prompt, 'n', 'n', NO_HELP, WT_FLUSH_IN) == 'y'){
|
|
|
|
|
@@ -5724,7 +5724,7 @@
|
|
|
|
|
}
|
1998-02-02 14:34:45 +00:00
|
|
|
|
}
|
1998-07-21 14:11:48 +00:00
|
|
|
|
else
|
|
|
|
|
- q_status_message(SM_ORDER, 0, 3, "Value not deleted");
|
|
|
|
|
+ q_status_message(SM_ORDER, 0, 3, "<22>]<5D>w<EFBFBD>ȥ<EFBFBD><C8A5>Q<EFBFBD>R<EFBFBD><52>");
|
|
|
|
|
}
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
|
|
|
|
break;
|
1998-07-21 14:11:48 +00:00
|
|
|
|
@@ -5853,7 +5853,7 @@
|
|
|
|
|
&& !(isdigit((unsigned char)sval[0])
|
|
|
|
|
|| sval[0] == '-' || sval[0] == '+')){
|
|
|
|
|
q_status_message(SM_ORDER,3,3,
|
|
|
|
|
- "Entry must be numeric");
|
|
|
|
|
+ "<22>Ӷ<EFBFBD><D3B6>إ<EFBFBD><D8A5><EFBFBD><EFBFBD>O<EFBFBD>Ʀr");
|
|
|
|
|
continue;
|
|
|
|
|
}
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
@@ -5867,7 +5867,7 @@
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else if(i == 1){
|
|
|
|
|
- q_status_message(SM_ORDER,0,3,"Change cancelled");
|
|
|
|
|
+ q_status_message(SM_ORDER,0,3,"<22><><EFBFBD><EFBFBD><EFBFBD>ק<EFBFBD>");
|
|
|
|
|
}
|
|
|
|
|
else if(i == 3){
|
|
|
|
|
help = help == NO_HELP ? h_config_change : NO_HELP;
|
|
|
|
|
@@ -5885,7 +5885,7 @@
|
|
|
|
|
*/
|
|
|
|
|
if(++repeat_key > 0){
|
|
|
|
|
q_status_message1(SM_ORDER,3,3,
|
|
|
|
|
- "Minimum value is %s", comatose(lowrange));
|
|
|
|
|
+ "<22>̤p<CCA4>ȬO %s", comatose(lowrange));
|
|
|
|
|
repeat_key = -5;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@@ -5901,7 +5901,7 @@
|
|
|
|
|
if(numval == hirange){
|
|
|
|
|
if(++repeat_key > 0){
|
|
|
|
|
q_status_message1(SM_ORDER,3,3,
|
|
|
|
|
- "Maximum value is %s", comatose(hirange));
|
|
|
|
|
+ "<22>̤j<CCA4>ȬO %s", comatose(hirange));
|
|
|
|
|
repeat_key = -5;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@@ -5988,15 +5988,15 @@
|
|
|
|
|
if(flags & CF_CHANGES){
|
|
|
|
|
switch(want_to(EXIT_PMT, 'y', 'x', h_config_undo, WT_FLUSH_IN)){
|
|
|
|
|
case 'y':
|
|
|
|
|
- q_status_message1(SM_ORDER,0,3,"%s changes saved", cmd);
|
|
|
|
|
+ q_status_message1(SM_ORDER,0,3,"%s <20><><EFBFBD><EFBFBD><EFBFBD>ܤw<DCA4>s<EFBFBD><73>", cmd);
|
|
|
|
|
return(2);
|
|
|
|
|
|
|
|
|
|
case 'n':
|
|
|
|
|
- q_status_message1(SM_ORDER,3,5,"No %s changes saved", cmd);
|
|
|
|
|
+ q_status_message1(SM_ORDER,3,5,"%s <20><><EFBFBD>ܥ<EFBFBD><DCA5>s<EFBFBD><73>", cmd);
|
|
|
|
|
return(10);
|
|
|
|
|
|
|
|
|
|
case 'x': /* ^C */
|
|
|
|
|
- q_status_message(SM_ORDER,3,5,"Changes not yet saved");
|
|
|
|
|
+ q_status_message(SM_ORDER,3,5,"<22><><EFBFBD>ܩ|<7C><><EFBFBD>Q<EFBFBD>s<EFBFBD><73>");
|
|
|
|
|
return(0);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@@ -6288,7 +6288,7 @@
|
|
|
|
|
&& want_to("Delete old unused personal option setting",
|
|
|
|
|
'y', 'n', NO_HELP, WT_FLUSH_IN) == 'y'){
|
|
|
|
|
fs_give((void **)&(*cl)->var->user_val.p);
|
|
|
|
|
- q_status_message(SM_ORDER, 0, 3, "Deleted");
|
|
|
|
|
+ q_status_message(SM_ORDER, 0, 3, "<22>w<EFBFBD>R<EFBFBD><52>");
|
|
|
|
|
rv = 1;
|
|
|
|
|
}
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
@@ -6427,7 +6427,7 @@
|
|
|
|
|
&& want_to("Delete old unused personal option setting",
|
|
|
|
|
'y', 'n', NO_HELP, WT_FLUSH_IN) == 'y'){
|
|
|
|
|
fs_give((void **)&(*cl)->var->user_val.p);
|
|
|
|
|
- q_status_message(SM_ORDER, 0, 3, "Deleted");
|
|
|
|
|
+ q_status_message(SM_ORDER, 0, 3, "<22>w<EFBFBD>R<EFBFBD><52>");
|
|
|
|
|
rv = 1;
|
|
|
|
|
}
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
@@ -6517,15 +6517,15 @@
|
|
|
|
|
fs_give((void **)&q);
|
|
|
|
|
}
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
- q_status_message3(SM_ORDER,0,3, "Default printer %s%s%s",
|
|
|
|
|
- p ? "set to \"" : "unset", p ? p : "", p ? "\"" : "");
|
|
|
|
|
+ q_status_message3(SM_ORDER,0,3, "<22>w<EFBFBD>]<5D>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>ثe%s%s%s",
|
|
|
|
|
+ p ? "<22>]<5D>w<EFBFBD><77> \"" : "<22><><EFBFBD>]", p ? p : "", p ? "\"" : "");
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
if(p)
|
|
|
|
|
fs_give((void **)&p);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
q_status_message(SM_ORDER,3,5,
|
|
|
|
|
- "Trouble setting default printer");
|
|
|
|
|
+ "<22><><EFBFBD><EFBFBD><EFBFBD>D<EFBFBD><44><EFBFBD>w<EFBFBD>]<5D>L<EFBFBD><4C><EFBFBD><EFBFBD>");
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
retval = 1;
|
|
|
|
|
}
|
|
|
|
|
@@ -6536,11 +6536,11 @@
|
|
|
|
|
set_variable(V_PERSONAL_PRINT_CATEGORY,
|
|
|
|
|
comatose(ps->printer_category), 0);
|
|
|
|
|
q_status_message1(SM_ORDER,0,3,
|
|
|
|
|
- "Default printer set to \"%s\"", ANSI_PRINTER);
|
|
|
|
|
+ "<22>w<EFBFBD>]<5D>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>]<5D>w<EFBFBD><77> \"%s\"", ANSI_PRINTER);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
q_status_message(SM_ORDER,3,5,
|
|
|
|
|
- "Trouble setting default printer");
|
|
|
|
|
+ "<22><><EFBFBD><EFBFBD><EFBFBD>D<EFBFBD><44><EFBFBD>w<EFBFBD>]<5D>L<EFBFBD><4C><EFBFBD><EFBFBD>");
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
retval = 1;
|
1998-02-02 14:34:45 +00:00
|
|
|
|
}
|
1998-07-21 14:11:48 +00:00
|
|
|
|
@@ -6555,11 +6555,11 @@
|
|
|
|
|
set_variable(V_PERSONAL_PRINT_CATEGORY,
|
|
|
|
|
comatose(ps->printer_category), 0);
|
|
|
|
|
q_status_message1(SM_ORDER,0,3,
|
|
|
|
|
- "Default printer set to \"%s\"", aname);
|
|
|
|
|
+ "<22>w<EFBFBD>]<5D>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>]<5D>w<EFBFBD><77> \"%s\"", aname);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
q_status_message(SM_ORDER,3,5,
|
|
|
|
|
- "Trouble setting default printer");
|
|
|
|
|
+ "<22><><EFBFBD><EFBFBD><EFBFBD>D<EFBFBD><44><EFBFBD>w<EFBFBD>]<5D>L<EFBFBD><4C><EFBFBD><EFBFBD>");
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
retval = 1;
|
|
|
|
|
}
|
|
|
|
|
@@ -6609,7 +6609,7 @@
|
|
|
|
|
switch(cmd){
|
|
|
|
|
case MC_ADD: /* add to list */
|
|
|
|
|
sval[0] = '\0';
|
|
|
|
|
- if(!fixed_var((*cl)->var, "add to", NULL)){
|
|
|
|
|
+ if(!fixed_var((*cl)->var, "<22>s<EFBFBD>W", NULL)){
|
|
|
|
|
|
|
|
|
|
if((*cl)->var->user_val.l && (*cl)->value){
|
|
|
|
|
strcpy(prompt, "Enter printer name : ");
|
|
|
|
|
@@ -6641,17 +6641,17 @@
|
|
|
|
|
ltmp[k + 1] = ltmp[k] = NULL;
|
|
|
|
|
|
|
|
|
|
add_text:
|
|
|
|
|
- strcpy(prompt, "Enter name of printer to be added : ");
|
|
|
|
|
+ strcpy(prompt, "<22><><EFBFBD>s<EFBFBD>W<EFBFBD><57><EFBFBD>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>W<EFBFBD>١G");
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case 'r':
|
|
|
|
|
replace_text:
|
|
|
|
|
strcpy(prompt,
|
|
|
|
|
- "Enter the name for replacement printer : ");
|
|
|
|
|
+ "<22><><EFBFBD><EFBFBD><EFBFBD>N<EFBFBD><4E><EFBFBD>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>W<EFBFBD>١G");
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case 'x':
|
|
|
|
|
- q_status_message(SM_ORDER,0,3,"Add cancelled");
|
|
|
|
|
+ q_status_message(SM_ORDER,0,3,"<22><><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD>W");
|
|
|
|
|
break;
|
|
|
|
|
}
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
@@ -6659,7 +6659,7 @@
|
|
|
|
|
break;
|
1998-02-02 14:34:45 +00:00
|
|
|
|
}
|
1998-07-21 14:11:48 +00:00
|
|
|
|
else
|
|
|
|
|
- strcpy(prompt, "Enter name of printer to be added : ");
|
|
|
|
|
+ strcpy(prompt, "<22><><EFBFBD>s<EFBFBD>W<EFBFBD><57><EFBFBD>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>W<EFBFBD>١G");
|
|
|
|
|
|
|
|
|
|
ps->mangled_footer = 1;
|
|
|
|
|
help = NO_HELP;
|
|
|
|
|
@@ -6671,7 +6671,7 @@
|
|
|
|
|
ekey[0].ch = ctrl('W');
|
|
|
|
|
ekey[0].rval = 5;
|
|
|
|
|
ekey[0].name = "^W";
|
|
|
|
|
- ekey[0].label = after ? "InsertBefore" : "InsertAfter";
|
|
|
|
|
+ ekey[0].label = after ? "<22><><EFBFBD>b<EFBFBD><62><EFBFBD>e" : "<22><><EFBFBD>b<EFBFBD><62><EFBFBD><EFBFBD>";
|
|
|
|
|
ekey[1].ch = -1;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
@@ -6688,7 +6688,7 @@
|
|
|
|
|
removing_trailing_white_space(name);
|
|
|
|
|
}
|
|
|
|
|
else if(i == 1){
|
|
|
|
|
- q_status_message(SM_ORDER,0,3,"Add cancelled");
|
|
|
|
|
+ q_status_message(SM_ORDER,0,3,"<22><><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD>W");
|
|
|
|
|
}
|
|
|
|
|
else if(i == 3){
|
|
|
|
|
help = (help == NO_HELP) ? h_config_insert_after : NO_HELP;
|
|
|
|
|
@@ -6742,7 +6742,7 @@
|
|
|
|
|
* Don't allow input of multiple entries at once.
|
|
|
|
|
*/
|
|
|
|
|
q_status_message(SM_ORDER,3,5,
|
|
|
|
|
- "No commas allowed in command");
|
|
|
|
|
+ "<22>R<EFBFBD>O<EFBFBD><4F><EFBFBD><EFBFBD><EFBFBD>i<EFBFBD><69><EFBFBD>r<EFBFBD><72>");
|
|
|
|
|
i = 2;
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
@@ -6757,10 +6757,10 @@
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
q_status_message1(SM_ORDER, 0, 3,
|
|
|
|
|
- "Can't add %s to list", empty_val);
|
|
|
|
|
+ "<22>L<EFBFBD>k<EFBFBD>s<EFBFBD>W %s <20>ܦC<DCA6><43><EFBFBD><EFBFBD>", empty_val);
|
|
|
|
|
}
|
|
|
|
|
else if(i == 1){
|
|
|
|
|
- q_status_message(SM_ORDER,0,3,"Add cancelled");
|
|
|
|
|
+ q_status_message(SM_ORDER,0,3,"<22><><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD>W");
|
|
|
|
|
}
|
|
|
|
|
else if(i == 3){
|
|
|
|
|
help = help == NO_HELP ? h_config_print_cmd : NO_HELP;
|
|
|
|
|
@@ -6798,19 +6798,19 @@
|
1998-02-02 14:34:45 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
1998-07-21 14:11:48 +00:00
|
|
|
|
else if(!(*cl)->var->user_val.l){
|
|
|
|
|
- q_status_message(SM_ORDER, 0, 3, "No set value to delete");
|
|
|
|
|
+ q_status_message(SM_ORDER, 0, 3, "<22>S<EFBFBD><53><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>]<5D>w<EFBFBD>ȾD<C8BE>R<EFBFBD><52>");
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
if((*cl)->var->is_fixed){
|
|
|
|
|
parse_printer((*cl)->var->user_val.l[(*cl)->varmem],
|
|
|
|
|
&nick, &p, NULL, NULL, NULL, NULL);
|
|
|
|
|
- sprintf(prompt, "Delete (unused) printer %.30s ",
|
|
|
|
|
+ sprintf(prompt, "<22>R<EFBFBD><52> (<28><><EFBFBD>ϥΪ<CFA5>) <20>L<EFBFBD><4C><EFBFBD><EFBFBD> %.30s ",
|
|
|
|
|
*nick ? nick : (!*p) ? empty_val2 : p);
|
|
|
|
|
fs_give((void **)&nick);
|
|
|
|
|
fs_give((void **)&p);
|
1998-02-02 14:34:45 +00:00
|
|
|
|
}
|
1998-07-21 14:11:48 +00:00
|
|
|
|
else
|
|
|
|
|
- sprintf(prompt, "Really delete item %.20s from printer list ",
|
|
|
|
|
+ sprintf(prompt, "<22>T<EFBFBD>w<EFBFBD>ۦL<DBA6><4C><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>R<EFBFBD><52> %.20s",
|
|
|
|
|
int2string((*cl)->varmem + 1));
|
|
|
|
|
|
|
|
|
|
ps->mangled_footer = 1;
|
|
|
|
|
@@ -6820,7 +6820,7 @@
|
|
|
|
|
config_del_list_item(cl, &newval);
|
1998-02-02 14:34:45 +00:00
|
|
|
|
}
|
1998-07-21 14:11:48 +00:00
|
|
|
|
else
|
|
|
|
|
- q_status_message(SM_ORDER, 0, 3, "Printer not deleted");
|
|
|
|
|
+ q_status_message(SM_ORDER, 0, 3, "<22>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Q<EFBFBD>R<EFBFBD><52>");
|
1998-02-02 14:34:45 +00:00
|
|
|
|
}
|
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
break;
|
|
|
|
|
@@ -6831,7 +6831,7 @@
|
|
|
|
|
&& !strucmp(ps->VAR_PRINTER,(*cl)->var->current_val.l[(*cl)->varmem]))
|
|
|
|
|
changing_selected = 1;
|
|
|
|
|
|
|
|
|
|
- if(fixed_var((*cl)->var, NULL, "printer"))
|
|
|
|
|
+ if(fixed_var((*cl)->var, NULL, "<22>L<EFBFBD><4C><EFBFBD><EFBFBD>"))
|
|
|
|
|
break;
|
|
|
|
|
else if(!(*cl)->var->user_val.l && (*cl)->var->current_val.l)
|
|
|
|
|
goto replace_text;
|
|
|
|
|
@@ -6843,22 +6843,22 @@
|
|
|
|
|
ekey[0].ch = 'n';
|
|
|
|
|
ekey[0].rval = 'n';
|
|
|
|
|
ekey[0].name = "N";
|
|
|
|
|
- ekey[0].label = "Name";
|
|
|
|
|
+ ekey[0].label = "<22>W<EFBFBD><57>";
|
|
|
|
|
ekey[1].ch = 'c';
|
|
|
|
|
ekey[1].rval = 'c';
|
|
|
|
|
ekey[1].name = "C";
|
|
|
|
|
- ekey[1].label = "Command";
|
|
|
|
|
+ ekey[1].label = "<22>R<EFBFBD>O";
|
|
|
|
|
ekey[2].ch = 'o';
|
|
|
|
|
ekey[2].rval = 'o';
|
|
|
|
|
ekey[2].name = "O";
|
|
|
|
|
- ekey[2].label = "Options";
|
|
|
|
|
+ ekey[2].label = "<22>ﶵ";
|
|
|
|
|
ekey[3].ch = -1;
|
|
|
|
|
- strcpy(prompt, "Change Name or Command or Options ? ");
|
|
|
|
|
+ strcpy(prompt, "<22>ק<EFBFBD><D7A7>W<EFBFBD>١B<D9A1>R<EFBFBD>O<EFBFBD>οﶵ<CEBF>H");
|
|
|
|
|
i = radio_buttons(prompt, -FOOTER_ROWS(ps), ekey, 'c', 'x',
|
|
|
|
|
h_config_print_name_cmd, RB_NORM);
|
|
|
|
|
|
|
|
|
|
if(i == 'x'){
|
|
|
|
|
- q_status_message(SM_ORDER,0,3,"Change cancelled");
|
|
|
|
|
+ q_status_message(SM_ORDER,0,3,"<22><><EFBFBD><EFBFBD><EFBFBD>ק<EFBFBD>");
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
else if(i == 'c'){
|
|
|
|
|
@@ -6867,7 +6867,7 @@
|
|
|
|
|
parse_printer((*cl)->var->user_val.l[(*cl)->varmem],
|
|
|
|
|
NULL, &p, NULL, NULL, NULL, &all_but_cmd);
|
|
|
|
|
|
|
|
|
|
- strcpy(prompt, "Change command : ");
|
|
|
|
|
+ strcpy(prompt, "<22>ק<EFBFBD><D7A7>R<EFBFBD>O<EFBFBD>G");
|
|
|
|
|
strcpy(sval, p ? p : "");
|
|
|
|
|
fs_give((void **)&p);
|
|
|
|
|
|
|
|
|
|
@@ -6906,12 +6906,12 @@
|
|
|
|
|
* Don't allow input of multiple entries at once.
|
|
|
|
|
*/
|
|
|
|
|
q_status_message(SM_ORDER,3,5,
|
|
|
|
|
- "No commas allowed in command");
|
|
|
|
|
+ "<22>R<EFBFBD>O<EFBFBD><4F><EFBFBD><EFBFBD><EFBFBD>i<EFBFBD><69><EFBFBD>r<EFBFBD><72>");
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else if(i == 1){
|
|
|
|
|
- q_status_message(SM_ORDER,0,3,"Change cancelled");
|
|
|
|
|
+ q_status_message(SM_ORDER,0,3,"<22><><EFBFBD><EFBFBD><EFBFBD>ק<EFBFBD>");
|
|
|
|
|
}
|
|
|
|
|
else if(i == 3){
|
|
|
|
|
help = help == NO_HELP ? h_config_change : NO_HELP;
|
|
|
|
|
@@ -6930,7 +6930,7 @@
|
|
|
|
|
parse_printer((*cl)->var->user_val.l[(*cl)->varmem],
|
|
|
|
|
&p, NULL, NULL, NULL, &all_but_nick, NULL);
|
|
|
|
|
|
|
|
|
|
- strcpy(prompt, "Change name : ");
|
|
|
|
|
+ strcpy(prompt, "<22>ק<EFBFBD><D7A7>W<EFBFBD>١G");
|
|
|
|
|
strcpy(name, p ? p : "");
|
|
|
|
|
fs_give((void **)&p);
|
|
|
|
|
|
|
|
|
|
@@ -6960,7 +6960,7 @@
|
|
|
|
|
newval = &(*cl)->value;
|
|
|
|
|
}
|
|
|
|
|
else if(i == 1){
|
|
|
|
|
- q_status_message(SM_ORDER,0,3,"Change cancelled");
|
|
|
|
|
+ q_status_message(SM_ORDER,0,3,"<22><><EFBFBD><EFBFBD><EFBFBD>ק<EFBFBD>");
|
|
|
|
|
}
|
|
|
|
|
else if(i == 3){
|
|
|
|
|
help = help == NO_HELP ? h_config_change : NO_HELP;
|
|
|
|
|
@@ -6981,18 +6981,18 @@
|
|
|
|
|
ekey[0].ch = 'i';
|
|
|
|
|
ekey[0].rval = 'i';
|
|
|
|
|
ekey[0].name = "I";
|
|
|
|
|
- ekey[0].label = "Init";
|
|
|
|
|
+ ekey[0].label = "<22><><EFBFBD>l";
|
|
|
|
|
ekey[1].ch = 't';
|
|
|
|
|
ekey[1].rval = 't';
|
|
|
|
|
ekey[1].name = "T";
|
|
|
|
|
- ekey[1].label = "Trailer";
|
|
|
|
|
+ ekey[1].label = "<22><><EFBFBD><EFBFBD>";
|
|
|
|
|
ekey[2].ch = -1;
|
|
|
|
|
- strcpy(prompt, "Change Init string or Trailer string ? ");
|
|
|
|
|
+ strcpy(prompt, "<22>ק<EFBFBD><D7A7><EFBFBD><EFBFBD>l<EFBFBD>ε<EFBFBD><CEB5><EFBFBD><EFBFBD>r<EFBFBD><72><EFBFBD>H");
|
|
|
|
|
j = radio_buttons(prompt, -FOOTER_ROWS(ps), ekey, 'i', 'x',
|
|
|
|
|
h_config_print_opt_choice, RB_NORM);
|
|
|
|
|
|
|
|
|
|
if(j == 'x'){
|
|
|
|
|
- q_status_message(SM_ORDER,0,3,"Change cancelled");
|
|
|
|
|
+ q_status_message(SM_ORDER,0,3,"<22><><EFBFBD><EFBFBD><EFBFBD>ק<EFBFBD>");
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
@@ -7001,8 +7001,8 @@
|
|
|
|
|
parse_printer((*cl)->var->user_val.l[(*cl)->varmem],
|
|
|
|
|
&nick, &p, &init, &trailer, NULL, NULL);
|
|
|
|
|
|
|
|
|
|
- sprintf(prompt, "Change %s string : ",
|
|
|
|
|
- (j == 'i') ? "INIT" : "TRAILER");
|
|
|
|
|
+ sprintf(prompt, "<22>ק<EFBFBD> %s <20>r<EFBFBD><72><EFBFBD>G",
|
|
|
|
|
+ (j == 'i') ? "<22><><EFBFBD>l" : "<22><><EFBFBD><EFBFBD>");
|
|
|
|
|
strcpy(sval, (j == 'i') ? init : trailer);
|
|
|
|
|
|
|
|
|
|
tmp = string_to_cstring(sval);
|
|
|
|
|
@@ -7057,7 +7057,7 @@
|
|
|
|
|
newval = &(*cl)->value;
|
|
|
|
|
}
|
|
|
|
|
else if(i == 1){
|
|
|
|
|
- q_status_message(SM_ORDER,0,3,"Change cancelled");
|
|
|
|
|
+ q_status_message(SM_ORDER,0,3,"<22><><EFBFBD><EFBFBD><EFBFBD>ק<EFBFBD>");
|
|
|
|
|
}
|
|
|
|
|
else if(i == 3){
|
|
|
|
|
help=(help == NO_HELP)?h_config_print_init:NO_HELP;
|
|
|
|
|
@@ -7135,18 +7135,18 @@
|
|
|
|
|
|
|
|
|
|
case MC_DELETE :
|
|
|
|
|
if((*cl)->d.c.ct->use & CNTXT_INCMNG)
|
|
|
|
|
- q_status_message1(SM_ORDER, 0, 3, "Sorry, Can't delete %s",
|
|
|
|
|
+ q_status_message1(SM_ORDER, 0, 3, "<22>ܩ<EFBFBD><DCA9>p<EFBFBD>A<EFBFBD>L<EFBFBD>k<EFBFBD>R<EFBFBD><52> %s",
|
|
|
|
|
(*cl)->d.c.ct->nickname);
|
|
|
|
|
- else if(!fixed_var((*cl)->var, "delete", "collection"))
|
|
|
|
|
+ else if(!fixed_var((*cl)->var, "<22>R<EFBFBD><52>", "<22>`<60><>"))
|
|
|
|
|
context_select_delete(ps, cl);
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
break;
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
case MC_EDIT :
|
|
|
|
|
if((*cl)->d.c.ct->use & CNTXT_INCMNG)
|
|
|
|
|
- q_status_message1(SM_ORDER, 0, 3, "Sorry, Can't rename %s",
|
|
|
|
|
+ q_status_message1(SM_ORDER, 0, 3, "<22>ܩ<EFBFBD><DCA9>p<EFBFBD>A<EFBFBD>L<EFBFBD>k<EFBFBD><6B><EFBFBD>W %s",
|
|
|
|
|
(*cl)->d.c.ct->nickname);
|
|
|
|
|
- else if(!fixed_var((*cl)->var, "add to", "collection")){
|
|
|
|
|
+ else if(!fixed_var((*cl)->var, "<22>s<EFBFBD>W", "<22>`<60><>")){
|
|
|
|
|
context_select_edit(ps, cl);
|
|
|
|
|
ps->mangled_screen = 1;
|
|
|
|
|
}
|
|
|
|
|
@@ -7154,7 +7154,7 @@
|
|
|
|
|
break;
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
case MC_ADD :
|
|
|
|
|
- if(!fixed_var((*cl)->var, "add to", "collection")){
|
|
|
|
|
+ if(!fixed_var((*cl)->var, "<22>s<EFBFBD>W", "<22>`<60><>")){
|
|
|
|
|
context_select_add(ps, cl);
|
|
|
|
|
ps->mangled_screen = 1;
|
|
|
|
|
}
|
|
|
|
|
@@ -7163,9 +7163,9 @@
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
case MC_SHUFFLE :
|
|
|
|
|
if((*cl)->d.c.ct->use & CNTXT_INCMNG)
|
|
|
|
|
- q_status_message1(SM_ORDER, 0, 3, "Sorry, Can't Shuffle %s",
|
|
|
|
|
+ q_status_message1(SM_ORDER, 0, 3, "<22>ܩ<EFBFBD><DCA9>p<EFBFBD>A<EFBFBD>L<EFBFBD>k<EFBFBD><6B><EFBFBD><EFBFBD> %s",
|
|
|
|
|
(*cl)->d.c.ct->nickname);
|
|
|
|
|
- else if(!fixed_var((*cl)->var, "Shuffle", "collection"))
|
|
|
|
|
+ else if(!fixed_var((*cl)->var, "<22><><EFBFBD><EFBFBD>", "<22>`<60><>"))
|
|
|
|
|
context_select_shuffle(ps, cl);
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
break;
|
|
|
|
|
@@ -7232,7 +7232,7 @@
|
|
|
|
|
struct key_menu *km;
|
|
|
|
|
CONT_SCR_S *cs;
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
- if(raw_ctxt = context_edit_screen(ps, "ADD", NULL, NULL, NULL, NULL)){
|
|
|
|
|
+ if(raw_ctxt = context_edit_screen(ps, "<22>s<EFBFBD>W", NULL, NULL, NULL, NULL)){
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
/* create a corresponding new CONF_S */
|
|
|
|
|
new_ctxt = new_context(raw_ctxt, NULL);
|
|
|
|
|
@@ -7311,7 +7311,7 @@
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
/* Tell the user it was a huge success... */
|
|
|
|
|
q_status_message(SM_ORDER, 0, 3,
|
|
|
|
|
- "New collection added! Use \"$\" to adjust order.");
|
|
|
|
|
+ "<22>s<EFBFBD><73><EFBFBD>`<60><><EFBFBD>[<5B>J<EFBFBD>F<EFBFBD>I<EFBFBD>Х<EFBFBD> \"$\" <20>վ㶶<D5BE>ǡC");
|
|
|
|
|
}
|
|
|
|
|
}
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
@@ -7330,11 +7330,11 @@
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
if(!((*cl)->var->user_val.l && (*cl)->var->user_val.l[0])){
|
|
|
|
|
q_status_message(SM_ORDER | SM_DING, 3, 3,
|
|
|
|
|
- "Can't delete default value. Try rename.");
|
|
|
|
|
+ "<22>L<EFBFBD>k<EFBFBD>R<EFBFBD><52><EFBFBD>w<EFBFBD>]<5D>ȡC<C8A1>ոէ<D5B8><D5A7>W<EFBFBD>C");
|
|
|
|
|
return;
|
|
|
|
|
}
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
- sprintf(tmp, "Delete the collection definition for \"%.40s\"",
|
|
|
|
|
+ sprintf(tmp, "<22>R<EFBFBD><52> \"%.40s\" <20><><EFBFBD>`<60><><EFBFBD>w<EFBFBD>q",
|
|
|
|
|
old_cl->value);
|
|
|
|
|
if(want_to(tmp, 'n', 'n', NO_HELP, WT_FLUSH_IN) == 'y'){
|
|
|
|
|
/* Remove from var list */
|
|
|
|
|
@@ -7446,12 +7446,12 @@
|
|
|
|
|
ps->mangled_body = 1;
|
|
|
|
|
q_status_message(SM_ORDER, 0, 3,
|
|
|
|
|
(old_cl == *cl)
|
|
|
|
|
- ? "Last collection deleted. Using default."
|
|
|
|
|
- : "Collection deleted");
|
|
|
|
|
+ ? "<22>̫<EFBFBD><CCAB>@<40><><EFBFBD>`<60><><EFBFBD>w<EFBFBD>Q<EFBFBD>R<EFBFBD><52><EFBFBD>C<EFBFBD>ϥιw<CEB9>]<5D>ȡC"
|
|
|
|
|
+ : "<22><><EFBFBD><EFBFBD>w<EFBFBD>Q<EFBFBD>R<EFBFBD><52>");
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
- q_status_message(SM_ORDER, 0, 3, "No collections deleted");
|
|
|
|
|
+ q_status_message(SM_ORDER, 0, 3, "<22>S<EFBFBD><53><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`<60><><EFBFBD>Q<EFBFBD>R<EFBFBD><52>");
|
|
|
|
|
}
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
@@ -7473,7 +7473,7 @@
|
|
|
|
|
if(p = strstr(tpath, "%s"))
|
|
|
|
|
*p = '\0';
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
- if(raw_ctxt = context_edit_screen(ps, "EDIT", (*cl)->d.c.ct->nickname,
|
|
|
|
|
+ if(raw_ctxt = context_edit_screen(ps, "<22>s<EFBFBD><73>", (*cl)->d.c.ct->nickname,
|
|
|
|
|
(*cl)->d.c.ct->server, tpath,
|
|
|
|
|
(*cl)->d.c.ct->dir->view.user)){
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
@@ -7543,7 +7543,7 @@
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
set_current_val((*cl)->var, TRUE, FALSE);
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
- q_status_message(SM_ORDER, 0, 3, "Collection list entry updated");
|
|
|
|
|
+ q_status_message(SM_ORDER, 0, 3, "<22>w<EFBFBD><77><EFBFBD>s<EFBFBD>`<60><><EFBFBD>C<EFBFBD><43>");
|
1998-02-02 14:34:45 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
@@ -7585,7 +7585,7 @@
|
|
|
|
|
if((cmd = radio_buttons(prompt, -FOOTER_ROWS(ps), ekey,
|
|
|
|
|
(n == 1) ? 'd' : 0, 'x',
|
|
|
|
|
NO_HELP, RB_NORM)) == 'x'){
|
|
|
|
|
- cmd_cancelled("Shuffle");
|
|
|
|
|
+ cmd_cancelled("<22><><EFBFBD><EFBFBD>");
|
|
|
|
|
}
|
|
|
|
|
else if((cmd == 'u' && (ctmp = context_select_prev(*cl)))
|
|
|
|
|
|| (cmd == 'd' && (ctmp = context_select_next(*cl)))){
|
|
|
|
|
@@ -7684,7 +7684,7 @@
|
1998-02-02 14:34:45 +00:00
|
|
|
|
}
|
1998-07-21 14:11:48 +00:00
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
- q_status_message(SM_ORDER, 0, 3, "Sorry, nothing to Shuffle");
|
|
|
|
|
+ q_status_message(SM_ORDER, 0, 3, "<22>ܩ<EFBFBD><DCA9>p<EFBFBD>A<EFBFBD>S<EFBFBD><53><EFBFBD>F<EFBFBD><46><EFBFBD>i<EFBFBD>ѭ<EFBFBD><D1AD><EFBFBD>");
|
|
|
|
|
}
|
|
|
|
|
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
@@ -8146,7 +8146,7 @@
|
|
|
|
|
if(cl->var->current_val.l){
|
|
|
|
|
int i, l, l2;
|
|
|
|
|
|
|
|
|
|
- sstrcpy(&p, ": using \"");
|
|
|
|
|
+ sstrcpy(&p, "<22>G<EFBFBD>ثe<D8AB>ϥ<EFBFBD> \"");
|
|
|
|
|
for(i = 0; cl->var->current_val.l[i]; i++){
|
|
|
|
|
if(i)
|
|
|
|
|
*p++ = ',';
|
|
|
|
|
@@ -8178,7 +8178,7 @@
|
|
|
|
|
sprintf(tmp, cl->var->is_fixed
|
|
|
|
|
? "<%s%s%s%s>%*s" : "<%s%s%s%s>%*s",
|
|
|
|
|
cl->var->is_fixed ? fixed_val : no_val,
|
|
|
|
|
- (cl->var->current_val.p) ? ": using \"" : "",
|
|
|
|
|
+ (cl->var->current_val.p) ? "<22>G<EFBFBD>ثe<D8AB>ϥ<EFBFBD> \"" : "",
|
|
|
|
|
(cl->var->current_val.p) ? cl->var->current_val.p : "",
|
|
|
|
|
(cl->var->current_val.p) ? "\"" : "",
|
|
|
|
|
max(0, ps->ttyo->screen_cols - cl->valoffset - 13
|
|
|
|
|
@@ -8320,7 +8320,7 @@
|
|
|
|
|
p = (struncmp(*vp, "no-", 3)) ? *vp : *vp + 3;
|
|
|
|
|
if(!strucmp(p, f->name) || (og && !strucmp(p, "old-growth"))){
|
|
|
|
|
q_status_message(SM_ORDER, 3, 3,
|
|
|
|
|
- "Can't change value fixed by sys-admin.");
|
|
|
|
|
+ "<22>L<EFBFBD>k<EFBFBD>ק<EFBFBD><D7A7>t<EFBFBD>κz<DEB2><7A><EFBFBD>w<EFBFBD>q<EFBFBD><71><EFBFBD>]<5D>w<EFBFBD>ȡC");
|
|
|
|
|
return;
|
1998-02-02 14:34:45 +00:00
|
|
|
|
}
|
1998-07-21 14:11:48 +00:00
|
|
|
|
}
|
|
|
|
|
@@ -8355,7 +8355,7 @@
|
|
|
|
|
(void *)(F_ON(f->value,ps) ? 1 : 0));
|
|
|
|
|
else if(f->value == F_ENABLE_INCOMING && F_ON(f->value, ps)){
|
|
|
|
|
q_status_message(SM_ORDER | SM_DING, 3, 4,
|
|
|
|
|
- "Folder List changes will take effect your next pine session.");
|
|
|
|
|
+ "<22><><EFBFBD>ƧX<C6A7>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܱN<DCB1>b<EFBFBD>U<EFBFBD><55><EFBFBD>Ұ<EFBFBD> pine <20>ɥͮġC");
|
|
|
|
|
}
|
|
|
|
|
else if(f->value == F_PRESERVE_START_STOP){
|
|
|
|
|
/* toggle raw mode settings to make tty driver aware of new setting */
|
|
|
|
|
@@ -8524,8 +8524,8 @@
|
|
|
|
|
{
|
|
|
|
|
if(v && v->is_fixed){
|
|
|
|
|
q_status_message2(SM_ORDER, 3, 3,
|
|
|
|
|
- "Can't %s sys-admin defined %s.",
|
|
|
|
|
- action ? action : "change", name ? name : "value");
|
|
|
|
|
+ "<22>L<EFBFBD>k%s<>t<EFBFBD>κz<DEB2><7A><EFBFBD>w<EFBFBD>q<EFBFBD><71>%s<>C",
|
|
|
|
|
+ action ? action : "<22>ק<EFBFBD>", name ? name : "<22>]<5D>w<EFBFBD><77>");
|
|
|
|
|
return(1);
|
|
|
|
|
}
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-07-21 14:11:48 +00:00
|
|
|
|
@@ -8824,7 +8824,7 @@
|
|
|
|
|
&& var->is_list
|
|
|
|
|
&& !var->user_val.l
|
|
|
|
|
&& var->current_val.l)))
|
|
|
|
|
- q_status_message(SM_ORDER,0,3,"Using default value");
|
|
|
|
|
+ q_status_message(SM_ORDER,0,3,"<22>ϥιw<CEB9>]<5D><>");
|
|
|
|
|
|
|
|
|
|
if(var == &ps->vars[V_USER_DOMAIN]){
|
|
|
|
|
char *p, *q;
|
|
|
|
|
@@ -8835,7 +8835,7 @@
|
|
|
|
|
if(*(++p)){
|
|
|
|
|
if(!revert)
|
|
|
|
|
q_status_message2(SM_ORDER, 3, 5,
|
|
|
|
|
- "User-domain (%s) cannot contain \"@\"; using %s",
|
|
|
|
|
+ "User-domain (%s) <20><><EFBFBD>i<EFBFBD>]<5D>A \"@\"; <20>ϥ<EFBFBD> %s",
|
|
|
|
|
ps->VAR_USER_DOMAIN, p);
|
|
|
|
|
q = ps->VAR_USER_DOMAIN;
|
|
|
|
|
while((*q++ = *p++) != '\0')
|
|
|
|
|
@@ -8844,7 +8844,7 @@
|
|
|
|
|
else{
|
|
|
|
|
if(!revert)
|
|
|
|
|
q_status_message1(SM_ORDER, 3, 5,
|
|
|
|
|
- "User-domain (%s) cannot contain \"@\"; deleting",
|
|
|
|
|
+ "User-domain (%s) <20><><EFBFBD>i<EFBFBD>]<5D>A \"@\"; <20>R<EFBFBD><52><EFBFBD><EFBFBD>",
|
|
|
|
|
ps->VAR_USER_DOMAIN);
|
|
|
|
|
fs_give((void **)&ps->USR_USER_DOMAIN);
|
|
|
|
|
set_current_val(&ps->vars[V_USER_DOMAIN], TRUE, TRUE);
|
|
|
|
|
@@ -8904,7 +8904,7 @@
|
|
|
|
|
else if(var == &ps->vars[V_INIT_CMD_LIST]){
|
|
|
|
|
if(!revert)
|
|
|
|
|
q_status_message(SM_ASYNC, 0, 3,
|
|
|
|
|
- "Initial command changes will affect your next pine session.");
|
|
|
|
|
+ "<22><><EFBFBD>l<EFBFBD>R<EFBFBD>O<EFBFBD><4F><EFBFBD><EFBFBD><EFBFBD>ܱN<DCB1>b<EFBFBD>U<EFBFBD><55><EFBFBD>Ұ<EFBFBD> pine <20>ɥͮġC");
|
|
|
|
|
}
|
|
|
|
|
else if(var == &ps->vars[V_VIEW_HEADERS]){
|
|
|
|
|
ps->view_all_except = 0;
|
|
|
|
|
@@ -8963,10 +8963,10 @@
|
|
|
|
|
}
|
|
|
|
|
else if(timeo == 0L && !revert){
|
|
|
|
|
q_status_message(SM_ORDER, 4, 6,
|
|
|
|
|
-"Warning: automatic new mail checking and mailbox checkpointing is disabled");
|
|
|
|
|
+"ĵ<>i<EFBFBD>G<EFBFBD>w<EFBFBD>Ѱ<EFBFBD><D1B0>۰<EFBFBD><DBB0>ˬd<CBAC>s<EFBFBD>l<EFBFBD><6C><EFBFBD>P<EFBFBD>H<EFBFBD>c<EFBFBD>ˬd<CBAC>I");
|
|
|
|
|
if(ps->VAR_INBOX_PATH && ps->VAR_INBOX_PATH[0] == '{')
|
|
|
|
|
q_status_message(SM_ASYNC, 3, 6,
|
|
|
|
|
-"Warning: mail-check-interval=0 may cause IMAP server connection to time out");
|
|
|
|
|
+"ĵ<>i<EFBFBD>Gmail-check-interval=0 <20>i<EFBFBD><69><EFBFBD>ɭP IMAP <20><><EFBFBD>A<EFBFBD><41><EFBFBD>s<EFBFBD>u<EFBFBD>@<40>~<7E>O<EFBFBD><4F>");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#if defined(DOS) || defined(OS2)
|