Subject: pkg/7454: patch for screen to warn if termcap overflows
To: None <gnats-bugs@gnats.netbsd.org>
From: Joel Reicher <joel@panacea.null.org>
List: netbsd-bugs
Date: 04/23/1999 04:35:47
>Number: 7454
>Category: pkg
>Synopsis: patch for screen to warn if termcap overflows
>Confidential: yes
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager (NetBSD software packages system bug manager)
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Apr 23 04:35:01 1999
>Last-Modified:
>Originator: Joel Reicher
>Organization:
>Release: 1.4_ALPHA <NetBSD-current source date>
>Environment:
System: NetBSD panacea.null.org 1.4_ALPHA NetBSD 1.4_ALPHA (GENERIC) #0: Sun Apr 4 19:23:44 EDT 1999 perry@dustpuppy.atl.warped.com:/ccd0/arena/src/sys/arch/i386/compile/GENERIC i386
>Description:
Termcap overflow in the screen package can still occur without warning.
>How-To-Repeat:
>Fix:
The following patch will at least get screen to issue a warning.
--- os.h.orig Wed Nov 25 01:39:31 1998
+++ os.h Wed Apr 21 11:20:09 1999
@@ -487,7 +487,7 @@
*/
#ifndef TERMCAP_BUFSIZE
-# define TERMCAP_BUFSIZE 2048
+# define TERMCAP_BUFSIZE 1024
#endif
#ifndef MAXPATHLEN
>Audit-Trail:
>Unformatted: