[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: David Levine
Subject: [Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated. 16d982eb38d41572ad6dda74470a249dcb9a3247
Date: Thu, 22 Mar 2012 01:04:22 +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  16d982eb38d41572ad6dda74470a249dcb9a3247 (commit)
      from  3a85e0bc9c72935ca9d154b3aa3093c31ed1836e (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 16d982eb38d41572ad6dda74470a249dcb9a3247
Author: David Levine <address@hidden>
Date:   Wed Mar 21 20:01:06 2012 -0500

    If a pager isn't specified with configure --with-pager, look in order
    for more, less, and most.  Fall back to cat, to avoid catastrophic
    failure of mhshow, et al., if pagerpath is set to "no".
    Updated Cygwin section of MACHINES.

diff --git a/MACHINES b/MACHINES
index 853140d..ab0d2cb 100644
@@ -6,7 +6,7 @@ nmh is known to compile on the following platforms (save the
 exceptions noted below), using an ANSI C compiler, such as gcc.
-Cygwin, setup version 2.763 (though it does not run correctly, see below)
+Cygwin (setup version 2.763, other versions may be fine)
 IRIX 6.5
 Linux 2.2 to current (glibc 2.1 to current)
@@ -45,9 +45,13 @@ Cygwin:
 Be sure to install Cygwin package libncurses-devel, in the Devel or
 Libs category.  And libncurses10 or later in the Lib category.
-Which nmh builds on Cygwin, not all of its programs operate.  If
-you're willing to help fix them, please contact the nmh maintainters
-at address@hidden
+You may notice a few (three) compile warnings:  they can be ignored.
+If send, post, and whom fail, the cause might be a \ in your username.
+To avoid this, either add a Signature profile entry (see the
+mh-profile(5) man page) or set/export your SIGNATURE environment
+variable.  The value can be just the short form of your username, such
+as that displayed by "id -nu".
diff --git a/configure.ac b/configure.ac
index 480c8be..d7268ab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -121,6 +121,15 @@ AC_ARG_WITH([pager],
 AS_IF([test -n "$with_pager"], [pagerpath="$with_pager"])
+dnl If a pager is not explicitly specified, then look for one.
+dnl Fall back to `cat', to avoid catastrophic failure of
+dnl `mhshow', et al., if pagerpath is set to `no'.
+if test -z "$pagerpath"; then
+  pathtmp=/usr/bin:/bin:/usr/ucb:/usr/local/bin
+  AC_PATH_PROGS([pagerpath], [more less most cat], [no], [$pathtmp])
 dnl What should be the default mail server(s)?
   AS_HELP_STRING([--with-smtpservers='SMTPSERVER1@<:@ SMTPSERVER2...@:>@'],
@@ -286,17 +295,6 @@ if test "$lspath" != "no"; then
-dnl Look for `more'
-AC_PATH_PROG([morepath], [more], [no], [$pathtmp])
-dnl If pager is not specified yet,
-dnl then use `more' as the default.
-if test -z "$pagerpath"; then
-  pagerpath="$morepath"
 dnl Look for `sendmail'
 AC_PATH_PROG([sendmailpath], [sendmail], [/usr/sbin/sendmail], [$pathtmp])


Summary of changes:
 MACHINES     |   12 ++++++++----
 configure.ac |   20 +++++++++-----------
 2 files changed, 17 insertions(+), 15 deletions(-)

The nmh Mail Handling System

reply via email to

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