mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
91 lines
2.6 KiB
Plaintext
91 lines
2.6 KiB
Plaintext
|
--- pine/osdep/print.orig Tue Sep 22 21:22:23 1998
|
|||
|
+++ pine/osdep/print Tue Sep 22 21:26:09 1998
|
|||
|
@@ -39,12 +39,12 @@
|
|||
|
HelpType help;
|
|||
|
char **list;
|
|||
|
static ESCKEY_S ekey[] = {
|
|||
|
- {'y', 'y', "Y", "Yes"},
|
|||
|
- {'n', 'n', "N", "No"},
|
|||
|
- {ctrl('P'), 10, "^P", "Prev Printer"},
|
|||
|
- {ctrl('N'), 11, "^N", "Next Printer"},
|
|||
|
+ {'y', 'y', "Y", "<22>O"},
|
|||
|
+ {'n', 'n', "N", "<22>_"},
|
|||
|
+ {ctrl('P'), 10, "^P", "<22>e<EFBFBD>@<40>L<EFBFBD><4C><EFBFBD><EFBFBD>"},
|
|||
|
+ {ctrl('N'), 11, "^N", "<22>U<EFBFBD>@<40>L<EFBFBD><4C><EFBFBD><EFBFBD>"},
|
|||
|
{-2, 0, NULL, NULL},
|
|||
|
- {'c', 'c', "C", "CustomPrint"},
|
|||
|
+ {'c', 'c', "C", "<22>۩w<DBA9>L<EFBFBD><4C><EFBFBD><EFBFBD>"},
|
|||
|
{KEY_UP, 10, "", ""},
|
|||
|
{KEY_DOWN, 11, "", ""},
|
|||
|
{-1, 0, NULL, NULL}};
|
|||
|
@@ -61,7 +61,7 @@
|
|||
|
|
|||
|
if(ps_global->VAR_PRINTER == NULL){
|
|||
|
q_status_message(SM_ORDER | SM_DING, 3, 5,
|
|||
|
- "No printer has been chosen. Use SETUP on main menu to make choice.");
|
|||
|
+ "<22>|<7C><><EFBFBD><EFBFBD><EFBFBD>ܦL<DCA6><4C><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>ХΥD<CEA5><44><EFBFBD>椤<EFBFBD><E6A4A4><EFBFBD>]<5D>w<EFBFBD>ӿ<EFBFBD><D3BF>ܡC");
|
|||
|
return(-1);
|
|||
|
}
|
|||
|
|
|||
|
@@ -138,7 +138,7 @@
|
|||
|
switch(cmd){
|
|||
|
case 'y':
|
|||
|
q_status_message1(SM_ORDER, 0, 9,
|
|||
|
- "Printing with command \"%s\"", command);
|
|||
|
+ "<22><><EFBFBD>H \"%s\" <20>R<EFBFBD>O<EFBFBD>C<EFBFBD>L<EFBFBD><4C>", command);
|
|||
|
done++;
|
|||
|
break;
|
|||
|
|
|||
|
@@ -175,7 +175,7 @@
|
|||
|
if(trailer)
|
|||
|
fs_give((void **)&trailer);
|
|||
|
|
|||
|
- sprintf(prompt, "Enter custom command : ");
|
|||
|
+ sprintf(prompt, "<22><><EFBFBD>J<EFBFBD>۩w<DBA9><77><EFBFBD>R<EFBFBD>O<EFBFBD>G");
|
|||
|
command[0] = '\0';
|
|||
|
rc = 1;
|
|||
|
help = NO_HELP;
|
|||
|
@@ -195,13 +195,13 @@
|
|||
|
removing_trailing_white_space(command);
|
|||
|
removing_leading_white_space(command);
|
|||
|
q_status_message1(SM_ORDER, 0, 9,
|
|||
|
- "Printing with command \"%s\"", command);
|
|||
|
+ "<22><><EFBFBD>H \"%s\" <20>R<EFBFBD>O<EFBFBD>C<EFBFBD>L<EFBFBD><4C>", command);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
if(cmd == 'x' || cmd == 'n'){
|
|||
|
- q_status_message(SM_ORDER, 0, 2, "Print cancelled");
|
|||
|
+ q_status_message(SM_ORDER, 0, 2, "<22><><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>L");
|
|||
|
if(init)
|
|||
|
fs_give((void **)&init);
|
|||
|
|
|||
|
@@ -221,7 +221,7 @@
|
|||
|
|| strucmp(command, aname) == 0){
|
|||
|
/*----------- Printer attached to ansi device ---------*/
|
|||
|
q_status_message(SM_ORDER, 0, 9,
|
|||
|
- "Printing to attached desktop printer...");
|
|||
|
+ "<22><><EFBFBD>C<EFBFBD>L<EFBFBD>ܮ<EFBFBD><DCAE>W<EFBFBD>L<EFBFBD><4C><EFBFBD><EFBFBD>...");
|
|||
|
display_message('x');
|
|||
|
xonxoff_proc(1); /* make sure XON/XOFF used */
|
|||
|
crlf_proc(1); /* AND LF->CR xlation */
|
|||
|
@@ -252,7 +252,7 @@
|
|||
|
else{
|
|||
|
fs_give((void **)&ps_global->print->result);
|
|||
|
q_status_message1(SM_ORDER | SM_DING, 3, 4,
|
|||
|
- "Error opening printer: %s",
|
|||
|
+ "<22>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>}<7D>ҿ<EFBFBD><D2BF>~<7E>G%s",
|
|||
|
error_description(errno));
|
|||
|
dprint(2, (debugfile, "Error popening printer \"%s\"\n",
|
|||
|
error_description(errno)));
|
|||
|
@@ -311,7 +311,7 @@
|
|||
|
|
|||
|
fs_give((void **)&ps_global->print);
|
|||
|
|
|||
|
- q_status_message(SM_ASYNC, 0, 3, "Print command completed");
|
|||
|
+ q_status_message(SM_ASYNC, 0, 3, "<22>C<EFBFBD>L<EFBFBD><4C><EFBFBD>O<EFBFBD><4F><EFBFBD><EFBFBD>");
|
|||
|
display_message('x');
|
|||
|
}
|
|||
|
|