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.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.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/edef.h.orig	Thu Apr 23 07:53:44 1998
+++ pico/edef.h	Thu Oct 14 10:53:41 1999
@@@@ -59,7 +59,7 @@@@
 int	ComposerEditing = FALSE;	/* TRUE if message line is open */
 int	revexist = FALSE;		/* does reverse video exist?	*/
 char	modecode[] = "WCSEVO";		/* letters to represent modes	*/
-long	gmode = MDWRAP;			/* global editor mode		*/
+long	gmode = MDWRAP | MDTCAPWINS;	/* global editor mode		*/
 int     sgarbf  = TRUE;                 /* TRUE if screen is garbage	*/
 int     mpresf  = FALSE;                /* TRUE if message in last line */
 int	clexec	= FALSE;		/* command line execution flag	*/
@


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
@d2 1
a2 1
+++ pico/edef.h	Tue Aug  4 12:42:14 1998
@


1.3
log
@Upgrade to 4.02,
Submitted by:	maintainer
@
text
@d1 11
a11 11
--- pico/estruct.h.orig	Fri May 29 06:56:52 1998
+++ pico/estruct.h	Tue Jul 28 08:35:00 1998
@@@@ -125,7 +125,7 @@@@
 #define	LOBIT_CHAR(C)	((C) > 0x1f && (C) < 0x7f)
 #define	HIBIT_CHAR(C)	((C) > 0x7f && (C) <= 0xff)
 #define	HIBIT_OK(C)	(!(gmode & MDHBTIGN))
-#define	VALID_KEY(C)	(LOBIT_CHAR(C) || (HIBIT_OK(C) && HIBIT_CHAR(C)))
+#define	VALID_KEY(C)	(((C) & 0x80) ? 1 : LOBIT_CHAR(C))
 #define ctrl(c)         ((c) & 0x1f)    /* control character mapping */
 
 #define STDIN_FD	0
@


1.2
log
@Upgrade to 4.00
Submitted by:	Liang Tai-hwa <avatar@@www.mmlab.cse.yzu.edu.tw>
@
text
@d1 9
a9 12
--- pico/search.c.orig	Fri Jun 26 05:48:14 1998
+++ pico/search.c	Wed Jul 15 17:02:31 1998
@@@@ -165,7 +165,7 @@@@
 	        break;
 	      default:
 		if(status == ABORT)
-		  emlwrite("Search Cancelled", NULL);
+		  emlwrite("jM", NULL);
 		else
 		  mlerase();
 		curwp->w_flag |= WFMODE;
@@@@ -212,16 +212,16 @@@@
d11 1
a11 124
     /* and complain if not there */
     if (status == FALSE){
-      emlwrite("\"%s\" not found", defpat);
+      emlwrite("䤣 \"%s\"", defpat);
     }
     else if((gmode & MDREPLACE) && repl_mode == TRUE){
         status = replace_pat(defpat, &wrapt2);    /* replace pattern */
 	if (wrapt == TRUE || wrapt2 == TRUE)
-	  emlwrite("Replacement %srapped",
-		   (status == ABORT) ? "cancelled but w" : "W");
+	  emlwrite("N%sɮװ_lqYjM",
+		   (status == ABORT) ? "wA" : "");
     }
     else if(wrapt == TRUE){
-	emlwrite("Search Wrapped", NULL);
+	emlwrite("qYjM", NULL);
     }
     else if(status == TRUE){
 	emlwrite("", NULL);
@@@@ -251,7 +251,7 @@@@
 	/* additional 'replace all' menu option */
         menu_pat[0].name  = "^X";
         menu_pat[0].key   = (CTRL|'X');
-        menu_pat[0].label = "Repl All";
+        menu_pat[0].label = "NҦ";
         KS_OSDATASET(&menu_pat[0], KS_NONE);
 	menu_pat[1].name  = NULL;
 
@@@@ -298,10 +298,10 @@@@
 	    case (CTRL|'X'):        /* toggle replace all option */
 	        if (repl_all){
 		  repl_all = FALSE;
-		  menu_pat[0].label = "Repl All";
+		  menu_pat[0].label = "NҦ";
 	        }else{
 		  repl_all = TRUE;
-		  menu_pat[0].label = "Repl One";
+		  menu_pat[0].label = "N@@";
 		}
 	        break;
 
@@@@ -342,7 +342,7 @@@@
 		else
 		{
 		  if(status == ABORT)
-		    emlwrite("Replacement Cancelled", NULL);
+		    emlwrite("N", NULL);
 		  else
 		    mlerase();
 		  chword(defpat, defpat);
@@@@ -352,7 +352,7 @@@@
 
 	    default:
                 if(status == ABORT)
-                  emlwrite("Replacement Cancelled", NULL);
+                  emlwrite("N", NULL);
                 else
                   mlerase();
 		chword(defpat, defpat);
@@@@ -384,9 +384,9 @@@@
 	(*term.t_rev)(0);
 	fflush(stdout);
 
-	strcpy(prompt, "Replace \"");
+	strcpy(prompt, "N \"");
 	expandp(&orig[0], &prompt[strlen(prompt)], NPAT/2);
-	strcat(prompt, "\" with \"");
+	strcat(prompt, "\"  \"");
 	expandp(&repl[0], &prompt[strlen(prompt)], NPAT/2);
 	strcat(prompt, "\"");
 
@@@@ -400,13 +400,13 @@@@
 	    chword(orig, orig);			/* replace word by itself */
 	    update();
 	    if(status == ABORT){		/* if cancelled return */
-		emlwrite("Replace All cancelled after %d changes", (char *) n);
+		emlwrite("buNҦveAwL %d ӧ", (char *) n);
 		return (ABORT);			/* ... else keep looking */
 	    }
 	}
     }
     else{
-	emlwrite("No more matches for \"%s\"", orig);
+	emlwrite("SŦX \"%s\" rF", orig);
 	return (FALSE);
     }
 }
