From 63efff14f5e219309bdd5e1b219373bf49605d8d Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 23 May 2017 20:38:46 -0400 Subject: [PATCH] Echo commands to stdout when replaying... ...makes check loads full transcripts abd more readable. --- misc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misc.c b/misc.c index 63052ce..1ca50d8 100644 --- a/misc.c +++ b/misc.c @@ -894,6 +894,8 @@ long I, VAL; } else { if (logfp) IGNORE(fputs(INLINE+1, logfp)); + else if (!isatty(0)) + IGNORE(fputs(INLINE+1, stdout)); LNLENG=0; for (I=1; I<=sizeof(INLINE) && INLINE[I]!=0; I++) { VAL=INLINE[I]+1; -- 2.31.1