sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit 24c6df3d736749863d3ba853017d8d26c457bbd2
parent 398598dbbe5e533ca10d93c690becaa66f589b75
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon, 30 Mar 2015 21:48:26 +0200

col: buffer 128 lines by default

Diffstat:
Mcol.1 | 4++--
Mcol.c | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git 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 @@ -8,7 +8,7 @@ #include "utf.h" #include "util.h" -#define NLINES 256 +#define NLINES 128 #define NCOLS 800 static Rune **buf;