1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/editors/pico/files/patch-as
Doug Barton f0db88a0cc Upgrade to the source from pine 4.53. The previous MAINTAINER has been
ignoring this port, and two PR's filed against it.

Update mirror sites as well.

PR:		ports/47289
Submitted by:	Jon Noack <noackjr@compgeek.com>
2003-01-23 09:51:01 +00:00

60 lines
2.2 KiB
Plaintext

*** pine/init.c.orig Tue Jan 26 21:57:56 1999
--- pine/init.c Tue Feb 9 22:14:08 1999
*** pico/edef.h.orig Thu Apr 23 02:53:44 1998
--- pico/edef.h Tue Feb 9 22:14:08 1999
***************
*** 59,65 ****
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 */
int sgarbf = TRUE; /* TRUE if screen is garbage */
int mpresf = FALSE; /* TRUE if message in last line */
int clexec = FALSE; /* command line execution flag */
--- 59,65 ----
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 | 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 */
*** pico/main.c.orig Tue Feb 9 21:46:54 1999
--- pico/main.c Tue Feb 9 22:14:08 1999
***************
*** 443,449 ****
gmode ^= MDSSPD;
break;
case 'q': /* -q for termcap takes precedence */
! gmode ^= MDTCAPWINS;
break;
case 'w': /* -w turn off word wrap */
gmode ^= MDWRAP;
--- 443,449 ----
gmode ^= MDSSPD;
break;
case 'q': /* -q for termcap takes precedence */
! gmode |= MDTCAPWINS;
break;
case 'w': /* -w turn off word wrap */
gmode ^= MDWRAP;
*** pico/pilot.c.orig Mon Aug 24 20:37:39 1998
--- pico/pilot.c Tue Feb 9 22:14:09 1999
***************
*** 222,228 ****
sup_keyhelp = !sup_keyhelp;
break;
case 'q': /* -q for termcap takes precedence */
! gmode ^= MDTCAPWINS;
break;
case 'z': /* -z to suspend */
gmode ^= MDSSPD;
--- 222,228 ----
sup_keyhelp = !sup_keyhelp;
break;
case 'q': /* -q for termcap takes precedence */
! gmode |= MDTCAPWINS;
break;
case 'z': /* -z to suspend */
gmode ^= MDSSPD;