[hackers] [sbase] col: buffer 128 lines by default || Hiltjo Posthuma

From: <git_AT_suckless.org>
Date: Wed, 1 Apr 2015 12:11:10 +0200 (CEST)

commit 24c6df3d736749863d3ba853017d8d26c457bbd2
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Mon Mar 30 21:48:26 2015 +0200

    col: buffer 128 lines by default

diff --git a/col.1 b/col.1
index 939d354..0e63a55 100644
--- a/col.1
+++ b/col.1
_AT_@ -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 ,
_AT_@ -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
_AT_@ -8,7 +8,7 @@
 #include "utf.h"
 #include "util.h"
 
-#define NLINES 256
+#define NLINES 128
 #define NCOLS 800
 
 static Rune **buf;
Received on Wed Apr 01 2015 - 12:11:10 CEST

This archive was generated by hypermail 2.3.0 : Wed Apr 01 2015 - 12:12:19 CEST