From a68ba6393bb73992c8a0350949c4d2c1186a0ff8 Mon Sep 17 00:00:00 2001 From: tth Date: Sat, 2 Feb 2019 03:52:30 +0100 Subject: [PATCH] are we ready for primetime ? --- essai.c | 4 +++- serial/essai.sh | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/essai.c b/essai.c index 2697382..46b2fb7 100644 --- a/essai.c +++ b/essai.c @@ -37,7 +37,9 @@ return 0; /* --------------------------------------------------------------- */ static void finish(int signal) { -endwin(); exit(0); +endwin(); +fprintf(stderr, "end of pid %d\n", getpid()); +exit(0); } /* --------------------------------------------------------------- */ diff --git a/serial/essai.sh b/serial/essai.sh index 4b2d194..e0014fc 100755 --- a/serial/essai.sh +++ b/serial/essai.sh @@ -5,9 +5,9 @@ DATAFILE="foo.dat" TMPFILE="/tmp/dd2data" IMAGE="graphe.png" -NB_READ=9500 +NB_READ=5000 -./t -vv -n ${NB_READ} -d ${DEVICE} | tee -a ${DATAFILE} +./t -v -n ${NB_READ} -d ${DEVICE} | tee -a ${DATAFILE} gnuplot << __EOC__ set term png size 3200,512