========================================================= Patch Set - Patches 21 through 21: Tue Jan 19 23:03:49 EST 1993 Elm 2.4PL20 -> Elm 2.4PL21 Do not assume that "char c" can represent EOF. From: chip@tct.com (Chip Salzenberg) exitprog.c makes a reference to a null character pointer, savecopy.c tries to reference an uninitialized variable, and the previous patch to src/lock.c to get rid of an uninitialized variable compiler message needed to be put in filter/lock.c as well. From: wdh@grouper.mkt.csd.harris.com (W. David Higgins) Just a small bugfix for the '#' (Debug Message) screen. The columns of the various flags don't all line up properly: From: Gary Bartlett Significant changes to provide consistent Date and From_ header cracking. Overhauled date utilities and moved into library. Moved real_from() into library. Modified frm, newmail, and readmsg utilities to use library version of real_from(). Moved get_word() from Elm source into library. Added new library routines atonum() and strfcpy(). Fixed trailing backslash bug in len_next(). From: chip@chinacat.unicom.com (Chip Rosenthal) add c)hange alias command to alias helpfile if a deleted alias is changed, undelete it. Also added the 'N' flag to changed aliases to help remind the user. Documented it. Note: if they mark the alias for deletion AFTER making the change it WILL be deleted. (and marked accordingly) modified alias mode title string to indicate when a resync was needed. allow editing alias file when none exist. Now aliases are check for illegal characters (and WS) and addresses are check for illegal WS when they are being entered. If anything illegal is found and message is printed and they keep entering the item until they get it right. I fixed a couple of places where int should be long to match the declared type of alias_rec.length From: "Robert L. Howard" fix which file name is used on confirm messages From: vogt@isa.de (Gerald Vogt) There is a mismatch between the number of args and the format string in src/pattern.c. In nls/C/C/C/s_filter.m there is a , after OutOfMemory. This is my fault, and although it doesn't seem to affect things, there is no need for it. From: Jan Djarv Elm switches screens prematurely when calling metamail. It switches before writing the "Press any key..." message, thus losing metamail output. From: Jan Djarv read_headers() in src/newmbox.c assumes that Mime-Version preceeds Content-Type in the headers. I removed that assumption. From: Jan Djarv On a resync, the temp file was being reopened in *append* mode, thus the fseek that tried to back up the file pointer had no effect. From: Larry Philps alter the message on aborts to report the temp file name to the user From: The Postmaster During 'make uninstall', an error occurs with the make for doc/, due to a wrongly-extended "if" statement in the Makefile. From: Allan Kugel Nits and typos in the NLS messages and corresponding default messages. From: dwolfe@pffft.sps.mot.com (Dave Wolfe) Fix one of the aliases.dir to be aliases.pag. From: dwolfe@pffft.sps.mot.com (Dave Wolfe) Some systems don't have SIGBUS, make it optional. From: Syd When SY_ENV_SHELL is set for syscall() it ends up touching SHELL in the parent's environment if vfork is used, so change to fork. From: tale@uunet.uu.net (David C Lawrence) Adds a new integer parameter builtinlines. if (builtinlines < 0) and (the length of the message < LINES on screen + builtinlines) use internal. if (builtinlines > 0) and (length of message < builtinlines) use internal pager. if (builtinlines = 0) or none of the above conditions hold, use the external pager if defined. From: "John P. Rouillard" ========================================================= Patch Set - Patches 18 through 20: Thu Dec 24 18:53:52 EST 1992 Elm 2.4PL17 -> Elm 2.4PL20 Fix unintended change where forwarding without editing started adding prefix chars From: Syd Here are the doc changes for my additions to the alias system and the new switches to listalias. From: "Robert L. Howard" Add a c)hange alias, -u and -t options to listalias to list only user and only system aliases respectively. From: "Robert L. Howard" Fix formatting and typograpical problems From: dwolfe@pffft.sps.mot.com (Dave Wolfe) Always pass three parameters to header_cmp(). From: chip@tct.com (Chip Salzenberg) Fixed where when doing ! or | and ti/te is enabled, one doesn't see the "Press any key to return to ELM:" message. because the screens are switched before the message is printed. From: Jan Djarv Quote from the filter of phrase to prevent RFC-822 parsing problems From: Syd via request from Ian Stewartson EDITOROPTS and DEFEDITOR appear to be unused but here is a patch to make use of $editoropts. From: "Robert L. Howard" Fix confirm prompts to follow Elm style in confirm append/create From: Syd Fix messages and nls messages to match. Plus use want_to where appropriate. From: Syd, via prompting from Jan Djarv Add Ignore of CONT signals on exit for Ultrix From: Syd via prompt from Bob Mason Add lstat call for proper detection of symlink in leavembox.c From: Syd via prompt from Bryan Curnutt Make copy_sans_escape expand tabs to prevent subject displays from getting messed up From: Syd via request from pgf@Cayman.COM (Paul Fox) ========================================================= Patch Set - Patches 13 through 17: Fri Dec 11 20:52:23 EST 1992 Elm 2.4PL13 -> Elm 2.4PL17 Attempt to fix where Elm was issuing the final error message on the cursor screen instead of the regular screen on terminals where the ti/te code swaps the screen. From: Syd Internal fix to use correct errno on some error messages. From: Syd Add decode option to copy_message From: bjoerns@stud.cs.uit.no (Bjoern Stabell) Fix Configure for ls that return 0 status even if file is not found, re packing man pages. From: aj@redwood.cray.com (Chris Jackman) Fix Configure not getting mailgrp correct on symlinks. From: aj@redwood.cray.com (Chris Jackman) Add missing -n flag to doc makefile. From: gwh@dogmatix.inmos.co.uk Always init fcntlerr and flockerr in src/lock.c to avoid compiler warnings. From: Syd via prompt from wdh@grouper.mkt.csd.harris.com (W. David Higgins) Traditional C used 'unsigned preserving' rules when an integral data value is widened to integer and ANSI C changed the rules to 'value preserving'. This is one of the few things that the ANSI X3J11 committee did that might break existing programs. Casting to (int) From: Bo.Asbjorn.Muldbak When ELM is reporting "appending to " I never get to see but a flash of light, before the message line has been replaced by a dummy "Messages saved" string. And if you happen to have mistyped the foldername or the leading '=', you never see the foldername. This fix will change file.c to show either Message to or <#> messages to From: Bo.Asbjorn.Muldbak This implements the use of SIGUSR1 and SIGUSR2 as discussed on the mailing list recently, and adds them to the documentation. From: scs@lokkur.dexter.mi.us (Steve Simmons) Attempt to patch posix_signal for SunOS problem. From: A lot of the Elm group Change canceled mail message to indicate full path name as AFS users don't have home and elm's home the same. From: Syd Fix doc/Makefile.SH to have an else clause on all if's so that if's that return an error code on a not taken if and a null else clause don't exit the makefile From: Syd via requests from many General changes for apollo portability From: gordonb@mcil.comm.mot.com (Gordon Berkley) Fix typos in edit.c From: Bo.Asbjorn.Muldbak If sigset() and sigrelse() are available, release signal before using longjmp() to leave signal handler. From: chip@tct.com (Chip Salzenberg) Anytime elm wants to re-run newalias, selected is set to 0. (removing any limit in effect) From: "Robert L. Howard" Allow for use from restricted shell by putting SHELL=/bin/sh in the environment of spawned mail transport program. From: chip@tct.com (Chip Salzenberg) fix Obvious typos. From: dwolfe@pffft.sps.mot.com (Dave Wolfe) List_folder knew only about '=' but nothing about the rest of [+=%] as one would have expected. From: Jukka Antero Ukkonen Fix where the user creates a first new alias, then deletes it, the alias stays on screen, but the file really will be empty if it was the last alias, so the retry to delete gives 'cannot open ...file' messages From: "Robert L. Howard" Make Elm complain about spaces that are not after commas in alias and address lists From: "Robert L. Howard" Make verb and pronoun agree. From: dwolfe@pffft.sps.mot.com (Dave Wolfe) in do_get_alias(). abuf[] was under dimensioned. From: "Robert L. Howard" Remove the old packed manual page before trying to pack the new one. From: Tom Moore Fix double inclusion of sys/types.h From: Tom Moore Fix building editor wrap problem From: Syd via prompting from vogt@isa.de (Gerald Vogt) ========================================================= Patch Set - Patches 12 and 13: Sat Nov 21 21:03:26 EST 1992 Elm 2.4PL11 -> Elm 2.4PL13 Handle the case where a system does > #define jmp_buf sigjmp_buf From: chip@chinacat.unicom.com (Chip Rosenthal) Fix segmentation violation on restricted alias page jump. From: "Robert L. Howard" Fix bug where alias records were not sorting by both last and first names. From: "Robert L. Howard" Fix when expanding the macro '%S', the subject line is scanned for a 'Re:', and if nothing is found, a '"Re: ' is added. But when a 'Re:' *is* found, then nothing is added, not even the '"'. From: Sigmund Austigard I was playing with the metamail stuff and Sun's Openwindows Mailtool and discovered that I was able to 'display' messages generated with Mailtool in elm using metamail. This marks the Sun Attachments as needing metamail. From: Lutz Brunke Change the way Configure and doc/Makefile.SH deal with installing man pages. From: Tom Moore Add support for a "config.changes" file to override Configure decisions. From: chip@chinacat.unicom.com (Chip Rosenthal) Allow SCO MMDF to use the mmdf library for mailer via execmail. From: Larry Philps Add on initial display or display where the entire screen is being drawn, we should not output the trailing blanks that clear the old value. From: chip@chinacat.unicom.com (Chip Rosenthal) This mod fixes overlapping prototypes for strchr and index on Convex. From: Jukka Ukkonen According to the MIME BNF, quoted strings are allowed in the value portion of a parameter. From: chk@alias.com (C. Harald Koch) The fastmail utility appears to work incorrectly when multiple addresses are supplied. Spaces were inserted between addresses rather than commas. From: little@carina.hks.com (Jim Littlefield) ========================================================= Patch Set - Patch 11: Tues Nov 17 1992 Elm 2.4PL10 -> Elm 2.4PL11 Quickie fix to handle a botched edit of a test line in Configure ========================================================= Patch Set - Patches 9 and 10 : Sat Nov 14 21:34:44 EST 1992 Elm 2.4PL8 -> Elm 2.4PL10 I think that the code in 'newmbox.c' which handles bad 'Content-length' entries is incomplete. The file-ptr for the mail file is backed up, but the file-ptr of the temp file WAS LEFT UNMODIFIED ! From langesw.ssw.de!root Wed Nov 11 14:28:57 1992 When elm copies the temp mailbox back to the mail spool to resync or quit, it changes to the mailgroup before attempting to diddle in the mail spool, but when it copies the temp mailbox back to the mail spool after editing, it forgets to change to mailgroup. This patch appears to work, but I haven't exhaustively checked for some path that leaves the gid set wrong. From: dwolfe@pffft.sps.mot.com (Dave Wolfe) There's an error in two messages in s_aliases.m which causes elm2.4 to core dump when resyncronize aliases. (%s/%s) should be (%c/%c). This bug doesn't show up unless you use message catalogs, since the default message in a_quit.c is correct. From: Jan Djarv Fix how nls emulation lib gencat links prev pointers From: Jan Djarv The alias message_count isn't set to zero if the last alias has been deleted from the alias table. As no aliases are reread from the aliases database the message_count is left as it was before. Fixed that the function do_newalias() sometimes returns without freeing the buffer allocated before. The patch adds these free calls. When you erroneously type a number in your folder elm asks you for a new current message number. But now if you erase this one number and leave the string empty elm will set the new current message to the second message on our sun4! The patch adds a check for an empty string and returns the current number if no number was entered. From: vogt@isa.de (Gerald Vogt) The situation is that the .elm/aliases file is missing, but .elm/aliases.dir and .elm/aliases.pag exist (isn't serendipity wonderful?). The ndbz functions tolerate this and just put a NULL pointer in the db structure for the data file FILE pointer. However, get_one_alias() in listalias and elm doesn't account for the db_open() succeeding but the dbz_basef field being NULL, so it passes the NULL pointer to fread(). Detect null and return 0 From: dwolfe@pffft.sps.mot.com (Dave Wolfe) Clear the screen before displaying MIME: From: marius@rhi.hi.is (Marius Olafsson) Add regexp processing to filter. Add execc operator From: Jan Djarv ========================================================= Patch Set - Patches 7 and 8 : Sat Nov 7 15:54:44 EST 1992 Elm 2.4PL6 -> Elm 2.4PL8 Add some tolerance for incorrect Content-Length header (fixes bug where Elm would combine two messages if content-length header was incorrect. Still has problem if incorrect content-length exactly matches multiple messages) From: Syd Change Makefile in doc to use -f as some shells don't have -x in test From: Syd The first is that when doing a summary, macros are expanded when printing the rule. IMHO they should be printed as with the -r option (i.e. %t is printed as "