🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #40615

Re: SLRN 0.9.5.2 Bugs

#40615
From: Bill McCarthy
Date: Tue, 05 May 1998 00:00
39 lines
1783 bytes
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.

Thanks!

-- 

Bill McCarthy
Wendell, NC
USA

Technical Details
Message-ID: <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
References: <6ij9n1$l1f$1@pinta.pagesz.net> <slrn6kqja2.ktq.davis@aluche.mit.edu>

Show Full Headers
Complete Article Headers
Message-ID: <6ilm48$89v$1@pinta.pagesz.net>
Subject: Re: SLRN 0.9.5.2 Bugs
Date: Tue, 05 May 1998 00:00:00 +0000
From: Bill.McCarthy@pobox.com (Bill McCarthy)
References: <6ij9n1$l1f$1@pinta.pagesz.net> <slrn6kqja2.ktq.davis@aluche.mit.edu>
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: 350275265
Organization: Pagesz.net
Newsgroups: news.software.readers