projects
/
open-adventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f68f3a1
)
Echo commands to stdout when replaying...
author
Eric S. Raymond
<esr@thyrsus.com>
Wed, 24 May 2017 00:38:46 +0000
(20:38 -0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Wed, 24 May 2017 00:38:46 +0000
(20:38 -0400)
...makes check loads full transcripts abd more readable.
misc.c
patch
|
blob
|
history
diff --git
a/misc.c
b/misc.c
index 8d5a296d61e2068ae19deafc228c35547da46d35..77fdd222e1221d36fa15b1220a07c1ec25a1161f 100644
(file)
--- 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;