*BSD News Article 12057


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!usc!enterpoop.mit.edu!eru.mt.luth.se!lunic!sunic!isgate!krafla!adamd
From: adamd@rhi.hi.is (Adam David)
Newsgroups: comp.os.386bsd.apps
Subject: Re: Elm fixed easily for 386bsd
Message-ID: <6431@krafla.rhi.hi.is>
Date: 1 Mar 93 09:46:01 GMT
References: <6430@krafla.rhi.hi.is> <1ms0mpINN6or@life.ai.mit.edu>
Sender: usenet@rhi.hi.is
Lines: 29
Nntp-Posting-Host: hengill.rhi.hi.is

[I wrote]
>> "( (..... %s ; %s %s) & ) < %s"    becomes   "(..... %s < %s; %s %s) &"
>> The last 3 function args need to be rearranged to reflect this change,
>> remove_cmd will be the second from last arg.

mycroft@hal.gnu.ai.mit.edu (Charles Hannum) writes:

>There is also such a line in remail.c.

also filter/actions.c and utils/answer.c

>It also has nothing to do with the message being empty.  The problem is
>that `&' causes ash to close standard input.  None of the message text
>actually reaches sendmail.

symptom and cause.

>You can get a complete port from:

>alpha.gnu.ai.mit.edu:/386bsd/README
>			     elm2.4pl21.tar.z

Thanks for the info, I posted in the first place because the FAQ led me to
believe that the standard solution was to "use bash instead of sh" which I
find inacceptable for this purpose. btw, rearranging the args is also needed
for other broken shells, for example the /bin/sh that comes with minix 1.5.

--
Adam David (adam@veda.is)