isetvbuf(..., _IOLBF, ...) to make sure lines get read right away - ploot - simple plotting tools Err bitreich.org 70 hgit clone git://bitreich.org/ploot git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/ploot URL:git://bitreich.org/ploot git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/ploot bitreich.org 70 1Log /scm/ploot/log.gph bitreich.org 70 1Files /scm/ploot/files.gph bitreich.org 70 1Refs /scm/ploot/refs.gph bitreich.org 70 1Tags /scm/ploot/tag bitreich.org 70 1README /scm/ploot/file/README.md.gph bitreich.org 70 1LICENSE /scm/ploot/file/LICENSE.gph bitreich.org 70 i--- Err bitreich.org 70 1commit d7624d60484f10f1473317b508ff481b8acc1ae9 /scm/ploot/commit/d7624d60484f10f1473317b508ff481b8acc1ae9.gph bitreich.org 70 1parent 98e410eed716d9673c93a5a6f133905df23e8cc3 /scm/ploot/commit/98e410eed716d9673c93a5a6f133905df23e8cc3.gph bitreich.org 70 hAuthor: Josuah Demangeon URL:mailto:mail@josuah.net bitreich.org 70 iDate: Mon, 7 May 2018 02:51:37 +0200 Err bitreich.org 70 i Err bitreich.org 70 isetvbuf(..., _IOLBF, ...) to make sure lines get read right away Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M plootxt.c | 1 + Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 1 insertion(+), 0 deletions(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/plootxt.c b/plootxt.c /scm/ploot/file/plootxt.c.gph bitreich.org 70 i@@ -228,6 +228,7 @@ main(int argc, char **argv) Err bitreich.org 70 i int ncol, nmax; Err bitreich.org 70 i char *labv[LINE_MAX / 2], labels[LINE_MAX]; Err bitreich.org 70 i Err bitreich.org 70 i+ setvbuf(stdin, NULL, _IOLBF, 0); Err bitreich.org 70 i nmax = parse_args(argc, argv, max); Err bitreich.org 70 i ncol = read_labels(labv); Err bitreich.org 70 i width = (wflag - sizeof("XXxXXxXX _")) / ncol - sizeof("|"); Err bitreich.org 70 .