Thread View: news.software.readers
1 messages
1 total messages
Started by Victor Schneider, Ph. D.
Fri, 21 Apr 2000 00:00
Patch for using blat mailer with Windows slrn
Author: 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 */
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads