[net.sources.bugs] Unix `vc' spreadsheet.

cdl@mplvax.UUCP (Carl Lowenstein) (01/04/85)

Whoever modified 'sc.h' to read
					#define MAXROWS 500
and left it saying a few lines later
					char row,col;
didn't do anybody any favors!
If MAXROWS is going to be >127, then row had better be at least short.

Likewise, about line 228 of 'sc.c' I would believe

	if (currow >= MAXROWS - 1 || maxrow >= MAXROWS - 1)

while checking for overflow of the number of rows.

Note also that the manual page 'vc.1' doesn't describe all of the commands
which are various cases in the main switch of 'sc.c' but I haven't
figured them all out yet.  Also the manual page implies MAXROWS=100.

-- 
	carl lowenstein		marine physical lab	u.c. san diego
	{ihnp4|decvax|akgua|dcdwest|ucbvax}	!sdcsvax!mplvax!cdl