@@@@ -423,18 +423,18 @@@@
 	EXTRAKEYS    menu_pat[4];
 
 	menu_pat[0].name  = "^Y";
-	menu_pat[0].label = "FirstLine";
+	menu_pat[0].label = "Ĥ@@";
 	menu_pat[0].key   = (CTRL|'Y');
 	KS_OSDATASET(&menu_pat[0], KS_NONE);
 	menu_pat[1].name  = "^V";
-	menu_pat[1].label = "LastLine";
+	menu_pat[1].label = "̫@@";
 	menu_pat[1].key   = (CTRL|'V');
 	KS_OSDATASET(&menu_pat[1], KS_NONE);
 	menu_pat[2].name  = "^R";
 	if (repl_mode)
-	  menu_pat[2].label = "Don't Replace";
+	  menu_pat[2].label = "N";
 	else
-	  menu_pat[2].label = "Replace";
+	  menu_pat[2].label = "N";
 	menu_pat[2].key   = (CTRL|'R');
 	KS_OSDATASET(&menu_pat[2], KS_NONE);
 	menu_pat[3].name  = NULL;
@@@@ -485,11 +485,11 @@@@
 	EXTRAKEYS    menu_pat[3];
 
 	menu_pat[0].name  = "^Y";
-	menu_pat[0].label = "FirstLine";
+	menu_pat[0].label = "Ĥ@@";
 	menu_pat[0].key   = (CTRL|'Y');
 	KS_OSDATASET(&menu_pat[0], KS_NONE);
 	menu_pat[1].name  = "^V";
-	menu_pat[1].label = "LastLine";
+	menu_pat[1].label = "̫@@";
 	menu_pat[1].key   = (CTRL|'V');
 	KS_OSDATASET(&menu_pat[1], KS_NONE);
 	menu_pat[2].name  = NULL;
@


1.1
log
@Initial revision
@
text
@d1 137
a137 19
*** pine/pine.h.bak	Thu Jul 11 22:15:44 1996
--- pine/pine.h	Tue Dec  3 20:52:56 1996
***************
*** 2085,2091 ****
  } ATABLE_S;
  
  
! #define TAG_EMBED	'\377'	/* Announces embedded data in text string */
  #define	TAG_INVON	'\001'	/* Supported character attributes	  */
  #define	TAG_INVOFF	'\002'
  #define	TAG_BOLDON	'\003'
--- 2085,2091 ----
  } ATABLE_S;
  
  
! #define TAG_EMBED       '\001'  /* Announces embedded data in text string */
  #define	TAG_INVON	'\001'	/* Supported character attributes	  */
  #define	TAG_INVOFF	'\002'
  #define	TAG_BOLDON	'\003'
@


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