Path: utzoo!utgpu!jarvis.csri.toronto.edu!me!ecf!chew From: chew@ecf.toronto.edu (Ping Chew) Newsgroups: ont.archives Subject: Re: Elm 2.2 patches 1 & 2 Message-ID: <850@ecf.toronto.edu> Date: 3 May 89 13:22:40 GMT References: <272@moegate.UUCP> Reply-To: chew@ecf.UUCP (Boon-Ping Chew) Distribution: ont Organization: Engineering Computing Facility, University of Toronto Lines: 1272 In article <272@moegate.UUCP> soley@moegate.UUCP (Norman S. Soley) writes: >It seems that Elm 2.2 patches 1 and 2 never made it to Toronto, I've >sent mail to Syd asking for them. When I get them I'll announce it here. >Rather than have several copies mailed up from the States I'd be willing to >re-distribute them from here. Anyone who wants these drop me a line and I'll >send them to you when I get them. > I am posting patch 1 and 2 here as Syd has indicated that patches are available only through ftp and archive server. What follows is patch01. The next message would be patch02. ------------------------------ Patch 01 ------------------------------ From ecf!me!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!cbmvax!vu-vlsi!dsinc!syd Wed Apr 19 16:06:31 GMT 1989 Status: RO Article 1074 of comp.mail.elm: Path: ecf!me!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!cbmvax!vu-vlsi!dsinc!syd >From: syd@dsinc.DSI.COM (Syd Weinstein) Newsgroups: comp.mail.elm,comp.sources.bugs Subject: elm 2.2 Patch #1 Summary: This is an official patch for elm 2.2 system. Please apply it. Keywords: elm patch Message-ID: <110@dsinc.DSI.COM> Date: 19 Apr 89 16:06:31 GMT Followup-To: comp.mail.elm Organization: Datacomp Systems, Inc., Huntingdon Valley, PA Lines: 585 Xref: ecf comp.mail.elm:1074 comp.sources.bugs:1326 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. 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 0 ? " ":""), cc_list, ! (strlen(bcc_list) > 0 ? " ":""), bcc_list, ! sendmail_available? "sendmail" : "rmail"); sprintf(command_buffer, "cat %s %s | %s %s %s %s", tempfilename, filename, --- 216,226 ---- sendmail_available = (access(sendmail, EXECUTE_ACCESS) != -1); ! if (debug) ! printf("Mailing to %s%s%s%s%s [via %s]\n", to_list, ! (strlen(cc_list) > 0 ? " ":""), cc_list, ! (strlen(bcc_list) > 0 ? " ":""), bcc_list, ! sendmail_available? "sendmail" : "rmail"); sprintf(command_buffer, "cat %s %s | %s %s %s %s", tempfilename, filename, Index: utils/mailrc.awk Prereq: 2.3 *** ../elm2.2/utils/mailrc.awk Thu Mar 30 10:38:16 1989 --- utils/mailrc.awk Wed Apr 19 10:31:13 1989 *************** *** 1,5 **** # ! # @(#)$Id: mailrc.awk,v 2.3 89/03/25 21:47:51 syd Exp $ # Copyright (c) 1986, 1987 Dave Taylor # Copyright (c) 1988, 1989 USENET Community Trust # Bug reports, patches, comments, suggestions should be sent to: --- 1,5 ---- # ! # @(#)$Id: mailrc.awk,v 2.4 89/04/19 10:31:03 syd Exp $ # Copyright (c) 1986, 1987 Dave Taylor # Copyright (c) 1988, 1989 USENET Community Trust # Bug reports, patches, comments, suggestions should be sent to: *************** *** 8,13 **** --- 8,16 ---- # dsinc!elm # # $Log: mailrc.awk,v $ + # Revision 2.4 89/04/19 10:31:03 syd + # Change alias delimiter to ='s + # # Revision 2.3 89/03/25 21:47:51 syd # Initial 2.2 Release checkin # *************** *** 43,49 **** $1 ~ /[Aa]lias|[Gg]roup/ { if ( NF == 3) ! print $2 " : user alias : " $3; else { group = "" for (i = 3; i <= NF; i++) { --- 46,52 ---- $1 ~ /[Aa]lias|[Gg]roup/ { if ( NF == 3) ! print $2 " = user alias = " $3; else { group = "" for (i = 3; i <= NF; i++) { *************** *** 59,64 **** else group = $i; } ! print $2 " : group alias : " group; } } --- 62,67 ---- else group = $i; } ! print $2 " = group alias = " group; } } -- ===================================================================== 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 ---------------------------- End of Patch 01 -------------------------- > > >-- >Norman Soley - The Communications Guy - Ontario Ministry of the Environment >Until the next maps go out: moegate!soley@ontenv.UUCP >I'd like to try golf but I just can't bring myself to buy a pair of plaid pants Boon Newsgroups: ont.archivesposter Subject: Re: Elm 2.2 patches 1 & 2 Summary: Expires: References: <272@moegate.UUCP> Sender: Reply-To: chew@ecf.UUCP (Boon-Ping Chew) Followup-To: Distribution: ont Organization: Engineering Computing Facility, University of Toronto Keywords: In article <272@moegate.UUCP> soley@moegate.UUCP (Norman S. Soley) writes: >It seems that Elm 2.2 patches 1 and 2 never made it to Toronto, I've >sent mail to Syd asking for them. When I get them I'll announce it here. >Rather than have several copies mailed up from the States I'd be willing to >re-distribute them from here. Anyone who wants these drop me a line and I'll >send them to you when I get them. > I am posting patch 1 and 2 here as Syd has indicated that patches are available only through ftp and archive server. What follows is patch01. The next message would be patch02. ------------------------------ Patch 01 ------------------------------ From ecf!me!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!cbmvax!vu-vlsi!dsinc!syd Wed Apr 19 16:06:31 GMT 1989 Status: RO Article 1074 of comp.mail.elm: Path: ecf!me!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!cbmvax!vu-vlsi!dsinc!syd >From: syd@dsinc.DSI.COM (Syd Weinstein) Newsgroups: comp.mail.elm,comp.sources.bugs Subject: elm 2.2 Patch #1 Summary: This is an official patch for elm 2.2 system. Please apply it. Keywords: elm patch Message-ID: <110@dsinc.DSI.COM> Date: 19 Apr 89 16:06:31 GMT Followup-To: comp.mail.elm Organization: Datacomp Systems, Inc., Huntingdon Valley, PA Lines: 585 Xref: ecf comp.mail.elm:1074 comp.sources.bugs:1326 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. 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 0 ? " ":""), cc_list, ! (strlen(bcc_list) > 0 ? " ":""), bcc_list, ! sendmail_available? "sendmail" : "rmail"); sprintf(command_buffer, "cat %s %s | %s %s %s %s", tempfilename, filename, --- 216,226 ---- sendmail_available = (access(sendmail, EXECUTE_ACCESS) != -1); ! if (debug) ! printf("Mailing to %s%s%s%s%s [via %s]\n", to_list, ! (strlen(cc_list) > 0 ? " ":""), cc_list, ! (strlen(bcc_list) > 0 ? " ":""), bcc_list, ! sendmail_available? "sendmail" : "rmail"); sprintf(command_buffer, "cat %s %s | %s %s %s %s", tempfilename, filename, Index: utils/mailrc.awk Prereq: 2.3 *** ../elm2.2/utils/mailrc.awk Thu Mar 30 10:38:16 1989 --- utils/mailrc.awk Wed Apr 19 10:31:13 1989 *************** *** 1,5 **** # ! # @(#)$Id: mailrc.awk,v 2.3 89/03/25 21:47:51 syd Exp $ # Copyright (c) 1986, 1987 Dave Taylor # Copyright (c) 1988, 1989 USENET Community Trust # Bug reports, patches, comments, suggestions should be sent to: --- 1,5 ---- # ! # @(#)$Id: mailrc.awk,v 2.4 89/04/19 10:31:03 syd Exp $ # Copyright (c) 1986, 1987 Dave Taylor # Copyright (c) 1988, 1989 USENET Community Trust # Bug reports, patches, comments, suggestions should be sent to: *************** *** 8,13 **** --- 8,16 ---- # dsinc!elm # # $Log: mailrc.awk,v $ + # Revision 2.4 89/04/19 10:31:03 syd + # Change alias delimiter to ='s + # # Revision 2.3 89/03/25 21:47:51 syd # Initial 2.2 Release checkin # *************** *** 43,49 **** $1 ~ /[Aa]lias|[Gg]roup/ { if ( NF == 3) ! print $2 " : user alias : " $3; else { group = "" for (i = 3; i <= NF; i++) { --- 46,52 ---- $1 ~ /[Aa]lias|[Gg]roup/ { if ( NF == 3) ! print $2 " = user alias = " $3; else { group = "" for (i = 3; i <= NF; i++) { *************** *** 59,64 **** else group = $i; } ! print $2 " : group alias : " group; } } --- 62,67 ---- else group = $i; } ! print $2 " = group alias = " group; } } -- ===================================================================== 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 ---------------------------- End of Patch 01 -------------------------- > > >-- >Norman Soley - The Communications Guy - Ontario Ministry of the Environment >Until the next maps go out: moegate!soley@ontenv.UUCP >I'd like to try golf but I just can't bring myself to buy a pair of plaid pants Boon