head	1.6;
access;
symbols
	RELEASE_4_2_0:1.5
	RELEASE_4_1_1:1.5
	RELEASE_4_1_0:1.5
	RELEASE_3_5_0:1.5
	RELEASE_4_0_0:1.5
	RELEASE_3_4_0:1.5
	RELEASE_3_3_0:1.4
	RELEASE_3_2_0:1.4
	RELEASE_3_1_0:1.4
	RELEASE_2_2_8:1.4
	RELEASE_3_0_0:1.4
	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.6
date	2000.11.17.19.06.52;	author keith;	state dead;
branches;
next	1.5;

1.5
date	99.11.01.00.40.55;	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.22;	author vanilla;	state Exp;
branches
	1.1.1.1;
next	;

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


desc
@@


1.6
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/attach.c.orig	Fri May 28 07:10:00 1999
+++ pico/attach.c	Thu Oct 14 10:53:41 1999
@@@@ -75,12 +75,12 @@@@
 	    int	      n;
 
 	    menu_attach[n = 0].name  = "^T";
-	    menu_attach[n].label     = "To Files";
+	    menu_attach[n].label     = "ɮצC";
 	    menu_attach[n].key	     = (CTRL|'T');
 
 	    if(gmode & MDCMPLT){
 		menu_attach[++n].name = "TAB";
-		menu_attach[n].label  = "Complete";
+		menu_attach[n].label  = "";
 		menu_attach[n].key    = (CTRL|'I');
 	    }
 
@@@@ -102,12 +102,12 @@@@
 
 	    menu_attach[++n].name  = NULL;
 	    KS_OSDATASET(&menu_attach[0], KS_NONE);
-	    status = mlreply(upload ? "Name to give uploaded attachment: "
-				    : "File to attach: ",
+	    status = mlreply(upload ? "W[ɮצWG"
+				    : "[ɮסG",
 			     fn, NLINE, QNORML, menu_attach);
 	}
 	else
-	  status = mlreply("Attachment comment: ", cmnt, NLINE, QNODQT, NULL);
+	  status = mlreply("ѡG", cmnt, NLINE, QNODQT, NULL);
 
 	switch(status){
 	  case HELPCH:
@


1.5
log
@Update to version 4.20.

PR:		14575
Submitted by:	maintainer
@
text
@@


1.4
log
@Cleanups from maintainer.

PR:		7468
Submitted by:	maintainer
@
text
@d1 3
a3 3
--- pico/attach.c.orig	Sat Jul 11 06:41:23 1998
+++ pico/attach.c	Tue Aug  4 12:42:13 1998
@@@@ -74,12 +74,12 @@@@
d18 1
a18 1
@@@@ -101,12 +101,12 @@@@
@


1.3
log
@Upgrade to 4.02,
Submitted by:	maintainer
@
text
@d1 26
a26 579
--- pico/browse.c.orig	Sat Jul 11 06:41:25 1998
+++ pico/browse.c	Tue Jul 28 08:34:59 1998
@@@@ -126,12 +126,12 @@@@
 
 
 static	KEYMENU menu_browse[] = {
-    {"?", "Get Help", KS_SCREENHELP},	{NULL, NULL, KS_NONE},
-    {NULL, NULL, KS_NONE},		{"-", "Prev Pg", KS_PREVPAGE},
-    {"D", "Delete", KS_NONE},		{"C","Copy", KS_NONE},
+    {"?", "U", KS_SCREENHELP},	{NULL, NULL, KS_NONE},
+    {NULL, NULL, KS_NONE},		{"-", "W@@", KS_PREVPAGE},
+    {"D", "R", KS_NONE},		{"C","ƻs", KS_NONE},
     {NULL, NULL, KS_NONE},		{NULL, NULL, KS_NONE},
-    {"W", "Where is", KS_NONE},		{"Spc", "Next Pg", KS_NEXTPAGE},
-    {"R", "Rename", KS_NONE},		{NULL, NULL, KS_NONE}
+    {"W", "jM", KS_NONE},		{"Spc", "U@@", KS_NEXTPAGE},
+    {"R", "W", KS_NONE},		{NULL, NULL, KS_NONE}
 };
 #define	QUIT_KEY	1
 #define	EXEC_KEY	2
@@@@ -331,7 +331,7 @@@@
     child[0] = '\0';
 
     if((gmode&MDTREE) && !in_oper_tree(dir)){
-	emlwrite("\007Can't read outside of %s in restricted mode", opertree);
+	emlwrite("\007LkbҦŪ %s H~F", opertree);
 	sleep(2);
 	return(0);
     }
@@@@ -419,7 +419,7 @@@@
 	else{
 	    if(timeo && (c == NODATA || time_to_check()))
 	      if(pico_new_mail())
-		emlwrite("You may possibly have new mail.", NULL);
+		emlwrite("zi঳sHC", NULL);
 	}
 
 	if(km_popped)
@@@@ -695,7 +695,7 @@@@
 			gmp->current->fname);
 		/* make sure selected isn't a directory or executable */
 		if(!LikelyASCII(child)){
-		    emlwrite("Can't edit non-text file.  Try Launch.", NULL);
+		    emlwrite("LkŪDrɡCո \"Ұ\"C", NULL);
 		    break;
 		}
 
