[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated

From: Ken Hornstein
Subject: [Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated. 93d0dbc35865a7118d1dec28e19fda4bb31ba691
Date: Sun, 12 Feb 2012 01:23:00 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The nmh Mail Handling System".

The branch, master has been updated
       via  93d0dbc35865a7118d1dec28e19fda4bb31ba691 (commit)
       via  3325d1a5623f39b8f0cf8c342da88024397500f7 (commit)
      from  7b45ebd870d32add1d4185159ec856f9d9684b5c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit 93d0dbc35865a7118d1dec28e19fda4bb31ba691
Author: Paul Fox <address@hidden>
Date:   Sat Feb 11 13:06:47 2012 -0500

    correct the maximum number of sequences in the mark(1) man page
    also add a note explaining the somewhat low limit.

diff --git a/man/mark.man b/man/mark.man
index eff4bf0..130b4fd 100644
--- a/man/mark.man
+++ b/man/mark.man
@@ -153,7 +153,9 @@ be one of the (reserved) message names \*(lqnew\*(rq, 
 .IP \(bu 2
 Only a certain number of sequences may be defined for a given folder.
-This number is usually limited to 26 (10 on small systems).
+This number is usually limited to 27 (11 on small systems).  (The
+internal implementation relies on bitmasks, with some bits set aside
+for internal use.)
 .IP \(bu 2
 Message ranges with user\-defined sequence names are restricted to the


commit 3325d1a5623f39b8f0cf8c342da88024397500f7
Author: Paul Fox <address@hidden>
Date:   Sat Feb 11 12:41:30 2012 -0500

    mhshow: suppress pause actions if stdout isn't a tty
    previously, "mhshow | cat" would both print a "Press return" prompt
    to, and attempt to read from, its piped output fd.

diff --git a/uip/mhshowsbr.c b/uip/mhshowsbr.c
index c60acb9..5abd67d 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
            list_switch (ct, -1, 1, 0, 0);
-       if (xpause && SOprintf ("Press <return> to show content..."))
-           printf ("Press <return> to show content...");
-       if (xpause) {
+       if (xpause && isatty (fileno (stdout))) {
            int intr;
+           if (SOprintf ("Press <return> to show content..."))
+               printf ("Press <return> to show content...");
            SIGNAL_HANDLER istat;
            istat = SIGNAL (SIGINT, intrser);


Summary of changes:
 man/mark.man    |    4 +++-
 uip/mhshowsbr.c |    8 ++++----
 2 files changed, 7 insertions(+), 5 deletions(-)

The nmh Mail Handling System

reply via email to

[Prev in Thread] Current Thread [Next in Thread]