From 34b839633739781725da28b8c5d466f478e5ee70 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Thu, 7 Nov 1996 09:27:23 +0000 Subject: [PATCH] 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(+) diff --git a/games/rogue/pack.c b/games/rogue/pack.c index 7e9c4fcfd1f..3efcfa6cd18 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() != ' ') ; }