🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #40684

Re: SLRN 0.9.5.2 Bugs

#40684
From: root
Date: Sun, 10 May 1998 00:00
37 lines
2201 bytes
On 5 May 1998 00:22:32 GMT, Bill McCarthy <Bill.McCarthy@pobox.com> wrote:
>On 4 May 1998 06:18:05 GMT, John E. Davis wrote:
>>On 4 May 1998 02:38:25 GMT, Bill McCarthy <Bill.McCarthy@pobox.com> wrote:
>
>>>The new print command does send something to the printer (WinNT).  It prints
>>>Path: line up to the middle of the first line of the page.  On the next line
>>>it prints the From: line starting in the middle of the second line on the
>>>page.  That's all it prints!
>>
>>I am guessing that a carriage return is needed.  Since I have my
>>printer configured for a Unix system, a \r was not required.  If the
>>following patch fixes the problem, then I will release 0.9.5.3 with
>>this bug-fix:
>>
>>--- art.c~	Sun May  3 15:39:37 1998
>>+++ art.c	Mon May  4 01:00:56 1998
>>@@ -3809,7 +3809,7 @@
>>    while (l != NULL)
>>      {
>> 	if ((-1 == slrn_write_to_printer (p, l->buf, strlen (l->buf)))
>>-	    || (-1 == slrn_write_to_printer (p, "\n", 1)))
>>+	    || (-1 == slrn_write_to_printer (p, "\r\n", 2)))
>> 	  {
>> 	     slrn_close_printer (p);
>> 	     return -1;
>
>Well John, I still don't understand this odd ---+++ language, but when
>I replaced the '-' line with the '+' line in art.c, printing worked
>just fine.
>
You don't say whether you compiled under cygwin, and which cygwin release,
or mingw32.  But, I would guess it must be a cygwin compile, since Mingw32
doesn't come with a libspool.a import library.  I also get a segfault when
I try to run the Windows 95 mingw32 version of slrn0.9.5.2.

Technical Details
Message-ID: <6j4j4q$j61$1@gte2.gte.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-mail
References: <6ij9n1$l1f$1@pinta.pagesz.net> <slrn6kqja2.ktq.davis@aluche.mit.edu> <6ilm48$89v$1@pinta.pagesz.net>

Show Full Headers
Complete Article Headers
Message-ID: <6j4j4q$j61$1@gte2.gte.net>
Subject: Re: SLRN 0.9.5.2 Bugs
Date: Sun, 10 May 1998 00:00:00 +0000
From: root@ibm.net (root)
References: <6ij9n1$l1f$1@pinta.pagesz.net> <slrn6kqja2.ktq.davis@aluche.mit.edu> <6ilm48$89v$1@pinta.pagesz.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-mail
X-Deja-AN: 351967080
Organization: The Light
X-Auth: C01ED503589ED6CA16918491
Reply-To: vtailor@gte.net-nospam
Newsgroups: news.software.readers