diff options
Diffstat (limited to 'misc/screen/patches/patch-ae')
-rw-r--r-- | misc/screen/patches/patch-ae | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/misc/screen/patches/patch-ae b/misc/screen/patches/patch-ae index d4ad6fb3a14..92dd45a441e 100644 --- a/misc/screen/patches/patch-ae +++ b/misc/screen/patches/patch-ae @@ -1,4 +1,4 @@ -$NetBSD: patch-ae,v 1.3 2001/08/18 09:53:02 wiz Exp $ +$NetBSD: patch-ae,v 1.4 2002/11/04 22:39:18 hubertf Exp $ 1. Don't pollute G1 to allow 8-bit encondings. @@ -6,8 +6,8 @@ $NetBSD: patch-ae,v 1.3 2001/08/18 09:53:02 wiz Exp $ longer than 1023 bytes, which cause problems. This is a quick hack but works with our termcap. ---- termcap.c.orig Tue May 8 11:02:24 2001 -+++ termcap.c +--- termcap.c.orig Wed Aug 21 11:24:41 2002 ++++ termcap.c Mon Nov 4 23:10:06 2002 @@ -75,7 +75,7 @@ \t:DO=\\E[%dB:LE=\\E[%dD:RI=\\E[%dC:UP=\\E[%dA:bs:bt=\\E[Z:\\\n\ \t:cd=\\E[J:ce=\\E[K:cl=\\E[H\\E[J:cm=\\E[%i%d;%dH:ct=\\E[3g:\\\n\ @@ -17,12 +17,12 @@ $NetBSD: patch-ae,v 1.3 2001/08/18 09:53:02 wiz Exp $ char * gettermcapstring(s) -@@ -707,7 +707,7 @@ +@@ -705,7 +705,7 @@ { register int n; -- if (tcLineLen + (n = strlen(s)) > 55 && Termcaplen < TERMCAP_BUFSIZE + 8 - 4) -+ if (tcLineLen + (n = strlen(s)) > 69 && Termcaplen < TERMCAP_BUFSIZE + 8 - 4) +- if (tcLineLen + (n = strlen(s)) > 55 && Termcaplen < TERMCAP_BUFSIZE - 4 - 1) ++ if (tcLineLen + (n = strlen(s)) > 69 && Termcaplen < TERMCAP_BUFSIZE - 4 - 1) { strcpy(Termcap + Termcaplen, "\\\n\t:"); Termcaplen += 4; |