From: "Olaf van der Spek" Newsgroups: comp.os.msdos.djgpp References: <56ga5.329089$k22 DOT 1448044 AT flipper> <8kcu4s$juv$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> Subject: Re: Pipe to sendmail (again) Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Message-ID: <%8pa5.332072$k22.1482726@flipper> Date: Mon, 10 Jul 2000 19:06:35 GMT NNTP-Posting-Host: 213.46.21.6 X-Complaints-To: abuse AT chello DOT nl X-Trace: flipper 963255995 213.46.21.6 (Mon, 10 Jul 2000 21:06:35 MET DST) NNTP-Posting-Date: Mon, 10 Jul 2000 21:06:35 MET DST Organization: Chello Broadband To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Hans-Bernhard Broeker" schreef in bericht news:8kcu4s$juv$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE... > Olaf van der Spek wrote: > > FILE* mail = popen("/usr/sbin/sendmail \"WSpek AT Chello DOT NL\"", "wt"); > > Loose the 't' in the mode description. There is no such thing as a > 'text' mode in Unix (nor should there really have been a need to > invent it on DOS: absence of 'b' already means "text mode", so what > would you need a 't' specifier for?) I thought it was necessary for the text mode. I think I saw it in a MSDN doc. But why is there no text mode in Unix? > > -- > Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) > Even if all the snow were burnt, ashes would remain.