curses bug

utzoo!utcsrgv!thomson utzoo!utcsrgv!thomson
Tue Oct 12 11:46:20 AEST 1982


Curses limits the total length of all string capabilities in a terminal
description to 128 characters, and fails in silent and strange ways if this
limit is exceeded.  The local manifestations were games of "rogue" that
would not die.  The only documented limit seems to be 1024 bytes for the
entire text of the description, so to be on the safe side we have increased
the string length limit to 1024 as well.
a
We run 4.1BSD; the change is in version 1.3 of file cr_tty.c (5/15/81)
where
	static char tspace[128],
becomes
	static char tspace[1024],

					Brian Thomson
					CSRG University of Toronto
					utcsrgv!thomson



More information about the Comp.bugs.4bsd.ucb-fixes mailing list