1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/editors/pico/files/patch-as
2003-09-25 05:03:59 +00:00

58 lines
2.1 KiB
Plaintext

*** 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;