From 24c6df3d736749863d3ba853017d8d26c457bbd2 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Mon, 30 Mar 2015 21:48:26 +0200 Subject: [PATCH] col: buffer 128 lines by default --- col.1 | 4 ++-- col.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/col.1 b/col.1 index 939d354..0e63a55 100644 --- a/col.1 +++ b/col.1 @@ -54,7 +54,7 @@ Do not convert spaces to tabs. .It Fl l Ar num Buffer .Ar num -lines in memory. +lines in memory. By default, 128 lines are buffered. .El .Sh SEE ALSO .Xr nroff 1 , @@ -62,7 +62,7 @@ lines in memory. .Xr ms 6 .Sh BUGS .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 .Op Fl l flag. diff --git a/col.c b/col.c index 46c3332..e8c7c8c 100644 --- a/col.c +++ b/col.c @@ -8,7 +8,7 @@ #include "utf.h" #include "util.h" -#define NLINES 256 +#define NLINES 128 #define NCOLS 800 static Rune **buf;