col: buffer 128 lines by default

This commit is contained in:
Hiltjo Posthuma 2015-03-30 21:48:26 +02:00
parent 398598dbbe
commit 24c6df3d73
2 changed files with 3 additions and 3 deletions

4
col.1
View File

@ -54,7 +54,7 @@ Do not convert spaces to tabs.
.It Fl l Ar num .It Fl l Ar num
Buffer Buffer
.Ar num .Ar num
lines in memory. lines in memory. By default, 128 lines are buffered.
.El .El
.Sh SEE ALSO .Sh SEE ALSO
.Xr nroff 1 , .Xr nroff 1 ,
@ -62,7 +62,7 @@ lines in memory.
.Xr ms 6 .Xr ms 6
.Sh BUGS .Sh BUGS
.Nm .Nm
only buffers up to 256 lines with up to 800 bytes per line only buffers up to 128 lines with up to 800 bytes per line
if the line-number hasn't been set differently with the if the line-number hasn't been set differently with the
.Op Fl l .Op Fl l
flag. flag.

2
col.c
View File

@ -8,7 +8,7 @@
#include "utf.h" #include "utf.h"
#include "util.h" #include "util.h"
#define NLINES 256 #define NLINES 128
#define NCOLS 800 #define NCOLS 800
static Rune **buf; static Rune **buf;