head	1.8;
access;
symbols
	RELEASE_4_2_0:1.7
	RELEASE_4_1_1:1.7
	RELEASE_4_1_0:1.7
	RELEASE_3_5_0:1.7
	RELEASE_4_0_0:1.7
	RELEASE_3_4_0:1.7
	RELEASE_3_3_0:1.6
	RELEASE_3_2_0:1.6
	RELEASE_3_1_0:1.5
	RELEASE_2_2_8:1.5
	RELEASE_3_0_0:1.5
	RELEASE_2_2_7:1.2
	RELEASE_2_2_6:1.1.1.1
	zh_pine_3_95:1.1.1.1
	WOJU:1.1.1;
locks; strict;
comment	@# @;


1.8
date	2000.11.17.19.06.52;	author keith;	state dead;
branches;
next	1.7;

1.7
date	99.11.01.00.40.55;	author steve;	state Exp;
branches;
next	1.6;

1.6
date	99.03.15.01.45.40;	author steve;	state Exp;
branches;
next	1.5;

1.5
date	98.08.24.01.24.43;	author steve;	state Exp;
branches;
next	1.4;

1.4
date	98.08.09.00.51.25;	author steve;	state Exp;
branches;
next	1.3;

1.3
date	98.07.30.12.30.38;	author vanilla;	state Exp;
branches;
next	1.2;

1.2
date	98.07.21.14.11.36;	author vanilla;	state Exp;
branches;
next	1.1;

1.1
date	97.12.01.19.47.23;	author vanilla;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	97.12.01.19.47.23;	author vanilla;	state Exp;
branches;
next	;


desc
@@


1.8
log
@Upgrade from 4.21 to 4.30.

Especially thanks to the maintainer, Tai-hwa Liang (avatar), for
ending those long lasting evil +400k files/patch-*. :-)

According to kkenn, pine4's security will exist until it's totally
rewritten, so I'll leave pkg-install untouched, which shows the
security warning.
PR:		ports/22436
@
text
@--- pico/composer.c.orig	Fri Jun 11 06:55:22 1999
+++ pico/composer.c	Thu Oct 14 10:53:41 1999
@@@@ -133,12 +133,12 @@@@
 
 
 static KEYMENU menu_header[] = {
-    {"^G", "Get Help", KS_SCREENHELP},	{"^X", "Send", KS_SEND},
-    {"^R", "Rich Hdr", KS_RICHHDR},	{"^Y", "PrvPg/Top", KS_PREVPAGE},
-    {"^K", "Cut Line", KS_CURPOSITION},	{"^O", "Postpone", KS_POSTPONE},
-    {"^C", "Cancel", KS_CANCEL},	{"^D", "Del Char", KS_NONE},
-    {"^J", "Attach", KS_ATTACH},	{"^V", "NxtPg/End", KS_NEXTPAGE},
-    {"^U", "UnDel Line", KS_NONE},	{NULL, NULL}
+    {"^G", "U", KS_SCREENHELP},	{"^X", "eX", KS_SEND},
+    {"^R", "Y", KS_RICHHDR},	{"^Y", "W@@", KS_PREVPAGE},
+    {"^K", "ŤU@@", KS_CURPOSITION},	{"^O", "ȽwgH", KS_POSTPONE},
+    {"^C", "", KS_CANCEL},	{"^D", "Rr", KS_NONE},
+    {"^J", "", KS_ATTACH},	{"^V", "U@@", KS_NEXTPAGE},
+    {"^U", "_R", KS_NONE},	{NULL, NULL}
 };
 #define	SEND_KEY	1
 #define	RICH_KEY	2
