Jon Steinhart [Tue, 19 Nov 2002 20:39:21 +0000 (20:39 +0000)]
Removed the reference to the library directory since this now goes in bin.
Jon Steinhart [Tue, 19 Nov 2002 20:37:50 +0000 (20:37 +0000)]
Changed to move install-mh to the bin directory instead of the lib
directory. A link is made from the lib to the bin just in case.
Jon Steinhart [Mon, 18 Nov 2002 18:25:00 +0000 (18:25 +0000)]
The file README-ATTACHMENTS was removed - it has been moved to the docs
subdirectory. I thought that this had already been done but I guess not.
It's unrelated to the rest of these changes.
The remainder of these changes affect the way that nmh is installed. Nmh
has historically prompted the user for installation when any nmh command
is invoked if it doesn't think that it's installed. This is a problem for
programs that want to, for example, interact with nmh programs via pipes.
These changes alter this behavior. Now, when an nmh program thinks that
nmh isn't installed, it tells the user to run install-mh to install it.
A -check option has been added to install-mh that allows the existence of
an installation to be silently checked and indicated via the exit status.
The bulk of this change is in sbr/read_context.c. In the process of making
these changes, I noticed a fair amount of useless code that I removed. In
particular:
1. The program started with a test for whether or not defpath had already
been set. This could only happen if context_read() was called more
than once, which it isn't. This check also existed and was removed
from the following places:
sbr/context_del.c
sbr/context_find.c
sbr/context_replace.c
sbr/seq_read.c
sbr/seq_save.c
uip/flist.c
uip/folder.c
uip/rmf.c
2. A similar test for mypath was removed. No need to test it since it
doesn't happen. I'm just not a believer that
a = 1;
if (a != 1)
error();
is a good way to write code!
3. I removed the code makes a copy of the $HOME environment variable as
returned by getenv(). It's never changed, so it doesn't need copying.
4. I removed code that copied the pw_dir member of the passwd structure
returned by getpwuid() if $HOME isn't set. Yes, the returned structure
is static, but since the function is never called again the returned
values stay valid and don't need copying.
5. I removed the test for a NULL pw_dir member in the passwd structure
returned by getpwuid() since that never happens.
6. I removed code that removed a trailing / from mypath if mypath is more
than one character long. Unnecessary as // is interpreted as / anyway.
mypath never shows up in an error message, so nobody will ever see it.
Besides, this code didn't handle the case of multiple trailing slashes.
7. I removed code that replaced the MH environment variable contents with
an absolute path if it was a relative one. I'm a bit nervous about this
one, only testing will tell. Any nmh program that's invoked will use
the same context_read() code to convert a relative path to an absolute
one anyway. And there's no guarantee (or discussion) of this feature
in any of the documentation.
8. Althout context_read() tested the MH environment variable, install-mh
didn't. This means that the behavior was not consistent between
install-mh and all other nmh programs. I changed install-mh to be
consistent with context_read().
9. install-mh has been installed in the lib directory, not bin. So a
user would be unlikely to find it when prompted to run it. The
installation has been changed to add a link from bin to lib.
Anders Eriksson [Mon, 21 Oct 2002 19:32:26 +0000 (19:32 +0000)]
Changed scan to always pass the folder argument. This is in line
with the man page.
Jon Steinhart [Mon, 9 Sep 2002 14:30:16 +0000 (14:30 +0000)]
New routine that provides interface to external programs.
Jon Steinhart [Fri, 23 Aug 2002 20:37:01 +0000 (20:37 +0000)]
Added external program hooks.
Jon Steinhart [Thu, 22 Aug 2002 22:06:18 +0000 (22:06 +0000)]
Moved this file here from the root directory.
Jon Steinhart [Mon, 19 Aug 2002 20:50:41 +0000 (20:50 +0000)]
Added an improved user interface for sending messages with attachments.
Ken Hornstein [Mon, 8 Jul 2002 19:29:24 +0000 (19:29 +0000)]
Remove this file on the head as well.
Ken Hornstein [Wed, 3 Jul 2002 14:49:24 +0000 (14:49 +0000)]
Bring these changes over from the branch.
Ken Hornstein [Wed, 3 Jul 2002 14:08:11 +0000 (14:08 +0000)]
Remove these undefines (why were they in there?)
Ken Hornstein [Tue, 2 Jul 2002 22:10:55 +0000 (22:10 +0000)]
Update for new version.
Ken Hornstein [Tue, 2 Jul 2002 22:09:12 +0000 (22:09 +0000)]
Add/update copyright notice in all source code files.
Ken Hornstein [Tue, 2 Jul 2002 21:46:37 +0000 (21:46 +0000)]
Remove autoconf-generated files (and note such files in .cvsignore)
Dan Harkless [Sat, 17 Mar 2001 11:28:27 +0000 (11:28 +0000)]
Ken Hornstein's configure.in Cyrus SASL checks were doing
`x"$with_cyrus_sasl" != "no"' instead of `... != x"no"'.
Dan Harkless [Wed, 7 Mar 2001 05:26:50 +0000 (05:26 +0000)]
Found some historical information about MH in RFC 808. Supplemented it with
info from Jerry Peek's MH book and added it to docs/README.about.
Shantonu Sen [Tue, 6 Feb 2001 20:47:54 +0000 (20:47 +0000)]
dtimp timezone fixes
Shantonu Sen [Tue, 6 Feb 2001 20:35:40 +0000 (20:35 +0000)]
Be more picky about symbolic time zones, and accept either a symbolic
or numeric time zone, but never both, since a DST offset might be subtracted
twice. Also, be uniform about assuming that pre-1970 dates are Y2K problems.
Dan Harkless [Tue, 6 Feb 2001 04:28:04 +0000 (04:28 +0000)]
Say in README.developers to use `\date' in case anyone is like me and
has `date' aliased in their shell to use a nonstandard (but
subjectively more readable) format.
Dan Harkless [Tue, 6 Feb 2001 04:22:09 +0000 (04:22 +0000)]
Regenerated stamp-h.in using my tcsh alias `date', which uses a
nonstandard format. Replacing it with the standard format. I'll
update README.developers to say to use `\date'.
Dan Harkless [Tue, 6 Feb 2001 03:46:27 +0000 (03:46 +0000)]
* -L isn't sufficient for specifying the path of the Cyrus SASL
shared library. That'll allow us to link successfully, but on
many/most OSes that won't allow us to find libsasl at runtime. On
Solaris, we need to specify the library path with -R as well (or
else the user will have to use the $LD_LIBRARY_PATH kludge, which
is considered harmful). This fix should be extended to other OSes
as well.
* Print whether we have SASL support in the "nmh configuration"
summary configure prints out.
Shantonu Sen [Thu, 25 Jan 2001 21:28:30 +0000 (21:28 +0000)]
man/mh-chart
Shantonu Sen [Thu, 25 Jan 2001 21:15:52 +0000 (21:15 +0000)]
use %etcdir% for spacing instead of hardcoding
Shantonu Sen [Thu, 25 Jan 2001 21:14:32 +0000 (21:14 +0000)]
compiled mh-chart with synopses of commands
Shantonu Sen [Tue, 23 Jan 2001 20:27:57 +0000 (20:27 +0000)]
digest
Shantonu Sen [Tue, 23 Jan 2001 20:26:15 +0000 (20:26 +0000)]
Don't try to force year into a 19xx format
Shantonu Sen [Tue, 23 Jan 2001 04:14:08 +0000 (04:14 +0000)]
SYNOPSIS formating to prevent filling
Shantonu Sen [Fri, 19 Jan 2001 21:32:13 +0000 (21:32 +0000)]
manpages finished
Shantonu Sen [Fri, 19 Jan 2001 21:22:08 +0000 (21:22 +0000)]
don't build vmh.1 since vmh isn't distributed, and we no longer need tmac.h
Shantonu Sen [Fri, 19 Jan 2001 21:10:09 +0000 (21:10 +0000)]
show-whom
Shantonu Sen [Thu, 18 Jan 2001 20:27:34 +0000 (20:27 +0000)]
prompter-sendfiles
Shantonu Sen [Tue, 9 Jan 2001 06:55:21 +0000 (06:55 +0000)]
delete old files, manpage progress
Shantonu Sen [Tue, 9 Jan 2001 06:45:26 +0000 (06:45 +0000)]
removed deprecated files. sendmail functionality exists in mts/smtp/
Shantonu Sen [Tue, 9 Jan 2001 06:41:44 +0000 (06:41 +0000)]
Add an entry for README.manpages
Shantonu Sen [Tue, 9 Jan 2001 06:40:12 +0000 (06:40 +0000)]
Added popi.c to SRCS, even though it's not being built currently
Shantonu Sen [Tue, 9 Jan 2001 06:13:55 +0000 (06:13 +0000)]
removing mts/generic
Shantonu Sen [Tue, 9 Jan 2001 06:10:03 +0000 (06:10 +0000)]
deleting zotnet/ dir -- parts moved to sbr/
Shantonu Sen [Tue, 9 Jan 2001 06:01:19 +0000 (06:01 +0000)]
mh_profile-prev
Shantonu Sen [Sat, 6 Jan 2001 23:38:12 +0000 (23:38 +0000)]
mh_tailor-mhbuild
Shantonu Sen [Thu, 4 Jan 2001 07:07:41 +0000 (07:07 +0000)]
Updating mh_sequence
Shantonu Sen [Wed, 3 Jan 2001 06:29:06 +0000 (06:29 +0000)]
mh_mail-mh_profile
Shantonu Sen [Tue, 2 Jan 2001 08:10:46 +0000 (08:10 +0000)]
mh-format
Shantonu Sen [Tue, 2 Jan 2001 07:12:46 +0000 (07:12 +0000)]
Modularizing the Makefile caused some variable expansion problems on non-GNU makes
Shantonu Sen [Tue, 2 Jan 2001 06:43:07 +0000 (06:43 +0000)]
mh_chart-mh_draft
Shantonu Sen [Mon, 1 Jan 2001 10:19:00 +0000 (10:19 +0000)]
Updating ali-mh_alias
Shantonu Sen [Sun, 31 Dec 2000 20:58:29 +0000 (20:58 +0000)]
add about pointers to shared pages
Shantonu Sen [Sun, 31 Dec 2000 20:55:48 +0000 (20:55 +0000)]
Add date to files i missed last time
Shantonu Sen [Sun, 31 Dec 2000 20:55:06 +0000 (20:55 +0000)]
docs/README.manpages
Shantonu Sen [Sun, 31 Dec 2000 20:48:50 +0000 (20:48 +0000)]
Add manpage style guide
Shantonu Sen [Sun, 31 Dec 2000 09:25:09 +0000 (09:25 +0000)]
Updating inc
Shantonu Sen [Sun, 31 Dec 2000 08:19:20 +0000 (08:19 +0000)]
Updating comp-forw
Shantonu Sen [Sun, 31 Dec 2000 06:31:42 +0000 (06:31 +0000)]
add flists and folders as pointer pages to flist,folder. Modularize Makefile to allow easier addition of manpages
Shantonu Sen [Sun, 31 Dec 2000 02:44:18 +0000 (02:44 +0000)]
replace %components% and %distcomps% in man pages with corresponding files
Shantonu Sen [Sun, 31 Dec 2000 02:43:34 +0000 (02:43 +0000)]
updated ali-flist, with batch edit of others
Shantonu Sen [Sat, 30 Dec 2000 23:18:28 +0000 (23:18 +0000)]
update ali,anno,ap.burst
Shantonu Sen [Sat, 30 Dec 2000 10:01:29 +0000 (10:01 +0000)]
Updated man pages to remove dependence on tmac.h and have a more modern look
Shantonu Sen [Sat, 30 Dec 2000 10:00:42 +0000 (10:00 +0000)]
DATE an manpage updating
Shantonu Sen [Sat, 30 Dec 2000 09:51:55 +0000 (09:51 +0000)]
Use the DATE file
Shantonu Sen [Sat, 30 Dec 2000 09:50:13 +0000 (09:50 +0000)]
Created DATE that contains a datestamp used in the man pages. It should be updated each release.
Shantonu Sen [Sun, 24 Dec 2000 10:13:45 +0000 (10:13 +0000)]
hesiod and krb5 test changes. add --with-locking to INSTALL
Shantonu Sen [Sun, 24 Dec 2000 10:06:30 +0000 (10:06 +0000)]
Add documentation for --with-locking option
Shantonu Sen [Sun, 24 Dec 2000 10:06:00 +0000 (10:06 +0000)]
hesiod and krb5 test fixes
Shantonu Sen [Sun, 24 Dec 2000 10:04:58 +0000 (10:04 +0000)]
Fixed up the hesiod library test so that the location of res_send
actually helps to determine whether -lresolv needs to be passed
as a hesiod lib. Also, fixed the krb5 test to look for
-lk5crypto if it exists, since that's the new name for -lcrypto.
The old -lcrypto remains in case the new version isn't found.
Dan Harkless [Sat, 23 Dec 2000 06:11:03 +0000 (06:11 +0000)]
-apop and -noapop were not documented in msgchk.man. -snoop was documented but
didn't appear in the usage SYNOPSIS.
Shantonu Sen [Fri, 22 Dec 2000 23:49:08 +0000 (23:49 +0000)]
add --with-locking option
Shantonu Sen [Fri, 22 Dec 2000 23:42:16 +0000 (23:42 +0000)]
Autoconfing the file locking options
Shantonu Sen [Fri, 22 Dec 2000 19:30:41 +0000 (19:30 +0000)]
put both linux entries on one line
Shantonu Sen [Fri, 22 Dec 2000 19:29:40 +0000 (19:29 +0000)]
dtimep, MACHINES
Shantonu Sen [Fri, 22 Dec 2000 19:21:29 +0000 (19:21 +0000)]
Update to include Mac OS X and Linux 2.4
Shantonu Sen [Fri, 22 Dec 2000 19:18:09 +0000 (19:18 +0000)]
When building on Mac OS X, don't set LDFLAGS=-s, since the linker doesn't like the flag
Shantonu Sen [Fri, 22 Dec 2000 19:15:02 +0000 (19:15 +0000)]
Take out memory hints, since we are assuming flex over lex, so this shouldn't be a problem
Shantonu Sen [Wed, 20 Dec 2000 16:03:36 +0000 (16:03 +0000)]
doc/README.developers update, and fixed typo in last ChangeLog entry
Shantonu Sen [Wed, 20 Dec 2000 16:00:46 +0000 (16:00 +0000)]
Marked deprecated directories in layout description, and added an entry for docs
Dan Harkless [Wed, 20 Dec 2000 03:30:14 +0000 (03:30 +0000)]
Just changed a "can" to a "could" since I don't know if most POP3 servers are
like qpopper in not allowing people with APOP activated to log in via normal
POP3.
Dan Harkless [Wed, 20 Dec 2000 03:18:33 +0000 (03:18 +0000)]
-apop and -noapop were not documented in inc.man. -snoop was documented but
didn't appear in the usage SYNOPSIS.
Shantonu Sen [Sun, 17 Dec 2000 19:52:04 +0000 (19:52 +0000)]
Fixed a type from 'his' to 'this'
Shantonu Sen [Thu, 14 Dec 2000 14:55:17 +0000 (14:55 +0000)]
config.guess/sub update
Shantonu Sen [Thu, 14 Dec 2000 14:35:40 +0000 (14:35 +0000)]
config update procedure (probably unneccessary)
Shantonu Sen [Thu, 14 Dec 2000 14:32:09 +0000 (14:32 +0000)]
Updated config.guess and config.sub from most recent version
from ftp.gnu.org/pub/gnu/config, with timestamp='2000-12-07'.
Dan Harkless [Thu, 14 Dec 2000 03:14:08 +0000 (03:14 +0000)]
Shantonu did his commit in the wrong order earlier today, making configure get
re-built due to a "newer" configure.in.
Shantonu Sen [Thu, 14 Dec 2000 01:38:41 +0000 (01:38 +0000)]
Move mts/generic to sbr/
Shantonu Sen [Thu, 14 Dec 2000 01:30:43 +0000 (01:30 +0000)]
Resolve the circular dependency of libmh on libmts on libmh. The
files mts/generic/client.c and mts.c are moved to sbr/, and mts/generic/mts.h
is moved to h/mts.h. Thus, libmh is self-contained. All header includes
have been appropriately updated, and the Makefiles and configure script
no longer build mts/generic.
Dan Harkless [Tue, 12 Dec 2000 06:19:25 +0000 (06:19 +0000)]
When Shantonu made the new libmts.a, he swapped $(MTSLIB) and libmh.a in
sbr/Makefile.in so that libmh.a comes first, but this causes the build to fail
on Solaris, because libmts.a has to get ruserpass() out of libmh.a. Swapping
them back to the way Ken Hornstein's patch (which I applied on Jul 20) put them,
with libmh.a correctly coming second. If there are times when libmts.a needs to
come second, then it would appear there's a circular dependency and someone
(Shantonu?) did an mts merge incorrectly.
Dan Harkless [Fri, 8 Sep 2000 23:19:37 +0000 (23:19 +0000)]
Just fixed a formatting error.
Shantonu Sen [Fri, 8 Sep 2000 01:39:10 +0000 (01:39 +0000)]
Took out bad zones in dtimep
Shantonu Sen [Fri, 8 Sep 2000 01:36:23 +0000 (01:36 +0000)]
Took out incorrect time zones like JST and BST.
Shantonu Sen [Fri, 8 Sep 2000 00:49:32 +0000 (00:49 +0000)]
Included code reorg of zotnet/mts
Shantonu Sen [Fri, 8 Sep 2000 00:37:54 +0000 (00:37 +0000)]
Don't make Makefiles in zotnet or mts/mmdf or mts/sendmail
Shantonu Sen [Fri, 8 Sep 2000 00:36:48 +0000 (00:36 +0000)]
Don't generate Makefiles for zotnet, or mts/mmdf and mts/sendmail,
since they are no longer being compiled.
Shantonu Sen [Fri, 8 Sep 2000 00:34:41 +0000 (00:34 +0000)]
Included h/nmh.h, since the MD5 algorithms were missing declarations
for memcpy and memset (I think), which are indirectly included from
strings.h
Shantonu Sen [Fri, 8 Sep 2000 00:34:08 +0000 (00:34 +0000)]
Updated #include's to point to new location of mts.h on mts/generic
Shantonu Sen [Fri, 8 Sep 2000 00:32:47 +0000 (00:32 +0000)]
No longer descend into zotnet/
Shantonu Sen [Fri, 8 Sep 2000 00:30:58 +0000 (00:30 +0000)]
Moved code from zotnet/mts to mts/generic. Also, unified generic
mts code and smtp/sendmail into libmts.a as an intermediate, instead
of having two static libs.
Shantonu Sen [Wed, 6 Sep 2000 22:48:43 +0000 (22:48 +0000)]
Included changes to dtimep.lex to remove military zone parsing.
Shantonu Sen [Wed, 6 Sep 2000 22:40:03 +0000 (22:40 +0000)]
Took out parsing of military time, which was causing issues when it
encountered something like (MET), which it doesn't recognize as a timezone,
and which was then read as military characters.
Dan Harkless [Fri, 11 Aug 2000 20:43:07 +0000 (20:43 +0000)]
Further clarified Kimmo's etc/Makefile.in comments at his suggestion.
Dan Harkless [Thu, 10 Aug 2000 21:32:33 +0000 (21:32 +0000)]
Changed my mind again on scan.MMDDYY and scan.YYYYMMDD. Put the replied /
encrypted column back in, because it's useful to "always" (at least when you
aren't using replied / encrypted) have a space in between the message number and
date, so you can use awk (with the default field separators) to grab message
numbers from scan output.
Dan Harkless [Thu, 10 Aug 2000 20:33:25 +0000 (20:33 +0000)]
Decided that limiting the message number columns to 3 on my scan.MMDDYY and
scan.YYYYMMDD (to try to regain space taken by extra date info) was
ill-conceived. It's not that tough to get past 999 messages, though I imagine
it's rather rare to exceed 9999. Changed these to 4. I had already removed the
"replied / encrypted" column in YYYYMMDD, but this time I removed it on MMDDYY
as well (I've never seen it used...).
Ruud de Rooij [Mon, 7 Aug 2000 18:42:20 +0000 (18:42 +0000)]
Modify umask set by mhshow to enable user execute bit, so that viewers that
create temporary directories (e.g., lynx) will be able to access them.
Dan Harkless [Sat, 5 Aug 2000 16:00:49 +0000 (16:00 +0000)]
Kimmo's etc/Makefile.in change note implied that install was previously
completely broken. Not the case. I asked Kimmo about it and he clarified that
it failed when building outside the source tree. Fixed the entry to reflect.