Article View: news.software.readers
Article #60806Patch for using blat mailer with Windows slrn
From: Victor Schneider, Ph. D.
Date: Fri, 21 Apr 2000 00:00
Date: Fri, 21 Apr 2000 00:00
49 lines
2082 bytes
2082 bytes
If you want to use the public-domain blat.exe mail program with
slrn.exe under Windows, here are some simple patches to make blat
work with the latest slrn. (Note that you define the system mailer
as 'blat' in the slrn.rc file first.)
In misc.c:
==========
#if defined(IBMPC_SYSTEM)
slrn_fclose (pp);
sprintf (buf, "%s %s -t %s -s \"%s\"",
Slrn_SendMail_Command, outfile, to, subject);
slrn_posix_system (buf, 0);
#else
slrn_pclose (pp);
#endif
}
else
{
#if defined(IBMPC_SYSTEM)
sprintf (buf, "%s %s -t %s -s \"%s\"",
Slrn_SendMail_Command, file, to, subject);
#else
sprintf (buf, "%s < %s",
Slrn_SendMail_Command, file);
#endif
============
In art.c:
========
#ifndef BLAT_MAILER
fprintf (fp, "To: %s\nSubject: Fwd: %s\n",
to, subject == NULL ? "" : subject);
#if defined(IBMPC_SYSTEM)
fprintf (fp, "From: %s\n",
slrn_make_from_string ());
#endif
if (0 != *Slrn_User_Info.replyto)
fprintf (fp, "Reply-To: %s (%s)\n",
Slrn_User_Info.replyto, Slrn_User_Info.realname);
putc ('\n', fp);
#endif /* BLAT_MAILER */
Technical Details
Message-ID:
<jj0M4.502$_Q2.105845@dfiatx1-snr1.gtei.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <jj0M4.502$_Q2.105845@dfiatx1-snr1.gtei.net> Subject: Patch for using blat mailer with Windows slrn Date: Fri, 21 Apr 2000 00:00:00 +0000 From: vtailor@gte.net (Victor Schneider, Ph. D.) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 614028905 Distribution: world Followup-To: alt.dev.null X-Abuse-Info: Otherwise we will be unable to process your complaint properly X-Complaints-To: abuse@gte.net X-Trace: +rqgtiHio6dixFEDmUhq/JlTNPtoZIpzx5r33xqlERkosFFS+TUOnRkmyHluitCoQ3Gc03my0ddK!+cqWXe9AyBYwNhnlhA/dAyEch18+JbFoKhHazCDv2aT4UkcABsJCnHax0ZsirrRXeTN1ZpsipX2y!OUpGKQ== User-Agent: slrn/0.9.6.2 (Win32) Reply-To: vtailor@abuse.gte.net NNTP-Posting-Date: Fri, 21 Apr 2000 17:35:11 GMT Newsgroups: news.software.readers