@@@@ -262,7 +262,7 @@@@
 		     if(strlen(addrbuf) + strlen(buf) >= addrbuflen){
 			 addrbuflen += NLINE * 4;
 			 if(!(addrbuf = (char *)realloc(addrbuf, addrbuflen))){
-			     emlwrite("\007Can't realloc addrbuf to %d bytes",
+			     emlwrite("\007Lk addrbuf Otm %d bytes",
 				      (void *) addrbuflen);
 			     return(ABORT);
 			 }
@@@@ -329,7 +329,7 @@@@
      * get first chunk of memory, and tie it to structure...
      */
     if((curline = HALLOC()) == NULL){
-        emlwrite("Unable to make room for full Header.", NULL);
+        emlwrite("LktmŶYC", NULL);
         return(FALSE);
     }
     longest = term.t_ncol - e->prlen - 1;
@@@@ -711,7 +711,7 @@@@
 	    }
 	    else{
 		(*term.t_beep)();
-		emlwrite("Unknown Command: ^Z", NULL);
+		emlwrite("ROG^Z", NULL);
 	    }
 	    break;
 
@@@@ -724,12 +724,12 @@@@
 	    err = NULL;
 	    if(headents[ods.cur_e].is_attach){
 		if(SyncAttach() < 0){
-		    if(mlyesno("Problem with attachments. Postpone anyway?",
+		    if(mlyesno("󦳰DCLצp󳣭nȽwӫHܡH",
 			       FALSE) != TRUE){
 			if(FormatLines(headents[ods.cur_e].hd_text, "",
 				       term.t_ncol - headents[ods.cur_e].prlen,
 				       headents[ods.cur_e].break_on_comma, 0) == -1)
-			  emlwrite("\007Format lines failed!", NULL);
+			  emlwrite("\007z!", NULL);
 			UpdateHeader(0);
 			PaintHeader(COMPOSER_TOP_LINE, FALSE);
 			PaintBody(1);
@@@@ -998,7 +998,7 @@@@
 		    if(FormatLines(headents[ods.cur_e].hd_text, buf,
 				   term.t_ncol - headents[ods.cur_e].prlen,
 				   headents[ods.cur_e].break_on_comma,0)==-1){
-			emlwrite("\007Format lines failed!", NULL);
+			emlwrite("\007z!", NULL);
 		    }
 
 		    UpdateHeader(0);
@@@@ -1057,7 +1057,7 @@@@
                         if(FormatLines(ods.cur_l, bufp,
 				      (term.t_ncol-headents[ods.cur_e].prlen), 
                                       headents[ods.cur_e].break_on_comma, 0) == -1){
-                            emlwrite("Problem adding address to header !",
+                            emlwrite("bY[Ja}ɥXFD!",
                                      NULL);
                             (*term.t_beep)();
                             break;
@@@@ -1193,10 +1193,10 @@@@
 	  default :				/* huh? */
 bleep:
 	    if(ch&CTRL)
-	      emlwrite("\007Unknown command: ^%c", (void *)(ch&0xff));
+	      emlwrite("\007ROG^%c", (void *)(ch&0xff));
 	    else
 	  case BADESC:
-	      emlwrite("\007Unknown command", NULL);
+	      emlwrite("\007RO", NULL);
 
 	  case NODATA:
 	    break;
@@@@ -1236,14 +1236,14 @@@@
 	if(gripe){
 	    char xx[81];
 
-	    strcpy(xx, "Can't move down. Use ^X to ");
+	    strcpy(xx, "LkAUFCХ ^X ");
 	    strcat(xx, (Pmaster && Pmaster->exit_label)
 			    ? Pmaster->exit_label
 			    : (gmode & MDHDRONLY)
-			      ? "eXit/Save"
+			      ? "}/eX"
 			      : (gmode & MDVIEW)
-				? "eXit"
-				: "Send");
+				? "}"
+				: "eX");
 	    strcat(xx, ".");
 	    emlwrite(xx, NULL);
 	}
@@@@ -1278,7 +1278,7 @@@@
 		if(FormatLines(headents[ods.cur_e].hd_text, "",
 			       term.t_ncol-headents[new_e].prlen,
 			       headents[ods.cur_e].break_on_comma, 0) == -1)
-		  emlwrite("\007Format lines failed!", NULL);
+		  emlwrite("\007z!", NULL);
 	    }
 	} else if(headents[ods.cur_e].builder) { /* expand addresses	    */
 	    int mangled = 0;
@@@@ -1349,8 +1349,8 @@@@
     if(!(new_l = prev_sel_hline(&new_e, ods.cur_l))){	/* all the way up! */
 	ods.p_line = COMPOSER_TOP_LINE;
 	if(gripe)
-	  emlwrite("Can't move beyond top of %s",
-	      (Pmaster->pine_flags & MDHDRONLY) ? "entry" : "header");
+	  emlwrite("LkWX%s",
+	      (Pmaster->pine_flags & MDHDRONLY) ? "" : "Y");
 
 	return(0);
     }
@@@@ -1379,7 +1379,7 @@@@
 		if(FormatLines(headents[ods.cur_e].hd_text, "",
 			       term.t_ncol - headents[ods.cur_e].prlen,
 			       headents[ods.cur_e].break_on_comma,0) == -1)
-		  emlwrite("\007Format lines failed!", NULL);
+		  emlwrite("\007z!", NULL);
 	    }
 	}
 	else if(headents[ods.cur_e].builder){
@@@@ -1458,7 +1458,7 @@@@
 	    lp = lp->next;
 	}
 	else{
-	    emlwrite("\007Can't allocate line for new attachment!", NULL);
+	    emlwrite("\007LkstmŶ!", NULL);
 	    return(0);
 	}
     }
@@@@ -1472,12 +1472,12 @@@@
     /* validate the new attachment, and reformat if needed */
     if(status = SyncAttach()){
 	if(status < 0)
-	  emlwrite("\007Problem attaching: %s", fn);
+	  emlwrite("\007DG%s", fn);
 
 	if(FormatLines(headents[a_e].hd_text, "",
 		       term.t_ncol - headents[a_e].prlen,
 		       headents[a_e].break_on_comma, 0) == -1){
-	    emlwrite("\007Format lines failed!", NULL);
+	    emlwrite("\007z!", NULL);
 	    return(0);
 	}
     }
@@@@ -1552,7 +1552,7 @@@@
 	
 	if (term.t_nrow < 6 && ch != NODATA){
 	    (*term.t_beep)();
-	    emlwrite("Please make the screen bigger.", NULL);
+	    emlwrite("бNeդj@@ǡC", NULL);
 	    continue;
 	}
 
@@@@ -1624,13 +1624,13 @@@@
 		if(headents[ods.cur_e].only_file_chars
 		   && !fallowc((unsigned char) ch)){
 		    /* no garbage in filenames */
-		    emlwrite("\007Can't have a '%c' in folder name",
+		    emlwrite("\007ƧX঳ '%c' oӦr",
 			     (void *) ch);
 		    continue;
 		}
 		else if(headents[ods.cur_e].is_attach
 			&& intag(strng,ods.p_off)){
-		    emlwrite("\007Can't edit attachment number!", NULL);
+		    emlwrite("\007Lks󪺥NX!", NULL);
 		    continue;
 		}
 
@@@@ -1779,7 +1779,7 @@@@
 		    headents[ods.cur_e].dirty  = 1;
 		}
 		else
-		  emlwrite("Problem Unkilling text", NULL);
+		  emlwrite("DϧRr", NULL);
 		continue;
 
 	      case (CTRL|'F') :
@@@@ -1830,7 +1830,7 @@@@
 		  continue;
 
 		if(headents[ods.cur_e].is_attach && intag(strng, ods.p_off)){
-		    emlwrite("\007Can't edit attachment number!", NULL);
+		    emlwrite("\007Lks󪺥NX!", NULL);
 		    continue;
 		}
 
@@@@ -1844,7 +1844,7 @@@@
 		}
 
 		if(headents[ods.cur_e].is_attach && intag(strng, ods.p_off-1)){
-		    emlwrite("\007Can't edit attachment number!", NULL);
+		    emlwrite("\007Lks󪺥NX!", NULL);
 		    continue;
 		}
 
@@@@ -2141,7 +2141,7 @@@@
 
 	if(nlp == NULL){			/* no place to add below? */
 	    if((lp = HALLOC()) == NULL){
-		emlwrite("Can't allocate any more lines for header!", NULL);
+		emlwrite("LkAtmhŶY!", NULL);
 		free(buf);
 		return(-1);
 	    }
@@@@ -2174,7 +2174,7 @@@@
 
 	    if(strlen(buf) && !nlp){
 		if((lp = HALLOC()) == NULL){
-		    emlwrite("Can't allocate any more lines for header!",NULL);
+		    emlwrite("LkAtmhŶY!",NULL);
 		    free(buf);
 		    return(-1);
 		}
@@@@ -2461,14 +2461,14 @@@@
 
     if(level < 0 || !headents[level].name){
 	(*term.t_beep)();
-	emlwrite("Sorry, I can't help you with that.", NULL);
+	emlwrite("ܩpA󨺭ӧڵLkC", NULL);
 	sleep(2);
 	return(FALSE);
     }
 
-    sprintf(buf, "Help for %s %.40s Field",
-		 (Pmaster->pine_flags & MDHDRONLY) ? "Address Book"
-						 : "Composer",
+    sprintf(buf, "%s%.40sU",
+		 (Pmaster->pine_flags & MDHDRONLY) ? "a}ï"
+						 : "s边",
 		 headents[level].name);
     saved_state = save_pico_state();
     (*Pmaster->helper)(headents[level].help, buf, 1);
@@@@ -3114,7 +3114,7 @@@@
     }
     
     if((sbuf=(char *)malloc((unsigned) i)) == NULL){
-	emlwrite("Can't malloc space to expand address", NULL);
+	emlwrite("LktmOŶHi}a}", NULL);
 	return(-1);
     }
     
@@@@ -3171,7 +3171,7 @@@@
 		if(!arg){
 		    headarg = arg = (BUILDER_ARG *)malloc(sizeof(BUILDER_ARG));
 		    if(!arg){
-			emlwrite("Can't malloc space for fcc", NULL);
+			emlwrite("LktmOŶ fcc", NULL);
 			return(-1);
 		    }
 		    else{
@@@@ -3184,7 +3184,7 @@@@
 		else{
 		    nextarg = (BUILDER_ARG *)malloc(sizeof(BUILDER_ARG));
 		    if(!nextarg){
-			emlwrite("Can't malloc space for fcc", NULL);
+			emlwrite("LktmOŶ fcc", NULL);
 			return(-1);
 		    }
 		    else{
@@@@ -3200,7 +3200,7 @@@@
 		if(!e->sticky){
 		    line = e->hd_text;
 		    if(!(arg->tptr=(char *)malloc(strlen(line->text) + 1))){
-			emlwrite("Can't malloc space for fcc", NULL);
+			emlwrite("LktmOŶ fcc", NULL);
 			return(-1);
 		    }
 		    else
@@@@ -3217,7 +3217,7 @@@@
     if(!headarg){
 	headarg = (BUILDER_ARG *)malloc(sizeof(BUILDER_ARG));
 	if(!headarg){
-	    emlwrite("Can't malloc space", NULL);
+	    emlwrite("LktmOŶ", NULL);
 	    return(-1);
 	}
 	else{
@@@@ -3543,7 +3543,7 @@@@
 
     if(ksize()){
 	if((bp = buf = (char *)malloc(ksize()+5)) == NULL){
-	    emlwrite("Can't malloc space for saved text", NULL);
+	    emlwrite("LktmOsrOŶ", NULL);
 	    return(FALSE);
 	}
     }
@@@@ -3577,7 +3577,7 @@@@
 	work_buf_len = strlen(ods.cur_l->text) + buf_len;
 	work_buf = (char *) malloc((work_buf_len + 1) * sizeof(char));
 	if (work_buf == NULL) {
-	    emlwrite("Can't malloc space for saved text", NULL);
+	    emlwrite("LktmOsrOŶ", NULL);
 	    return(FALSE);
 	}
 
@@@@ -3786,9 +3786,9 @@@@
     if(Pmaster && Pmaster->exit_label)
       menu_header[SEND_KEY].label = Pmaster->exit_label;
     else if(gmode & (MDVIEW | MDHDRONLY))
-      menu_header[SEND_KEY].label =  (gmode & MDHDRONLY) ? "eXit/Save" : "eXit";
+      menu_header[SEND_KEY].label =  (gmode & MDHDRONLY) ? "}/xs" : "}";
     else
-      menu_header[SEND_KEY].label = "Send";
+      menu_header[SEND_KEY].label = "eX";
 
     if(gmode & MDVIEW){
 	menu_header[CUT_KEY].name  = NULL;
@@@@ -3809,14 +3809,14 @@@@
 	menu_header[RICH_KEY].name  = NULL;
     }
     else{
-	menu_header[RICH_KEY].label = "Rich Hdr";
+	menu_header[RICH_KEY].label = "Y";
 	menu_header[RICH_KEY].name  = "^R";
     }
 
     if(gmode & MDHDRONLY){
 	if(headents[ods.cur_e].fileedit){
 	    menu_header[PONE_KEY].name  = "^_";
-	    menu_header[PONE_KEY].label   = "Edit File";
+	    menu_header[PONE_KEY].label   = "sɮ";
 	}
 	else
 	  menu_header[PONE_KEY].name  = NULL;
@@@@ -3825,7 +3825,7 @@@@
     }
     else{
 	menu_header[PONE_KEY].name  = "^O";
-	menu_header[PONE_KEY].label = "Postpone";
+	menu_header[PONE_KEY].label = "Ƚw";
 	KS_OSDATASET(&menu_header[PONE_KEY],KS_OSDATAGET(&headents[ods.cur_e]));
 
 	menu_header[ATT_KEY].name   = "^J";
@@@@ -3897,7 +3897,7 @@@@
                 *headents[i].realaddr = bufp;
             }
             else{
-                emlwrite("Can't make room to pack header field.", NULL);
+                emlwrite("Lktm]˪Y쪺OŶC", NULL);
                 retval = FALSE;
             }
         }
@


1.7
log
@Update to version 4.20.

PR:		14575
Submitted by:	maintainer
@
text
@@


1.6
log
@Update to version 4.10.

PR:		10245
Submitted by:	maintainer
@
text
@d1 2
a2 2
--- pico/composer.c.orig	Thu Dec 24 05:03:58 1998
+++ pico/composer.c	Wed Feb 24 02:12:51 1999
d167 1
a167 1
@@@@ -1553,7 +1553,7 @@@@
d256 1
a256 1
@@@@ -3110,7 +3110,7 @@@@
d265 1
a265 1
@@@@ -3167,7 +3167,7 @@@@
d274 1
a274 1
@@@@ -3180,7 +3180,7 @@@@
d283 1
a283 1
@@@@ -3196,7 +3196,7 @@@@
d292 1
a292 1
@@@@ -3213,7 +3213,7 @@@@
d301 1
a301 1
@@@@ -3522,7 +3522,7 @@@@
d310 1
a310 1
@@@@ -3556,7 +3556,7 @@@@
d319 1
a319 1
@@@@ -3765,9 +3765,9 @@@@
d331 1
a331 1
@@@@ -3788,14 +3788,14 @@@@
d348 1
a348 1
@@@@ -3804,7 +3804,7 @@@@
d357 1
a357 1
@@@@ -3876,7 +3876,7 @@@@
@


1.5
log
@Update to version 4.0a2.

PR:		7672
Submitted by:	maintainer
@
text
@d1 3
a3 3
--- pico/composer.c.orig	Wed Aug 19 10:37:25 1998
+++ pico/composer.c	Wed Aug 19 10:45:17 1998
@@@@ -136,12 +136,12 @@@@
d22 1
a22 1
@@@@ -245,7 +245,7 @@@@
d31 1
a31 1
@@@@ -312,7 +312,7 @@@@
d40 1
a40 1
@@@@ -694,7 +694,7 @@@@
d49 1
a49 1
@@@@ -707,12 +707,12 @@@@
d61 1
a61 1
 			UpdateHeader();
d64 1
a64 1
@@@@ -966,7 +966,7 @@@@
d72 2
a73 2
 		    UpdateHeader();
@@@@ -1025,7 +1025,7 @@@@
d82 1
a82 1
@@@@ -1106,10 +1106,10 @@@@
d95 1
a95 1
@@@@ -1149,14 +1149,14 @@@@
d114 1
a114 1
@@@@ -1191,7 +1191,7 @@@@
d123 1
a123 1
@@@@ -1262,8 +1262,8 @@@@
d134 1
a134 1
@@@@ -1292,7 +1292,7 @@@@
d143 1
a143 1
@@@@ -1371,7 +1371,7 @@@@
d152 1
a152 1
@@@@ -1385,12 +1385,12 @@@@
d167 1
a167 1
@@@@ -1466,7 +1466,7 @@@@
d176 1
a176 1
@@@@ -1537,13 +1537,13 @@@@
d192 1
a192 1
@@@@ -1689,7 +1689,7 @@@@
d201 1
a201 1
@@@@ -1740,7 +1740,7 @@@@
d210 1
a210 1
@@@@ -1754,7 +1754,7 @@@@
d219 1
a219 1
@@@@ -1965,7 +1965,7 @@@@
d228 1
a228 1
@@@@ -2000,7 +2000,7 @@@@
d237 1
a237 1
@@@@ -2286,14 +2286,14 @@@@
d254 1
d256 1
a256 2
     ttresize();
@@@@ -2923,7 +2923,7 @@@@
d265 1
a265 1
@@@@ -2980,7 +2980,7 @@@@
d274 1
a274 1
@@@@ -2993,7 +2993,7 @@@@
d283 1
a283 1
@@@@ -3009,7 +3009,7 @@@@
d292 1
a292 1
@@@@ -3026,7 +3026,7 @@@@
d301 1
a301 1
@@@@ -3335,7 +3335,7 @@@@
d310 1
a310 1
@@@@ -3369,7 +3369,7 @@@@
d319 1
a319 1
@@@@ -3578,9 +3578,9 @@@@
d331 1
a331 1
@@@@ -3601,7 +3601,7 @@@@
d340 18
a357 1
@@@@ -3680,7 +3680,7 @@@@
@


1.4
log
@Cleanups from maintainer.

PR:		7468
Submitted by:	maintainer
@
text
@d1 2
a2 2
--- pico/composer.c.orig	Fri Jul  3 07:00:40 1998
+++ pico/composer.c	Tue Aug  4 12:42:14 1998
d22 1
a22 1
@@@@ -231,7 +231,7 @@@@
d31 1
a31 1
@@@@ -298,7 +298,7 @@@@
d40 1
a40 1
@@@@ -680,7 +680,7 @@@@
d49 1
a49 1
@@@@ -693,12 +693,12 @@@@
d64 1
a64 1
@@@@ -952,7 +952,7 @@@@
d73 1
a73 1
@@@@ -1011,7 +1011,7 @@@@
d82 1
a82 1
@@@@ -1092,10 +1092,10 @@@@
d95 1
a95 1
@@@@ -1135,14 +1135,14 @@@@
d114 1
a114 1
@@@@ -1177,7 +1177,7 @@@@
d123 1
a123 1
@@@@ -1248,8 +1248,8 @@@@
d134 1
a134 1
@@@@ -1278,7 +1278,7 @@@@
d143 1
a143 1
@@@@ -1357,7 +1357,7 @@@@
d152 1
a152 1
@@@@ -1371,12 +1371,12 @@@@
d167 1
a167 1
@@@@ -1452,7 +1452,7 @@@@
d176 1
a176 1
@@@@ -1523,13 +1523,13 @@@@
d192 1
a192 1
@@@@ -1675,7 +1675,7 @@@@
d201 1
a201 1
@@@@ -1726,7 +1726,7 @@@@
d210 1
a210 1
@@@@ -1740,7 +1740,7 @@@@
d219 1
a219 1
@@@@ -1951,7 +1951,7 @@@@
d228 1
a228 1
@@@@ -1986,7 +1986,7 @@@@
d237 1
a237 1
@@@@ -2272,14 +2272,14 @@@@
d256 1
a256 1
@@@@ -2909,7 +2909,7 @@@@
d265 1
a265 1
@@@@ -2966,7 +2966,7 @@@@
d274 1
a274 1
@@@@ -2979,7 +2979,7 @@@@
d283 1
a283 1
@@@@ -2995,7 +2995,7 @@@@
d292 1
a292 1
@@@@ -3012,7 +3012,7 @@@@
d301 1
a301 1
@@@@ -3321,7 +3321,7 @@@@
d310 1
a310 1
@@@@ -3355,7 +3355,7 @@@@
d319 1
a319 1
@@@@ -3564,9 +3564,9 @@@@
d331 1
a331 1
@@@@ -3587,7 +3587,7 @@@@
d340 1
a340 1
@@@@ -3666,7 +3666,7 @@@@
@


1.3
log
@Upgrade to 4.02,
Submitted by:	maintainer
@
text
@d1 18
a18 24
--- pico/display.c.orig	Sat Jun 20 01:19:53 1998
+++ pico/display.c	Tue Jul 28 08:34:59 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", "gJɮ", KS_SAVEFILE},
+    {"^R", "Ūɮ", KS_READFILE},   {"^Y", "W@@", KS_PREVPAGE},
+    {"^K", "ŤU@@", KS_NONE},       {"^C", "ثem", KS_CURPOSITION},
+    {"^X", "}", KS_EXIT},           {"^J", "q", KS_JUSTIFY},
+    {"^W", "jM", 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", "Rr", KS_NONE}
 #endif
d20 17
a36 30
 #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", "ȽwgH", 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", "Rr", 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("tmO鵹ܾѡC", NULL);
d39 9
d49 43
a91 8
@@@@ -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("tmO鵹ܾѡC", NULL);
         return(FALSE);
     }
d93 20
a112 17
@@@@ -171,7 +171,7 @@@@
         if (vp == NULL){
 	    free((void *)vscreen);
 	    free((void *)pscreen);
-	    emlwrite("Allocating memory for virtual display lines failed.",
+	    emlwrite("tmO鵹ܦ楢ѡC",
 		     NULL);
             return(FALSE);
 	}
@@@@ -191,7 +191,7 @@@@
 
 	    free((void *)vscreen);
 	    free((void *)pscreen);
-	    emlwrite("Allocating memory for physical display lines failed.",
+	    emlwrite("tmO鵹ܦ楢ѡC",
 		     NULL);
             return(FALSE);
d114 6
a119 1
@@@@ -749,12 +749,12 @@@@
d121 54
d176 51
a226 6
 	    if(lastflag&CFFILL){
-		menu_pico[UNCUT_KEY].label = "UnJustify";
-		emlwrite("Can now UnJustify!", NULL);
+		menu_pico[UNCUT_KEY].label = "";
+		emlwrite("{biH!", NULL);
 		mpresf = FARAWAY;	/* remove this after next keystroke! */
d228 18
a245 3
 	    else
-	      menu_pico[UNCUT_KEY].label = "UnCut Text";
+	      menu_pico[UNCUT_KEY].label = "_Rr";
d247 53
a299 4
 	    wkeyhelp(menu_pico);
 	    sgarbk = FALSE;
@@@@ -944,18 +944,18 @@@@
 	  ShowPrompt();
d301 1
a301 53
 	    menu_compose[EXIT_KEY].label  = (Pmaster->headents)
-					      ? "Send" :"Exit";
+					      ? "eX" :"}";
 	    menu_compose[PSTPN_KEY].name  = (Pmaster->headents)
 					      ? "^O" : NULL;
 	    menu_compose[PSTPN_KEY].label = (Pmaster->headents)
-					      ? "Postpone" : NULL;
+					      ? "ȽwgH" : NULL;
 	    menu_compose[WHERE_KEY].name  = (Pmaster->alt_ed) ? "^_" : "^W";
 	    menu_compose[WHERE_KEY].label = (Pmaster->alt_ed) ? "Alt Edit" 
-							      : "Where is";
+							      : "jM";
 	    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) ? ""
+							      : "_Rr";
 	    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;
d303 15
a317 7
 	  case 'n' :
 	  case 'N' :
 	  case F4  :
-	    pputs("No", 1);
+	    pputs("_", 1);
 	    rv = FALSE;
 	    break;
d319 20
a338 2
@@@@ -1320,7 +1320,7 @@@@
 #endif
d340 9
a348 15
     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;
@


1.2
log
@Upgrade to 4.00
Submitted by:	Liang Tai-hwa <avatar@@www.mmlab.cse.yzu.edu.tw>
@
text
@d2 1
a2 1
+++ pico/display.c	Wed Jul 15 17:02:30 1998
@


1.1
log
@Initial revision
@
text
@d1 184
a184 17
*** imap/ANSI/c-client/os_bsi.h.bak	Wed Feb  7 12:01:07 1996
--- imap/ANSI/c-client/os_bsi.h	Sun Jul 20 01:47:23 1997
***************
*** 36,42 ****
--- 36,47 ----
  #include <stdlib.h>
  #include <string.h>
  #include <sys/types.h>
+ #ifdef __FreeBSD__
+ #include <dirent.h>
+ #define direct dirent
+ #else
  #include <sys/dir.h>
+ #endif
  #include <sys/uio.h>		/* needed for writev() prototypes */
  #include <fcntl.h>
  #include <syslog.h>
@


1.1.1.1
log
@Fix chinese display/input problem in pine.
PR:		ports/5083
Submitted by:	Yen-Shuo Su <yssu@@CCCA.NCTU.edu.tw>
@
text
@@
