[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. d2e40bd9ce3c3973a1666eaa9477cea927baf84f |
Date: |
Fri, 06 Jan 2012 19:41:13 +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 d2e40bd9ce3c3973a1666eaa9477cea927baf84f (commit)
via d4e112ae5fad828f33e3a44de40c6e5db7db51ad (commit)
via 6dd3c59d6c3d8b25512aeb5d3c0433941ea688e6 (commit)
from 55795751a1513b7018b38c6c50c5bccc710feff2 (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 -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/nmh.git/commit/?id=d2e40bd9ce3c3973a1666eaa9477cea927baf84f
commit d2e40bd9ce3c3973a1666eaa9477cea927baf84f
Author: Ken Hornstein <address@hidden>
Date: Fri Jan 6 14:40:31 2012 -0500
Move definition of LINK to mh header file, and garbage collect ATTVIBUG
code.
diff --git a/acconfig.h b/acconfig.h
index 1894504..a99e544 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -25,17 +25,5 @@
*/
/* #define REALLYDUMB 1 */
-/*
- * Name of link to file to which you are replying.
- */
-#define LINK "@"
-
-/*
- * Define to 1 if your vi has ATT bug, such that it returns
- * non-zero exit codes on `pseudo-errors'.
- */
-#undef ATTVIBUG
-
-
/***** END USER CONFIGURATION SECTION *****/
@TOP@
diff --git a/h/mh.h b/h/mh.h
index abcf445..e3a382a 100644
--- a/h/mh.h
+++ b/h/mh.h
@@ -261,6 +261,9 @@ extern char *msg_delim; /* .. */
#define OUTPUTLINELEN 72 /* default line length for headers */
+#define LINK "@" /* Name of link to file to which you are */
+ /* replying. */
+
/*
* miscellaneous macros
*/
diff --git a/uip/whatnowsbr.c b/uip/whatnowsbr.c
index eaea7e1..18c25f8 100644
--- a/uip/whatnowsbr.c
+++ b/uip/whatnowsbr.c
@@ -726,13 +726,6 @@ editfile (char **ed, char **arg, char *file, int use,
struct msgs *mp,
default:
if ((status = pidwait (pid, NOTOK))) {
-#ifdef ATTVIBUG
- if ((cp = r1bindex (*ed, '/'))
- && strcmp (cp, "vi") == 0
- && (status & 0x00ff) == 0)
- status = 0;
- else {
-#endif
if (((status & 0xff00) != 0xff00)
&& (!reedit || (status & 0x00ff))) {
if (!use && (status & 0xff00) &&
@@ -744,9 +737,6 @@ editfile (char **ed, char **arg, char *file, int use,
struct msgs *mp,
}
status = -2; /* maybe "reedit ? -2 : -1"? */
break;
-#ifdef ATTVIBUG
- }
-#endif
}
reedit++;
http://git.savannah.gnu.org/cgit/nmh.git/commit/?id=d4e112ae5fad828f33e3a44de40c6e5db7db51ad
commit d4e112ae5fad828f33e3a44de40c6e5db7db51ad
Author: Ken Hornstein <address@hidden>
Date: Fri Jan 6 14:18:46 2012 -0500
Hardcode the defaults for Msg-Protect and Folder-Protect. Also fix the
documentation (had the wrong value for the default for Msg-Protect).
diff --git a/acconfig.h b/acconfig.h
index 3961a30..1894504 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -26,12 +26,6 @@
/* #define REALLYDUMB 1 */
/*
- * Define the default creation modes for folders and messages.
- */
-#define DEFAULT_FOLDER_MODE "700"
-#define DEFAULT_MESSAGE_MODE "600"
-
-/*
* Name of link to file to which you are replying.
*/
#define LINK "@"
diff --git a/config/config.c b/config/config.c
index a4edc46..82d20b1 100644
--- a/config/config.c
+++ b/config/config.c
@@ -346,7 +346,7 @@ char *AliasFile = nmhetcdir (/MailAliases);
* Folders (directories) are created with this protection (mode)
*/
-char *foldprot = DEFAULT_FOLDER_MODE;
+char *foldprot = "700";
/*
* Every NEW message will be created with this protection. When a
@@ -354,5 +354,5 @@ char *foldprot = DEFAULT_FOLDER_MODE;
* to messages coming in through inc.
*/
-char *msgprot = DEFAULT_MESSAGE_MODE;
+char *msgprot = "600";
diff --git a/man/mh-profile.man b/man/mh-profile.man
index f8ae608..4299a30 100644
--- a/man/mh-profile.man
+++ b/man/mh-profile.man
@@ -154,17 +154,17 @@ composition draft before it is sent.
.RE
.PP
.BR Msg\-Protect :
-644
+600
.RS 5
An octal number which defines the permission bits for new message files.
See
.BR chmod (1)
for an explanation of the octal number.
-(profile, default: 0644)
+(profile, default: 0600)
.RE
.PP
.BR Folder\-Protect :
-750
+700
.RS 5
An octal number which defines the permission bits for new folder
directories. See
http://git.savannah.gnu.org/cgit/nmh.git/commit/?id=6dd3c59d6c3d8b25512aeb5d3c0433941ea688e6
commit 6dd3c59d6c3d8b25512aeb5d3c0433941ea688e6
Author: Ken Hornstein <address@hidden>
Date: Fri Jan 6 14:12:13 2012 -0500
Huh, apparantly I got rid of any support for POPSERVICE over a year
ago! Good riddance, I say.
diff --git a/INSTALL b/INSTALL
index 8d317e0..79f8f6f 100644
--- a/INSTALL
+++ b/INSTALL
@@ -90,13 +90,7 @@ need an ANSI C compiler such as gcc.
Check the `mh-tailor' man page for a list of all the available options
for this file ("masquerade" may be of particular interest).
-6) If you have enabled POP support, make sure that `pop3' (or more
- precisely the value of the define POPSERVICE in config.h) is defined
- in the /etc/services file (or its NIS/NIS+ equivalent) on the client
- machine. It should be something equivalent to "110/tcp". This might
- have already been done when the POP daemon was installed.
-
-7) Edit the file `mhn.defaults' (installed in the nmh `etc' directory).
+6) Edit the file `mhn.defaults' (installed in the nmh `etc' directory).
This file contains the default profile entries for the nmh command
`mhn' and is created by the script `mhn.defaults.sh'. This script
will search a generic path (essentially your $PATH) for programs to
@@ -117,7 +111,7 @@ need an ANSI C compiler such as gcc.
"MH & xmh: Email for Users and Programmers", 3rd edition, by Jerry Peek,
on the Internet at <http://www.ics.uci.edu/~mh/book/mh/confmhn.htm>.
-9) Add an optional global mh.profile, if desired. This profile should be
+7) Add an optional global mh.profile, if desired. This profile should be
placed in the nmh `etc' directory with the name `mh.profile'. This
file will be used to construct the initial .mh_profile of a new nmh
user, but will not be consulted after that.
@@ -198,9 +192,6 @@ Options for configure
See the mh-tailor(5) man page for full documentation of "masquerade:".
---enable-mhe (DEFAULT)
- Add support for the Emacs front-end `mhe'.
-
--enable-pop
Enable client-side support for pop.
diff --git a/acconfig.h b/acconfig.h
index a6d8742..3961a30 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -26,15 +26,6 @@
/* #define REALLYDUMB 1 */
/*
- * If you enable POP support, this is the the port name that nmh will use.
Make
- * sure this is defined in your /etc/services file (or its NIS/NIS+
equivalent).
- * If you are using KPOP, you will need to change this to "kpop" unless you
want
- * to be able to use both POP3 _and_ Kerberized POP and plan to use inc and
- * msgchk's -kpop switch every time in the latter case.
- */
-#define POPSERVICE "pop3"
-
-/*
* Define the default creation modes for folders and messages.
*/
#define DEFAULT_FOLDER_MODE "700"
-----------------------------------------------------------------------
Summary of changes:
INSTALL | 13 ++-----------
acconfig.h | 27 ---------------------------
config/config.c | 4 ++--
h/mh.h | 3 +++
man/mh-profile.man | 6 +++---
uip/whatnowsbr.c | 10 ----------
6 files changed, 10 insertions(+), 53 deletions(-)
hooks/post-receive
--
The nmh Mail Handling System
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated. d2e40bd9ce3c3973a1666eaa9477cea927baf84f,
Ken Hornstein <=