diff options
author | jkh <jkh@FreeBSD.org> | 1996-11-07 09:27:23 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-11-07 09:27:23 +0000 |
commit | 9a3c8c222b131ca0703570bda1add07d80fa616c (patch) | |
tree | 3c4acb30c839abc9a39611eba1d24e6eca452fd7 /games/rogue/pack.c | |
parent | 0096c37cc7c3e72bbdd505ef949ba848b2f8b1ce (diff) | |
download | FreeBSD-src-9a3c8c222b131ca0703570bda1add07d80fa616c.zip FreeBSD-src-9a3c8c222b131ca0703570bda1add07d80fa616c.tar.gz |
If not on a tty, don't do "--more--" processing. Someday, I will get
rogomatic to work with this version. :)
Diffstat (limited to 'games/rogue/pack.c')
-rw-r--r-- | games/rogue/pack.c | 2 |
1 files changed, 2 insertions, 0 deletions
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() != ' ') ; } |