From 9a3c8c222b131ca0703570bda1add07d80fa616c Mon Sep 17 00:00:00 2001 From: jkh Date: Thu, 7 Nov 1996 09:27:23 +0000 Subject: If not on a tty, don't do "--more--" processing. Someday, I will get rogomatic to work with this version. :) --- games/rogue/pack.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'games') diff --git a/games/rogue/pack.c b/games/rogue/pack.c index 7e9c4fc..3efcfa6 100644 --- a/games/rogue/pack.c +++ b/games/rogue/pack.c @@ -264,6 +264,8 @@ next_avail_ichar() wait_for_ack() { + if (!isatty(0) || !isatty(1)) + return; while (rgetchar() != ' ') ; } -- cgit v1.1