Xref: utzoo comp.mail.elm:1683 comp.sources.bugs:1784 Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!psuvax1!vu-vlsi!dsinc!syd From: syd@DSI.COM (Syd Weinstein) Newsgroups: comp.mail.elm,comp.sources.bugs Subject: elm 2.2 Patch #10 Keywords: elm patch Message-ID: <1989Jun19.212724.23203@DSI.COM> Date: 19 Jun 89 21:27:24 GMT Reply-To: syd@dsinc.DSI.COM (Syd Weinstein) Followup-To: comp.mail.elm Organization: Datacomp Systems, Inc., Huntingdon Valley, PA 19006 Lines: 1042 Summary: This is an official patch for elm 2.2 system. Please apply it. Priority: LOW A recent fix for forms problems wrongly treated a filled in form as a yet-to-be-filled form, causing problems when the user wanted to reply to it. From: Rob Bernardo Fixed where pressing | to pipe a message when there is not any mail caused a segmentation error signal to occur. From: gatech!npiatl!dkelly (Dwight Kelly) Added Patchlist file containing the record of which patch changed which items. (From the patch headers) From: Syd Fix: From rn, say "| patch -p -N -d DIR", where DIR is your elm source directory. Outside of rn, say "cd DIR; patch -p -N + + Fixed where pressing | to pipe a message when there is not any + mail caused a segmentation error signal to occur. + From: gatech!npiatl!dkelly (Dwight Kelly) + + Added Patchlist file containing the record of which patch changed which + items. (From the patch headers) + From: Syd + + + Subject: elm 2.2 Patch #9 + Date: Mon Jun 12 11:24:25 EDT 1989 + Priority: LOW + + Add missing quotes to the thankyou header line, minor spelling + corrections to Ref and Users guide. + From: lll-tis!ames!rutgers!cs.buffalo.edu!sigmast!dgy + + Change the sleep in save to reduce time in tagging saves. Now it will + only sleep for creating messages. Thus, the message WILL sleep for + two seconds, on the 1st message copied to it. This will let them know + that a new folder was used. If the user tags say, 25 messages to move + to a new folder, it will sleep 2 seconds for the first message, and + then not sleep at all for the remaining 24. + From: Jeff Beadles + + If you type control-D (EOF) at the "Message: " prompt, answer went + into an infinite loop printing "Message: " on your screen. The problem + is that on BSD systems (SunOS and Ultrix at least) an EOF on stdin + will cause all subsequent reads to return EOF (NULL for fgets). + You must call clearerr(stdin) to clear the EOF condition if you wish + to read from stdin again. + When answer receives and EOF indication it now treats it like an "exit" + command, like most Unix utilities (and mailers). This will fix the EOF + looping problem (by exiting). + From: uunet!mitel!sce!cognos!geovision!beet!jgm (John McCarthy) + + Fixed sigvec and sv_interrupt to only use sigvec when the System V + slow device interruption is available, else use signal. + From: Many, compiled by Syd + + Fix makefiles to add .PRECIOUS to prevent loss of include files + From: Rob + + Include the signature before editing if an external editor is going to be used. + Don't worry about the fact that we can't reliably determine which one to use. + From: zeeff@b-tech.ann-arbor.mi.us (Jon Zeeff) + + + Subject: elm 2.2 Patch #8 + Date: May 26 22:02 EDT 1989 + Priority: LOW + + A troff directive was missing its leading dot. + From: uunet!munnari!itd.dsto.oz.au!ksh (Ken Hayman 6340) + + Fix message in sample elmrc file. + From: uunet!calgary!xenlink!pldnec!dudley + + Change #ifdef SV_INTERRUPT that fool some BSD enhanced systems + that only have sigvec for kernel use but not for task use. + From: Robert Claeson + + Fixes the signature code to work for fully qualified local addresses. Also + fixes the problem that signatures can't really be determined until after the + message is entered (the user may use ~h to change it's local/remote status). + From: lll-tis!ames!mailrus!sharkey!b-tech.ann-arbor.mi.us!zeeff (Jon Zeeff) + + Fixed several problems, mostly off-by-one errors and the missed + consideration that a delay of around 8 weeks (the maximum allowed) + can actually push you more than one month into the future + (eg 28th Feb + 40 days is in April, not March). + From: munnari!itd.dsto.oz.au!ksh@uunet.UU.NET (Ken Hayman 6340) + + Prevent a string in a document trigger some action by adding a null width + space before the word in the keyword. + From: uunet!!phil (Phil Hochstetler) + + Fix the "message-id" variable that is used in the In-Reply-To: field + to initialize it to no.id for those messages without a message id. + From: Dave Taylor + + Updateing the status line for non forwarded messages was doubling + the status tag. + From: Samuel Lam + + Changes to remote-install in Makefiles + From: David Newall + + Change configure to not define USE_DOMAIN if the MTA cannot + handle internet addresses + From: Syd Weinstein + + There was one space too many before the word "Display" in the PF1 + definition; this causes the key label to look quite ugly when the word + "Display" wraps into the second line. + From: uunet!smsdpg!seg (Scott Garfinkle) + + + Subject: elm 2.2 Patch # 7 + Priority: MEDIUM + + Add Xenix 286 shell instructions to README + + Change cast on init signal code. + From: root@cheviot.newcastle.ac.uk (Andy Linton) + + Fixed default function return for one_liner_for. + From: karl@archer.MorningStar.COM (Karl Fox) + + Change command prompt on last page of message not to use + GetPrompt() which does timeouts. + From: Samuel Lam + + The while loop for input of multi-line fields did not have curly braces around + the body, causing only the first statement to get executed. This caused the + user to get stuck until ^D was typed, and no data for that field was written + to the file. I also fixed the input routines a bit so forms work a little more + like the document says they do, though they're still not quite the same. + From: td2cad!mipos3!batie + + mail_form() called mail() with a "NO" argument to tell it not to + add the Contains line; this caused the recipient of a Form to + not get it displayed in the nice readable format it's supposed + to be displayed in. + From: td2cad!mipos3!batie + + Fix tab expansion near end of line in curses.c + From: Karl and Rob + + + Subject: elm 2.2 Patch #6 + Priority: LOW + + When you convert from printf to curses, you must remember that it treats + \n as a RAW \n, and that you must also send \r. Either that or make + sure the _col variable gets reset to the proper column. + From: jbuck@epimass.EPI.COM (Joe Buck) + + Need to go leave raw mode before doing shell escapes and system() calls. + These changes of mode were accidentally removed when the builtin editor + was fixed by making it operate in raw mode. + From: Rob Bernardo + + Remove extra definition of whitespace from src/string2.c + + Allow setvbuf not to exist, silently. It is for efficiency only. + + Make termio routine code depend on TERMIO symbol not BSD symbol in src/init.c + + The function remove_possible_trailing_spaces could 'spin backwards' over + a great deal more than its input.... consider the case that the input contained + nothing but whitespace characters. Also, the original nulls out every trailing + whitespace character, not just the first. + From: Randy Wright + + Added missing routine name to usage call in newmail. + + + Subject: elm 2.2 Patch #5 + Priority: LOW + + This reinstates elm 2.1 functionality of saving a copy of an outbound + message by name only if the folder preexists, while keeping the new + functionality of allowing save-by-name to also occur regardless of + the preexistence of the folder. + From: Rob Bernardo + + Change Configure to use sgtty first if BSD and TERMIO first if not. + From: Syd + + + Subject: elm 2.2 Patch #4 + Priority: Medium + + Fix the pattern-matching feature of ~f/~m in the builtin editor + and fix the documentation for the builtin editor in the Reference Guide. + From: Rob Bernardo + + This fixes bug EB13, whereby if there was a Status: header for a message, + elm would lose track of status information (such as Priority:), because + a variable was reset with the Status info, rather than just or'ed with it. + From: Rob Bernardo + + This patch corrects some duplicate, unnecessary and conflicting declarations + of some curses functions, which show up when compiling with gcc. + These corrections were pointed out by Steve Simmons. + From: Rob Bernardo + + Fixed not having newmail print the "sender's" id/address + From bpa!att!hocpa!rusty Tue Apr 25 15:59:42 1989 + + One variable was used in place of another + From: Rob Bernardo + + This enables elm to properly expand ~/[path] and ~logname/[path]; + formerly "~" and "~/" were both expanded as the current user's home + directory. Also fixes a bug in the expansion of environmental variables in + user-entered paths. + From: Rob Bernardo + + + Subject: elm 2.2 Patch #3 + Priority: LOW + + This fixes a number of bugs with the builtin editor. (1) It used to use + stdio functions and not curses functions to write to the screen causing + the homebrew curses to loose track of where the cursor was - which + showed up when trying to back up over input, (2) the ~m and ~f commands + were nearly completely broken, (3) expanded addresses are displayed + under a wider range of appropriate circumstances, (4) the index screen + needed to be redrawn when the editor is killed by two interrupts. A related + curses bug was also fixed, and user messages in the builtin editor were + made consistent. + From: Rob Bernardo + + + Subject: elm 2.2 Patch #2 + Priority: MEDIUM + + Added missing _utils dependency. + + When you repeatedly 'c'hange folders and use '?' to display a list of + folder names, the list is preceded by a little help message. The first + time this occurs, everything is OK but subsequent uses of '?' cause (all + but the first line of) the message body to be repeated. The help + message grows and grows the more you use this feature. + + This fixes a wrongly named variable (caused by copying a function and + not completing tailoring it to its new role). Found by Rob Healey. + From: Rob Bernardo + + This fixes a compiler warning "statement not reached". Found by Steve + Simmons. From: Rob Bernardo + + When checking to see if an address is in a list of addresses: (1) ignore + case, and (2) make sure the comparison is not just a random inclusion of + the address in an item of the list - it must match a whole number of + "atoms" at the right end of the item in the list. From: Rob Bernardo + + + Fix typo in newmail.1 + + Fix bug in resyncing and limit, we loose the Visible attribute, so + cancel the limit. + + ELM did not reset its internal column counter at the ends of lines when + the user is composing a mail message with editor = "none". As a result, + elm echos a \r\n every 80th character the user types. Called NewLine so + the curses module will know to reset the column number. + + Add some defines for Goulds and SV_INTERRUPT from Andy Linton at Newcastle. + + On 4.3 BSD machines (this includes > Ultrix 2.0 and GOULD NP1) the + refreshing of the index etc. on receipt of new mail does not work on + the timeout. Essentially although the read in ReadCh is interrupted by + the alarm firing after the timeout the read continues and so the errno + is not set to EINTR. + + Add BSD style USER to LOGNAME for folder lookup in readmsg + + Enclosed are patches to ELM2.2 to make it usable for sites that + use 8-bit character sets like ISO8859. The support for character + classification at these sites is usually done by replacing the + ctype macros. These changes should be invisible to those using + ascii and result in better code (i.e. if(!isprint(c)) ... is better + than if ( (c < ' ') || (c > '~')) ... ) + From: Marius Olafsson Internet: marius@rhi.hi.is + University of Iceland Non-MX: marius%rhi.hi.is@uunet.uu.net + UUCP: {mcvax,enea,uunet}!hafro!rhi!marius + + Add secondary check for BSD sites on including utsname in gethostname when + host name is compiled in. + + + Subject: elm 2.2 Patch #1 + Priority: LOW-MEDIUM + + The alias seperator was changed to an equal sign from the colon character. + This change, however, wasn't made in the utils/mailrc.awk script. + + The man page for answer(1l) still refered to '$home/.alias_hash' + and '...alias_data'. + + fastmail had a printf statement which was not controlled by the debug flag. + The sympton was that arepdaemon kept echoing messages to the console. + + removed use of the 'hp' register which is defined by the [nt]roff package as + a predefined general register, the current horizontal place on the input line. + + Fixes the Elm-supplied gethostname() for the Xenix environment when the + system has been told to use the uname() call. The Configure script + correctly sets the defines, but the code wasn't using it correctly. + + Fixed scanning for calendar entries with no mail. + + Another attempt at the stop code, so many systems handle this differently. + + Some cursor strings on some terminals were longer than SHORT allowed, + lengthen SHORT. + + + Subject: elm 2.2 Patch #0 + Priority: Low + + Somehow two large section of the Filter guide got deleted from the + official distribution as in comp.sources.unix. This fixes that. Those + that got the submission directly from dsinc do not have this problem. + This patch does not bump the revision number due to it not effecting + everybody. + Index: MANIFEST *** ../elm2.2/MANIFEST Thu Mar 2 22:28:57 1989 --- MANIFEST Mon Jun 19 17:09:18 1989 *************** *** 7,12 **** --- 7,13 ---- Configure config.h.SH Makefile.SH + Patchlist doc/Alias.guide doc/Config.guid doc/Elm.cover Index: src/elm.c Prereq: 2.34 *** ../elm2.2/src/elm.c Wed Apr 19 11:59:07 1989 --- src/elm.c Mon Jun 19 16:57:33 1989 *************** *** 1,8 **** ! static char rcsid[] = "@(#)$Id: elm.c,v 2.34 89/04/19 10:49:18 syd Exp $"; /******************************************************************************* ! * The Elm Mail System - $Revision: 2.34 $ $State: Exp $ * * This file and all associated files and documentation: * Copyright (c) 1986, 1987 Dave Taylor --- 1,8 ---- ! static char rcsid[] = "@(#)$Id: elm.c,v 2.35 89/06/19 16:57:29 syd Exp $"; /******************************************************************************* ! * The Elm Mail System - $Revision: 2.35 $ $State: Exp $ * * This file and all associated files and documentation: * Copyright (c) 1986, 1987 Dave Taylor *************** *** 15,20 **** --- 15,25 ---- * ******************************************************************************* * $Log: elm.c,v $ + * Revision 2.35 89/06/19 16:57:29 syd + * Fixed where pressing | to pipe a message when there is not any + * mail caused a segmentation error signal to occur. + * From: gatech!npiatl!dkelly (Dwight Kelly) + * * Revision 2.34 89/04/19 10:49:18 syd * Fix scanning for calendar entries with no mail * *************** *** 197,205 **** nucurr++; break; case '|' : Writechar('|'); ! softkeys_off(); ! redraw = do_pipe(); ! softkeys_on(); break; case '!' : Writechar('!'); softkeys_off(); --- 202,216 ---- nucurr++; break; case '|' : Writechar('|'); ! if (message_count < 1) { ! error("No mail to pipe!"); ! fflush(stdin); ! } else { ! softkeys_off(); ! redraw = do_pipe(); ! softkeys_on(); ! } ! break; case '!' : Writechar('!'); softkeys_off(); Index: src/mailmsg2.c Prereq: 2.34 *** ../elm2.2/src/mailmsg2.c Mon Jun 12 10:21:49 1989 --- src/mailmsg2.c Mon Jun 19 16:53:13 1989 *************** *** 1,8 **** ! static char rcsid[] = "@(#)$Id: mailmsg2.c,v 2.34 89/06/12 09:49:25 syd Exp $"; /******************************************************************************* ! * The Elm Mail System - $Revision: 2.34 $ $State: Exp $ * * Copyright (c) 1986, 1987 Dave Taylor * Copyright (c) 1988, 1989 USENET Community Trust --- 1,8 ---- ! static char rcsid[] = "@(#)$Id: mailmsg2.c,v 2.35 89/06/19 16:53:10 syd Exp $"; /******************************************************************************* ! * The Elm Mail System - $Revision: 2.35 $ $State: Exp $ * * Copyright (c) 1986, 1987 Dave Taylor * Copyright (c) 1988, 1989 USENET Community Trust *************** *** 14,19 **** --- 14,24 ---- * ******************************************************************************* * $Log: mailmsg2.c,v $ + * Revision 2.35 89/06/19 16:53:10 syd + * A recent fix for forms problems wrongly treated a filled in form as a + * yet-to-be-filled form, causing problems when the user wanted to reply to it. + * From: Rob Bernardo + * * Revision 2.34 89/06/12 09:49:25 syd * Include the signature before editing if an external editor is going to be used. * Don't worry about the fact that we can't reliably determine which one to use. *************** *** 398,404 **** strcpy(to, address); strcpy(expanded_to, address); ! return(mail(FORM, NO, YES)); } int --- 403,409 ---- strcpy(to, address); strcpy(expanded_to, address); ! return(mail(FORM, NO, NO)); } int Newsgroups: comp.mail.elm,comp.sources.bugs Subject: elm 2.2 Patch #10 Expires: References: Sender: Reply-To: syd@dsinc.DSI.COM (Syd Weinstein) Followup-To: comp.mail.elm Distribution: world Organization: Datacomp Systems, Inc., Huntingdon Valley, PA 19006 Keywords: elm patch Summary: This is an official patch for elm 2.2 system. Please apply it. Priority: LOW A recent fix for forms problems wrongly treated a filled in form as a yet-to-be-filled form, causing problems when the user wanted to reply to it. From: Rob Bernardo Fixed where pressing | to pipe a message when there is not any mail caused a segmentation error signal to occur. From: gatech!npiatl!dkelly (Dwight Kelly) Added Patchlist file containing the record of which patch changed which items. (From the patch headers) From: Syd Fix: From rn, say "| patch -p -N -d DIR", where DIR is your elm source directory. Outside of rn, say "cd DIR; patch -p -N + + Fixed where pressing | to pipe a message when there is not any + mail caused a segmentation error signal to occur. + From: gatech!npiatl!dkelly (Dwight Kelly) + + Added Patchlist file containing the record of which patch changed which + items. (From the patch headers) + From: Syd + + + Subject: elm 2.2 Patch #9 + Date: Mon Jun 12 11:24:25 EDT 1989 + Priority: LOW + + Add missing quotes to the thankyou header line, minor spelling + corrections to Ref and Users guide. + From: lll-tis!ames!rutgers!cs.buffalo.edu!sigmast!dgy + + Change the sleep in save to reduce time in tagging saves. Now it will + only sleep for creating messages. Thus, the message WILL sleep for + two seconds, on the 1st message copied to it. This will let them know + that a new folder was used. If the user tags say, 25 messages to move + to a new folder, it will sleep 2 seconds for the first message, and + then not sleep at all for the remaining 24. + From: Jeff Beadles + + If you type control-D (EOF) at the "Message: " prompt, answer went + into an infinite loop printing "Message: " on your screen. The problem + is that on BSD systems (SunOS and Ultrix at least) an EOF on stdin + will cause all subsequent reads to return EOF (NULL for fgets). + You must call clearerr(stdin) to clear the EOF condition if you wish + to read from stdin again. + When answer receives and EOF indication it now treats it like an "exit" + command, like most Unix utilities (and mailers). This will fix the EOF + looping problem (by exiting). + From: uunet!mitel!sce!cognos!geovision!beet!jgm (John McCarthy) + + Fixed sigvec and sv_interrupt to only use sigvec when the System V + slow device interruption is available, else use signal. + From: Many, compiled by Syd + + Fix makefiles to add .PRECIOUS to prevent loss of include files + From: Rob + + Include the signature before editing if an external editor is going to be used. + Don't worry about the fact that we can't reliably determine which one to use. + From: zeeff@b-tech.ann-arbor.mi.us (Jon Zeeff) + + + Subject: elm 2.2 Patch #8 + Date: May 26 22:02 EDT 1989 + Priority: LOW + + A troff directive was missing its leading dot. + From: uunet!munnari!itd.dsto.oz.au!ksh (Ken Hayman 6340) + + Fix message in sample elmrc file. + From: uunet!calgary!xenlink!pldnec!dudley + + Change #ifdef SV_INTERRUPT that fool some BSD enhanced systems + that only have sigvec for kernel use but not for task use. + From: Robert Claeson + + Fixes the signature code to work for fully qualified local addresses. Also + fixes the problem that signatures can't really be determined until after the + message is entered (the user may use ~h to change it's local/remote status). + From: lll-tis!ames!mailrus!sharkey!b-tech.ann-arbor.mi.us!zeeff (Jon Zeeff) + + Fixed several problems, mostly off-by-one errors and the missed + consideration that a delay of around 8 weeks (the maximum allowed) + can actually push you more than one month into the future + (eg 28th Feb + 40 days is in April, not March). + From: munnari!itd.dsto.oz.au!ksh@uunet.UU.NET (Ken Hayman 6340) + + Prevent a string in a document trigger some action by adding a null width + space before the word in the keyword. + From: uunet!!phil (Phil Hochstetler) + + Fix the "message-id" variable that is used in the In-Reply-To: field + to initialize it to no.id for those messages without a message id. + From: Dave Taylor + + Updateing the status line for non forwarded messages was doubling + the status tag. + From: Samuel Lam + + Changes to remote-install in Makefiles + From: David Newall + + Change configure to not define USE_DOMAIN if the MTA cannot + handle internet addresses + From: Syd Weinstein + + There was one space too many before the word "Display" in the PF1 + definition; this causes the key label to look quite ugly when the word + "Display" wraps into the second line. + From: uunet!smsdpg!seg (Scott Garfinkle) + + + Subject: elm 2.2 Patch # 7 + Priority: MEDIUM + + Add Xenix 286 shell instructions to README + + Change cast on init signal code. + From: root@cheviot.newcastle.ac.uk (Andy Linton) + + Fixed default function return for one_liner_for. + From: karl@archer.MorningStar.COM (Karl Fox) + + Change command prompt on last page of message not to use + GetPrompt() which does timeouts. + From: Samuel Lam + + The while loop for input of multi-line fields did not have curly braces around + the body, causing only the first statement to get executed. This caused the + user to get stuck until ^D was typed, and no data for that field was written + to the file. I also fixed the input routines a bit so forms work a little more + like the document says they do, though they're still not quite the same. + From: td2cad!mipos3!batie + + mail_form() called mail() with a "NO" argument to tell it not to + add the Contains line; this caused the recipient of a Form to + not get it displayed in the nice readable format it's supposed + to be displayed in. + From: td2cad!mipos3!batie + + Fix tab expansion near end of line in curses.c + From: Karl and Rob + + + Subject: elm 2.2 Patch #6 + Priority: LOW + + When you convert from printf to curses, you must remember that it treats + \n as a RAW \n, and that you must also send \r. Either that or make + sure the _col variable gets reset to the proper column. + From: jbuck@epimass.EPI.COM (Joe Buck) + + Need to go leave raw mode before doing shell escapes and system() calls. + These changes of mode were accidentally removed when the builtin editor + was fixed by making it operate in raw mode. + From: Rob Bernardo + + Remove extra definition of whitespace from src/string2.c + + Allow setvbuf not to exist, silently. It is for efficiency only. + + Make termio routine code depend on TERMIO symbol not BSD symbol in src/init.c + + The function remove_possible_trailing_spaces could 'spin backwards' over + a great deal more than its input.... consider the case that the input contained + nothing but whitespace characters. Also, the original nulls out every trailing + whitespace character, not just the first. + From: Randy Wright + + Added missing routine name to usage call in newmail. + + + Subject: elm 2.2 Patch #5 + Priority: LOW + + This reinstates elm 2.1 functionality of saving a copy of an outbound + message by name only if the folder preexists, while keeping the new + functionality of allowing save-by-name to also occur regardless of + the preexistence of the folder. + From: Rob Bernardo + + Change Configure to use sgtty first if BSD and TERMIO first if not. + From: Syd + + + Subject: elm 2.2 Patch #4 + Priority: Medium + + Fix the pattern-matching feature of ~f/~m in the builtin editor + and fix the documentation for the builtin editor in the Reference Guide. + From: Rob Bernardo + + This fixes bug EB13, whereby if there was a Status: header for a message, + elm would lose track of status information (such as Priority:), because + a variable was reset with the Status info, rather than just or'ed with it. + From: Rob Bernardo + + This patch corrects some duplicate, unnecessary and conflicting declarations + of some curses functions, which show up when compiling with gcc. + These corrections were pointed out by Steve Simmons. + From: Rob Bernardo + + Fixed not having newmail print the "sender's" id/address + From bpa!att!hocpa!rusty Tue Apr 25 15:59:42 1989 + + One variable was used in place of another + From: Rob Bernardo + + This enables elm to properly expand ~/[path] and ~logname/[path]; + formerly "~" and "~/" were both expanded as the current user's home + directory. Also fixes a bug in the expansion of environmental variables in + user-entered paths. + From: Rob Bernardo + + + Subject: elm 2.2 Patch #3 + Priority: LOW + + This fixes a number of bugs with the builtin editor. (1) It used to use + stdio functions and not curses functions to write to the screen causing + the homebrew curses to loose track of where the cursor was - which + showed up when trying to back up over input, (2) the ~m and ~f commands + were nearly completely broken, (3) expanded addresses are displayed + under a wider range of appropriate circumstances, (4) the index screen + needed to be redrawn when the editor is killed by two interrupts. A related + curses bug was also fixed, and user messages in the builtin editor were + made consistent. + From: Rob Bernardo + + + Subject: elm 2.2 Patch #2 + Priority: MEDIUM + + Added missing _utils dependency. + + When you repeatedly 'c'hange folders and use '?' to display a list of + folder names, the list is preceded by a little help message. The first + time this occurs, everything is OK but subsequent uses of '?' cause (all + but the first line of) the message body to be repeated. The help + message grows and grows the more you use this feature. + + This fixes a wrongly named variable (caused by copying a function and + not completing tailoring it to its new role). Found by Rob Healey. + From: Rob Bernardo + + This fixes a compiler warning "statement not reached". Found by Steve + Simmons. From: Rob Bernardo + + When checking to see if an address is in a list of addresses: (1) ignore + case, and (2) make sure the comparison is not just a random inclusion of + the address in an item of the list - it must match a whole number of + "atoms" at the right end of the item in the list. From: Rob Bernardo + + + Fix typo in newmail.1 + + Fix bug in resyncing and limit, we loose the Visible attribute, so + cancel the limit. + + ELM did not reset its internal column counter at the ends of lines when + the user is composing a mail message with editor = "none". As a result, + elm echos a \r\n every 80th character the user types. Called NewLine so + the curses module will know to reset the column number. + + Add some defines for Goulds and SV_INTERRUPT from Andy Linton at Newcastle. + + On 4.3 BSD machines (this includes > Ultrix 2.0 and GOULD NP1) the + refreshing of the index etc. on receipt of new mail does not work on + the timeout. Essentially although the read in ReadCh is interrupted by + the alarm firing after the timeout the read continues and so the errno + is not set to EINTR. + + Add BSD style USER to LOGNAME for folder lookup in readmsg + + Enclosed are patches to ELM2.2 to make it usable for sites that + use 8-bit character sets like ISO8859. The support for character + classification at these sites is usually done by replacing the + ctype macros. These changes should be invisible to those using + ascii and result in better code (i.e. if(!isprint(c)) ... is better + than if ( (c < ' ') || (c > '~')) ... ) + From: Marius Olafsson Internet: marius@rhi.hi.is + University of Iceland Non-MX: marius%rhi.hi.is@uunet.uu.net + UUCP: {mcvax,enea,uunet}!hafro!rhi!marius + + Add secondary check for BSD sites on including utsname in gethostname when + host name is compiled in. + + + Subject: elm 2.2 Patch #1 + Priority: LOW-MEDIUM + + The alias seperator was changed to an equal sign from the colon character. + This change, however, wasn't made in the utils/mailrc.awk script. + + The man page for answer(1l) still refered to '$home/.alias_hash' + and '...alias_data'. + + fastmail had a printf statement which was not controlled by the debug flag. + The sympton was that arepdaemon kept echoing messages to the console. + + removed use of the 'hp' register which is defined by the [nt]roff package as + a predefined general register, the current horizontal place on the input line. + + Fixes the Elm-supplied gethostname() for the Xenix environment when the + system has been told to use the uname() call. The Configure script + correctly sets the defines, but the code wasn't using it correctly. + + Fixed scanning for calendar entries with no mail. + + Another attempt at the stop code, so many systems handle this differently. + + Some cursor strings on some terminals were longer than SHORT allowed, + lengthen SHORT. + + + Subject: elm 2.2 Patch #0 + Priority: Low + + Somehow two large section of the Filter guide got deleted from the + official distribution as in comp.sources.unix. This fixes that. Those + that got the submission directly from dsinc do not have this problem. + This patch does not bump the revision number due to it not effecting + everybody. + Index: MANIFEST *** ../elm2.2/MANIFEST Thu Mar 2 22:28:57 1989 --- MANIFEST Mon Jun 19 17:09:18 1989 *************** *** 7,12 **** --- 7,13 ---- Configure config.h.SH Makefile.SH + Patchlist doc/Alias.guide doc/Config.guid doc/Elm.cover Index: src/elm.c Prereq: 2.34 *** ../elm2.2/src/elm.c Wed Apr 19 11:59:07 1989 --- src/elm.c Mon Jun 19 16:57:33 1989 *************** *** 1,8 **** ! static char rcsid[] = "@(#)$Id: elm.c,v 2.34 89/04/19 10:49:18 syd Exp $"; /******************************************************************************* ! * The Elm Mail System - $Revision: 2.34 $ $State: Exp $ * * This file and all associated files and documentation: * Copyright (c) 1986, 1987 Dave Taylor --- 1,8 ---- ! static char rcsid[] = "@(#)$Id: elm.c,v 2.35 89/06/19 16:57:29 syd Exp $"; /******************************************************************************* ! * The Elm Mail System - $Revision: 2.35 $ $State: Exp $ * * This file and all associated files and documentation: * Copyright (c) 1986, 1987 Dave Taylor *************** *** 15,20 **** --- 15,25 ---- * ******************************************************************************* * $Log: elm.c,v $ + * Revision 2.35 89/06/19 16:57:29 syd + * Fixed where pressing | to pipe a message when there is not any + * mail caused a segmentation error signal to occur. + * From: gatech!npiatl!dkelly (Dwight Kelly) + * * Revision 2.34 89/04/19 10:49:18 syd * Fix scanning for calendar entries with no mail * *************** *** 197,205 **** nucurr++; break; case '|' : Writechar('|'); ! softkeys_off(); ! redraw = do_pipe(); ! softkeys_on(); break; case '!' : Writechar('!'); softkeys_off(); --- 202,216 ---- nucurr++; break; case '|' : Writechar('|'); ! if (message_count < 1) { ! error("No mail to pipe!"); ! fflush(stdin); ! } else { ! softkeys_off(); ! redraw = do_pipe(); ! softkeys_on(); ! } ! break; case '!' : Writechar('!'); softkeys_off(); Index: src/mailmsg2.c Prereq: 2.34 *** ../elm2.2/src/mailmsg2.c Mon Jun 12 10:21:49 1989 --- src/mailmsg2.c Mon Jun 19 16:53:13 1989 *************** *** 1,8 **** ! static char rcsid[] = "@(#)$Id: mailmsg2.c,v 2.34 89/06/12 09:49:25 syd Exp $"; /******************************************************************************* ! * The Elm Mail System - $Revision: 2.34 $ $State: Exp $ * * Copyright (c) 1986, 1987 Dave Taylor * Copyright (c) 1988, 1989 USENET Community Trust --- 1,8 ---- ! static char rcsid[] = "@(#)$Id: mailmsg2.c,v 2.35 89/06/19 16:53:10 syd Exp $"; /******************************************************************************* ! * The Elm Mail System - $Revision: 2.35 $ $State: Exp $ * * Copyright (c) 1986, 1987 Dave Taylor * Copyright (c) 1988, 1989 USENET Community Trust *************** *** 14,19 **** --- 14,24 ---- * ******************************************************************************* * $Log: mailmsg2.c,v $ + * Revision 2.35 89/06/19 16:53:10 syd + * A recent fix for forms problems wrongly treated a filled in form as a + * yet-to-be-filled form, causing problems when the user wanted to reply to it. + * From: Rob Bernardo + * * Revision 2.34 89/06/12 09:49:25 syd * Include the signature before editing if an external editor is going to be used. * Don't worry about the fact that we can't reliably determine which one to use. *************** *** 398,404 **** strcpy(to, address); strcpy(expanded_to, address); ! return(mail(FORM, NO, YES)); } int --- 403,409 ---- strcpy(to, address); strcpy(expanded_to, address); ! return(mail(FORM, NO, NO)); } int -- ===================================================================== Sydney S. Weinstein, CDP, CCP Elm Coordinator Datacomp Systems, Inc. Voice: (215) 947-9900 syd@DSI.COM or {bpa,vu-vlsi}!dsinc!syd FAX: (215) 938-0235