Package: zoo
Version: 2.10-20
Severity: wishlist
Tags: patch

The requirement to press RET key are not very confortable. The
following patch removed the requirement to press a key to next screen,
so that the output can be fed to less(1) etc.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=ISO-8859-1) (ignored: 
LC_ALL set to en_US)
Shell: /bin/sh linked to /bin/dash

Versions of packages zoo depends on:
ii  libc6                         2.7-6      GNU C Library: Shared libraries

zoo recommends no packages.

-- no debconf information
>From 0f1ded27f135f8302e4ea123175dae1f11154af1 Mon Sep 17 00:00:00 2001
From: Jari Aalto <[EMAIL PROTECTED]>
Date: Sat, 16 Feb 2008 11:01:45 +0200
Subject: [PATCH] zoo.c: (wait_return): comment out

Signed-off-by: Jari Aalto <[EMAIL PROTECTED]>
---
 zoo.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/zoo.c b/zoo.c
index 26de52a..fd9d8d7 100644
--- a/zoo.c
+++ b/zoo.c
@@ -511,6 +511,7 @@ static void wait_return()
        if (!isatty(fileno(stdout)) || !isatty(fileno(stdin)))
                return;
 #endif
+#ifdef PAUSE_HELP
        (void) printf("Hit RETURN (or ENTER) key to continue...");
        for ( ; ;) {
                int key; 
@@ -520,4 +521,5 @@ static void wait_return()
                if (key == '\n' || key == '\r')
                        return;
        }
+#endif
 }
-- 
1.5.3.8

Reply via email to