@@@@ -725,13 +725,13 @@@@
 		return(0);
 	    }
 
-	    emlwrite("\007Unknown command '%c'", (void *)c);
+	    emlwrite("\007RO '%c'", (void *)c);
 	    break;
 
 	  case 'l':			            /* run Command */
 	  case 'L':
 	    if(!(gmode&MDBRONLY)){
-		emlwrite("\007Unknown command '%c'", (void *)c);
+		emlwrite("\007RO '%c'", (void *)c);
 		break;
 	    }
 
@@@@ -748,11 +748,11 @@@@
 		    {NULL, NULL, 0, KS_NONE},
 		};
 
-		status = mlreply("Command to execute: ",
+		status = mlreply("檺ROG",
 				 tmp, NLINE, QNORML, opts);
 		switch(status){
 		  case HELPCH:
-		    emlwrite("\007No help yet!", NULL);
+		    emlwrite("\007|LU!", NULL);
 /* remove break and sleep after help text is installed */
 		    sleep(3);
 		    break;
@@@@ -763,7 +763,7 @@@@
 		    PaintBrowser(gmp, 0, &crow, &ccol);
 		    break;
 		  case ABORT:
-		    emlwrite("Command cancelled", NULL);
+		    emlwrite("ROw", NULL);
 		    i++;
 		    break;
 		  case FALSE:
@@@@ -771,7 +771,7 @@@@
 		    i++;
 
 		    if(tmp[0] == '\0'){
-			emlwrite("No command specified", NULL);
+			emlwrite("|UFRO", NULL);
 			break;
 		    }
 
@@@@ -790,12 +790,12 @@@@
 	  case 'D':
 	    if(gmp->current->mode == FIODIR){
 /* BUG: if dir is empty it should be deleted */
-		emlwrite("\007Can't delete a directory", NULL);
+		emlwrite("\007LkRӥؿ", NULL);
 		break;
 	    }
 
 	    if(gmode&MDSCUR){				/* not allowed! */
-		emlwrite("Delete not allowed in restricted mode",NULL);
+		emlwrite("LkbҦϥΧRO",NULL);
 		break;
 	    }
 
@@@@ -806,17 +806,17 @@@@
 	    while(i++ < 2){		/* verify twice!! */
 		if(i == 1){
 		    if(fexist(child, "w", (off_t *)NULL) != FIOSUC)
-		      strcpy(tmp, "File is write protected! OVERRIDE");
+		      strcpy(tmp, "ɮ׬g! nLgO@@");
 		    else
-		      sprintf(tmp, "Delete file \"%.*s\"", NLINE - 20, child);
+		      sprintf(tmp, "Rɮ \"%.*s\"", NLINE - 20, child);
 		}
 		else
-		  strcpy(tmp, "File CANNOT be UNdeleted!  Really delete");
+		  strcpy(tmp, "ɮױNLkQϧR! TwR");
 
 		if((status = mlyesno(tmp, FALSE)) != TRUE){
 		    emlwrite((status ==  ABORT)
-			       ? "Delete Cancelled"
-			       : "File Not Deleted",
+			       ? "R"
+			       : "ɮרSQR",
 			     NULL);
 		    break;
 		}
@@@@ -824,7 +824,7 @@@@
 
 	    if(status == TRUE){
 		if(unlink(child) < 0){
-		    emlwrite("Delete Failed: %s", errstr(errno));
+		    emlwrite("RѡG%s", errstr(errno));
 		}
 		else{			/* fix up pointers and redraw */
 		    tp = gmp->current;
@@@@ -893,12 +893,12 @@@@
  
 	    while(!i){
  
-		status = mlreply("Directory to go to: ", child, NLINE, QNORML,
+		status = mlreply("ܭ@@ӥؿG", child, NLINE, QNORML,
 				 NULL);
  
 		switch(status){
 		  case HELPCH:
-		    emlwrite("\007No help yet!", NULL);
+		    emlwrite("\007|LU!", NULL);
 		    /* remove break and sleep after help text is installed */
 		    sleep(3);
 		    break;
@@@@ -906,7 +906,7 @@@@
 		    PaintBrowser(gmp, 0, &crow, &ccol);
 		  break;
 		  case ABORT:
-		    emlwrite("Goto cancelled", NULL);
+		    emlwrite("ؿ", NULL);
 		    i++;
 		    break;
 		  case FALSE:
@@@@ -917,17 +917,17 @@@@
 		      strcpy(child, gethomedir(NULL));
  
 		    if(!compresspath(gmp->dname, child, NLINE)){
-			emlwrite("Invalid Directory: %s", child);
+			emlwrite("LĪؿG%s", child);
 			break;
 		    }
 
 		    if((gmode&MDSCUR) && homeless(child)){
-			emlwrite("Restricted mode browsing limited to home directory",NULL);
+			emlwrite("Ҧȯs home directory",NULL);
 			break;
 		    }
  
 		    if((gmode&MDTREE) && !in_oper_tree(child)){
-			emlwrite("Attempt to Goto directory denied", NULL);
+			emlwrite("wڵϥΪ̤ؿШD", NULL);
 			break;
 		    }
  
@@@@ -943,7 +943,7 @@@@
 			PaintBrowser(gmp, 0, &crow, &ccol);
 		    }
 		    else
-		      emlwrite("\007Not a directory: \"%s\"", child);
+		      emlwrite("\007\"%s\"O@@ӥؿ", child);
  
 		    break;
 		  default:
@@@@ -956,7 +956,7 @@@@
 	  case 'a':					/* Add */
 	  case 'A':
 	    if(gmode&MDSCUR){				/* not allowed! */
-		emlwrite("Copy not allowed in restricted mode",NULL);
+		emlwrite("LkbҦsWɮ",NULL);
 		break;
 	    }
 
@@@@ -965,10 +965,10 @@@@
 
 	    while(!i){
 
-		switch(status=mlreply("Name of file to add: ", child, NLINE,
+		switch(status=mlreply("sWɦWG", child, NLINE,
 				      QFFILE, NULL)){
 		  case HELPCH:
-		    emlwrite("\007No help yet!", NULL);
+		    emlwrite("\007|LU!", NULL);
 /* remove break and sleep after help text is installed */
 		    sleep(3);
 		    break;
@@@@ -976,7 +976,7 @@@@
 		    PaintBrowser(gmp, 0, &crow, &ccol);
 		    break;
 		  case ABORT:
-		    emlwrite("Add File Cancelled", NULL);
+		    emlwrite("sWɮ", NULL);
 		    i++;
 		    break;
 		  case FALSE:
@@@@ -987,7 +987,7 @@@@
 		    i++;
 
 		    if(child[0] == '\0'){
-			emlwrite("No file named.  Add Cancelled.", NULL);
+			emlwrite("wɦWAsWɮסC", NULL);
 			break;
 		    }
 
@@@@ -995,7 +995,7 @@@@
 		    sprintf(child, "%s%c%s", gmp->dname, C_FILESEP, tmp);
 
 		    if((status = fexist(child, "w", (off_t *)NULL)) == FIOSUC){
-			sprintf(tmp,"File \"%.*s\" already exists!",
+			sprintf(tmp,"ɮ \"%.*s\" wsb!",
 				NLINE - 20, child);
 			emlwrite(tmp, NULL);
 			break;
@@@@ -1011,7 +1011,7 @@@@
 		    }
 		    else{			/* highlight new file */
 			ffclose();
-			emlwrite("Added File \"%s\"", child);
+			emlwrite("sWɮ \"%s\"", child);
 
 			if((p = strrchr(child, C_FILESEP)) == NULL){
 			    emlwrite("Problems refiguring browser", NULL);
@@@@ -1059,12 +1059,12 @@@@
 	  case 'c':					/* copy */
 	  case 'C':
 	    if(gmp->current->mode == FIODIR){
-		emlwrite("\007Can't copy a directory", NULL);
+		emlwrite("\007Lkƻsؿ", NULL);
 		break;
 	    }
 
 	    if(gmode&MDSCUR){				/* not allowed! */
-		emlwrite("Copy not allowed in restricted mode",NULL);
+		emlwrite("LkbҦƻsɮ",NULL);
 		break;
 	    }
 
@@@@ -1073,10 +1073,10 @@@@
 
 	    while(!i){
 
-		switch(status=mlreply("Name of new copy: ", child, NLINE,
+		switch(status=mlreply("sƻsɦWG", child, NLINE,
 				      QFFILE, NULL)){
 		  case HELPCH:
-		    emlwrite("\007No help yet!", NULL);
+		    emlwrite("\007|LU!", NULL);
 /* remove break and sleep after help text is installed */
 		    sleep(3);
 		    break;
@@@@ -1084,7 +1084,7 @@@@
 		    PaintBrowser(gmp, 0, &crow, &ccol);
 		    break;
 		  case ABORT:
-		    emlwrite("Make Copy Cancelled", NULL);
+		    emlwrite("ƻsɮ", NULL);
 		    i++;
 		    break;
 		  case FALSE:
@@@@ -1095,12 +1095,12 @@@@
 		    i++;
 
 		    if(child[0] == '\0'){
-			emlwrite("No destination, file not copied", NULL);
+			emlwrite("wئaɦWAɮרSQƻsC", NULL);
 			break;
 		    }
 
 		    if(!strcmp(gmp->current->fname, child)){
-			emlwrite("\007Can't copy file on to itself!", NULL);
+			emlwrite("\007LkNɮ׽ƻsܥۤv!", NULL);
 			break;
 		    }
 
@@@@ -1108,12 +1108,12 @@@@
 		    sprintf(child, "%s%c%s", gmp->dname, C_FILESEP, tmp);
 
 		    if((status = fexist(child, "w", (off_t *)NULL)) == FIOSUC){
-			sprintf(tmp,"File \"%.*s\" exists! OVERWRITE",
+			sprintf(tmp,"ɮ \"%.*s\" wsb! nл\\",
 				NLINE - 20, child);
 			if((status = mlyesno(tmp, 0)) != TRUE){
 			    emlwrite((status == ABORT)
-				      ? "Make copy cancelled" 
-				      : "File Not Renamed",
+				      ? "ƻs" 
+				      : "ɮרSQƻs",
 				     NULL);
 			    break;
 			}
@@@@ -1131,7 +1131,7 @@@@
 			break;
 		    }
 		    else{			/* highlight new file */
-			emlwrite("File copied to %s", child);
+			emlwrite("ƻsɮר %s", child);
 
 			if((p = strrchr(child, C_FILESEP)) == NULL){
 			    emlwrite("Problems refiguring browser", NULL);
@@@@ -1174,12 +1174,12 @@@@
 	    i = 0;
 
 	    if(!strcmp(gmp->current->fname, "..")){
-		emlwrite("\007Can't rename \"..\"", NULL);
+		emlwrite("\007Lk \"..\" W", NULL);
 		break;
 	    }
 
 	    if(gmode&MDSCUR){				/* not allowed! */
-		emlwrite("Rename not allowed in restricted mode",NULL);
+		emlwrite("LkbҦɮצW",NULL);
 		break;
 	    }
 
@@@@ -1187,10 +1187,10 @@@@
 
 	    while(!i){
 
-		switch(status=mlreply("Rename file to: ", child, NLINE, QFFILE,
+		switch(status=mlreply("ɮצW٧אּG", child, NLINE, QFFILE,
 				      NULL)){
 		  case HELPCH:
-		    emlwrite("\007No help yet!", NULL);
+		    emlwrite("\007|LU!", NULL);
 /* remove break and sleep after help text is installed */
 		    sleep(3);
 		    break;
@@@@ -1198,7 +1198,7 @@@@
 		    PaintBrowser(gmp, 0, &crow, &ccol);
 		    break;
 		  case ABORT:
-		    emlwrite("Rename cancelled", NULL);
+		    emlwrite("ɮצW", NULL);
 		    i++;
 		    break;
 		  case FALSE:
@@@@ -1216,13 +1216,13 @@@@
 		    status = fexist(child, "w", (off_t *)NULL);
 		    if(status == FIOSUC || status == FIOFNF){
 			if(status == FIOSUC){
-			    sprintf(tmp,"File \"%.*s\" exists! OVERWRITE",
+			    sprintf(tmp,"ɮ \"%.*s\" wsb! nл\\",
 				    NLINE - 20, child);
 
 			    if((status = mlyesno(tmp, FALSE)) != TRUE){
 				emlwrite((status ==  ABORT)
-					  ? "Rename cancelled"
-					  : "Not Renamed",
+					  ? "W"
+					  : "ɮרSQW",
 					 NULL);
 				break;
 			    }
@@@@ -1232,7 +1232,7 @@@@
 				gmp->current->fname);
 
 			if(rename(tmp, child) < 0){
-			    emlwrite("Rename Failed: %s", errstr(errno));
+			    emlwrite("WѡG%s", errstr(errno));
 			}
 			else{
 			    if((p = strrchr(child, C_FILESEP)) == NULL){
@@@@ -1291,7 +1291,7 @@@@
 
 			if((gmode&MDTREE) && !in_oper_tree(tmp)){
 			    emlwrite(
-				   "\007Can't visit parent in restricted mode",
+				   "\007LkbҦ˵Whؿ",
 				   NULL);
 			    break;
 			}
@@@@ -1312,7 +1312,7 @@@@
 			        strcpy(tmp, S_FILESEP);
 #endif
 			      else{
-				  emlwrite("\007Can't move up a directory",
+				  emlwrite("\007LkܤW@@hؿ",
 					   NULL);
 				  break;
 			      }
@@@@ -1339,12 +1339,12 @@@@
 			PlaceCell(gmp, gmp->current, &row, &col);
 		    }
 		    else
-		      emlwrite("\007Problem finding dir \"%s\"",child);
+		      emlwrite("\007jMؿ \"%s\" ɥXFD",child);
 		}
 
 		PaintBrowser(gmp, 0, &crow, &ccol);
 		if(!*child)
-		  emlwrite("Select/View \".. parent dir\" to return to previous directory.",
+		  emlwrite("H []/[˵] \".. parent dir\" ^e@@ӥؿC",
 			   NULL);
 
 		break;
@@@@ -1383,7 +1383,7 @@@@
 
 		switch(readpattern("File name to find")){
 		  case HELPCH:
-		    emlwrite("\007No help yet!", NULL);
+		    emlwrite("\007|LU!", NULL);
 /* remove break and sleep after help text is installed */
 		    sleep(3);
 		    break;
@@@@ -1414,10 +1414,10 @@@@
 			}
 			while(tp->next);
 
-			emlwrite("Searched to end of directory", NULL);
+			emlwrite("jMܥؿ", NULL);
 		    }
 		    else
-		      emlwrite("Searched to start of directory", NULL);
+		      emlwrite("jMܥؿ_l", NULL);
 
 		    if(tp){
 			PlaceCell(gmp, gmp->current, &row, &col);
@@@@ -1436,7 +1436,7 @@@@
 		    i++;			/* make sure we jump out */
 		    break;
 		  case ABORT:
-		    emlwrite("Whereis cancelled", NULL);
+		    emlwrite("jM", NULL);
 		    i++;
 		    break;
 		  case FALSE:
@@@@ -1460,7 +1460,7 @@@@
 			mlerase();
 		    }
 		    else
-		      emlwrite("\"%s\" not found", pat);
+		      emlwrite("䤣 \"%s\"", pat);
 
 		    i++;
 		    break;
@@@@ -1482,11 +1482,11 @@@@
 	  default:				/* what? */
 	  Default:
 	    if(c < 0xff)
-	      emlwrite("\007Unknown command: '%c'", (void *) c);
+	      emlwrite("\007ROG'%c'", (void *) c);
 	    else if(c & CTRL)
-	      emlwrite("\007Unknown command: ^%c", (void *)(c&0xff));
+	      emlwrite("\007ROG^%c", (void *)(c&0xff));
 	    else
-	      emlwrite("\007Unknown command", NULL);
+	      emlwrite("\007RO", NULL);
 	  case NODATA:				/* no op */
 	    break;
 	}
@@@@ -1516,7 +1516,7 @@@@
 
     errbuf[0] = '\0';
     if((mp=(struct bmaster *)malloc(sizeof(struct bmaster))) == NULL){
-	emlwrite("\007Can't malloc space for master filename cell", NULL);
+	emlwrite("\007LktmOŶ master filename cell", NULL);
 	return(NULL);
     }
 
@@@@ -1540,7 +1540,7 @@@@
     mp->cpf = mp->fpl = 0;
     mp->longest = 5;				/* .. must be labeled! */
 
-    emlwrite("Building file list of %s...", mp->dname);
+    emlwrite("bإ %s ɮצC...", mp->dname);
 
     if((mp->names = getfnames(mp->dname, NULL, &nentries, errbuf)) == NULL){
 	free((char *) mp);
@@@@ -1559,7 +1559,7 @@@@
      * easily be made a user option later on...
      */
     if((filtnames=(char **)malloc((nentries+1) * sizeof(char *))) == NULL){
-	emlwrite("\007Can't malloc space for name array", NULL);
+	emlwrite("\007LktmOŶ name array", NULL);
 	zotmaster(&mp);
 	return(NULL);
     }
@@@@ -1610,7 +1610,7 @@@@
     while(nentries--){				/* stat filtered files */
 	/* get a new cell */
 	if((ncp=(struct fcell *)malloc(sizeof(struct fcell))) == NULL){
-	    emlwrite("\007Can't malloc cells for browser!", NULL);
+	    emlwrite("\007LktmOŶ browser!", NULL);
 	    zotfcells(mp->head);		/* clean up cells */
 	    free((char *) filtnames);
 	    free((char *) mp);
@@@@ -1780,22 +1780,22 @@@@
 BrowserKeys()
 {
     menu_browse[QUIT_KEY].name  = (gmode&MDBRONLY) ? "Q" : "E";
-    menu_browse[QUIT_KEY].label = (gmode&MDBRONLY) ? "Quit" : "Exit Brwsr";
+    menu_browse[QUIT_KEY].label = (gmode&MDBRONLY) ? "}" : "}s";
     menu_browse[GOTO_KEY].name  = (gmode&MDGOTO) ? "G" : NULL;
-    menu_browse[GOTO_KEY].label = (gmode&MDGOTO) ? "Goto" : NULL;
+    menu_browse[GOTO_KEY].label = (gmode&MDGOTO) ? "" : NULL;
     if(gmode & MDBRONLY){
 	menu_browse[EXEC_KEY].name  = "L";
-	menu_browse[EXEC_KEY].label = "Launch";
+	menu_browse[EXEC_KEY].label = "Ұ";
 	menu_browse[SELECT_KEY].name  = "V";
-	menu_browse[SELECT_KEY].label = "[View]";
+	menu_browse[SELECT_KEY].label = "[˵]";
 	menu_browse[PICO_KEY].name  = "E";
-	menu_browse[PICO_KEY].label = "Edit";
+	menu_browse[PICO_KEY].label = "s";
     }
     else{
 	menu_browse[SELECT_KEY].name  = "S";
-	menu_browse[SELECT_KEY].label = "[Select]";
+	menu_browse[SELECT_KEY].label = "[]";
 	menu_browse[PICO_KEY].name  = "A";
-	menu_browse[PICO_KEY].label = "Add";
+	menu_browse[PICO_KEY].label = "sW";
     }
 
     wkeyhelp(menu_browse);
@@@@ -1898,7 +1898,7 @@@@
 
 	if((tp = tp->next) == NULL){		/* above top? */
 	    if(secondtry++){
-		emlwrite("\007Internal error: can't find fname cell", NULL);
+		emlwrite("\007~G 䤣 fname cell", NULL);
 		return(-1);
 	    }
 	    else{
@@@@ -2064,10 +2064,10 @@@@
 	if(!p)					/* no suitable length! */
 	  p = &dir[l-(term.t_ncol-i-19)];
 
-	sprintf(buf, "%s Dir ...%s", (gmode&MDBRONLY) ? "" : " BROWSER  ", p);
+	sprintf(buf, "%s ؿ ...%s", (gmode&MDBRONLY) ? "" : " BROWSER  ", p);
     }
     else 
-      sprintf(buf,"%s  Dir: %s", (gmode&MDBRONLY) ? "" : " BROWSER  ", dir);
+      sprintf(buf,"%s  ؿG %s", (gmode&MDBRONLY) ? "" : " BROWSER  ", dir);
 
     if(i < j)					/* keep it centered */
       j = j - i;				/* as long as we can */
@@@@ -2196,18 +2196,18 @@@@
 	      if((line = (buf[i] == '\n') ? 0 : line + 1) >= LA_LINE_LIMIT
 		 || !buf[i]){
 		  rv = FALSE;
-		  emlwrite("Can't display non-text file.  Try \"Launch\".",
+		  emlwrite("LkܫDrɡCո \"Ұ\"C",
 			   NULL);
 		  break;
 	      }
d29 2
a30 8
-	  emlwrite("Can't read file: %s", file);
+	  emlwrite("LkŪɮסG%s", file);
 
 	fclose(fp);
     }
     else
-      emlwrite("Can't open file: %s", file);
+      emlwrite("Lk}ɮסG%s", file);
d32 2
a33 2
     return(rv);
 }
@


1.2
log
@Upgrade to 4.00
Submitted by:	Liang Tai-hwa <avatar@@www.mmlab.cse.yzu.edu.tw>
@
text
@d1 2
a2 2
--- pico/browse.c.orig	Fri May 29 06:39:05 1998
+++ pico/browse.c	Wed Jul 15 17:02:30 1998
d114 1
a114 1
 		    if(fexist(child, "w", (long *)NULL) != FIOSUC)
d240 1
a240 1
 		    if((status = fexist(child, "w", (long *)NULL)) == FIOSUC){
d310 1
a310 1
 		    if((status = fexist(child, "w", (long *)NULL)) == FIOSUC){
d370 1
a370 1
 		    status = fexist(child, "w", (long *)NULL);
d510 1
a510 1
@@@@ -1608,7 +1608,7 @@@@
d519 1
a519 1
@@@@ -1778,22 +1778,22 @@@@
d549 1
a549 1
@@@@ -1896,7 +1896,7 @@@@
d558 1
a558 1
@@@@ -2062,10 +2062,10 @@@@
d571 1
a571 1
@@@@ -2194,18 +2194,18 @@@@
@


1.1
log
@Initial revision
@
text
@d1 592
a592 15
*** imap/ANSI/c-client/news.c.orig	Wed May 15 13:50:02 1996
--- imap/ANSI/c-client/news.c	Fri Jun 14 00:12:49 1996
***************
*** 310,314 ****
    while (s = strchr (s,'.')) *s = '/';
  				/* scan directory */
!   if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) {
      stream->local = fs_get (sizeof (NEWSLOCAL));
      LOCAL->dirty = NIL;		/* no update to .newsrc needed yet */
--- 310,314 ----
    while (s = strchr (s,'.')) *s = '/';
  				/* scan directory */
!   if ((nmsgs = scandir (tmp,&names,news_select,(void*)news_numsort)) >= 0) {
      stream->local = fs_get (sizeof (NEWSLOCAL));
      LOCAL->dirty = NIL;		/* no update to .newsrc needed yet */
@


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
@@
