X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/88b27ae07f694e90637c2a852b754539c2f70172..681fb6f84e8094c2c857d4341d3e2fb97d377908:/uip/mhshowsbr.c diff --git a/uip/mhshowsbr.c b/uip/mhshowsbr.c index c60acb9d..5abd67dc 100644 --- a/uip/mhshowsbr.c +++ b/uip/mhshowsbr.c @@ -533,11 +533,11 @@ show_content_aux2 (CT ct, int serial, int alternate, char *cracked, char *buffer else list_switch (ct, -1, 1, 0, 0); - if (xpause && SOprintf ("Press to show content...")) - printf ("Press to show content..."); - - if (xpause) { + if (xpause && isatty (fileno (stdout))) { int intr; + + if (SOprintf ("Press to show content...")) + printf ("Press to show content..."); SIGNAL_HANDLER istat; istat = SIGNAL (SIGINT, intrser);