🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #4191

mxrn 6.17-21 with ANU-News V6.0-3

#4191
From: Philip J. Tait
Date: Fri, 21 May 1993 01:48
50 lines
2663 bytes
Having found mxrn 6.14 to work satisfactorily, I decided to get version 6.17-21
off the "good stuff" CD and try it.  I liked the improvements, but post, 
followup and cancel no longer worked.  After hacking around a bit, I found 
that the following change to clientlib.c did the trick - here's a context diff:
  
*** /mnt/dco/mxrn-6.17/mips-ultrix/clientlib.c	Tue Sep  8 08:12:32 1992
--- ./clientlib.c	Thu May 20 18:45:23 1993
***************
*** 739,745 ****
      sdn.sdn_objnamel = strlen("NNTP");
      (void) memcpy(&sdn.sdn_objname[0], "NNTP", sdn.sdn_objnamel);
  
!     if ((s = socket(AF_DECnet, SOCK_STREAM, 0)) < 0) {
      	nerror("socket");
      	return (-1);
      }
--- 739,745 ----
      sdn.sdn_objnamel = strlen("NNTP");
      (void) memcpy(&sdn.sdn_objname[0], "NNTP", sdn.sdn_objnamel);
  
!     if ((s = socket(AF_DECnet, SOCK_SEQPACKET, 0)) < 0) {
      	nerror("socket");
      	return (-1);
      }
***************
*** 844,849 ****
--- 844,850 ----
      (void) fprintf(stderr, ">>> %s\n", string);
  #endif
  
+     flushit = 1;
      if (fprintf(ser_wr_fp, "%s\r\n", string) == EOF) {
  	return -1;
      }

This is for Ultrix (obviously) - I'm using RISC version 4.3.  I shall be trying
it on VAX Ultrix shortly - then I need to find what the problem is for the VMS
version.

The socket type change made sense to me, but I couldn't see why I needed to
override the "flushit" parameter - anyone care to enlighten me?

Of course, now someone will tell me that it works fine on their system, or that
the problem was fixed in ANU 6.1 or mxrn 6.18 - c'est la vie. :-)

--

Philip J. Tait                     AlliedSignal Propulsion Engines, Phoenix, Az
(602) 231-7104    GED::B12635    pjt@pelab.allied.com    tait@gedlab.allied.com
Technical Details
Message-ID: <1993May20.184857@asbt14.gedlab.allied.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!gatech!asuvax!ennews!telesys!wierius!gedphx!asbt14.gedlab.allied.com!pjt

Show Full Headers
Complete Article Headers
Message-ID: <1993May20.184857@asbt14.gedlab.allied.com>
Subject: mxrn 6.17-21 with ANU-News V6.0-3
Date: Fri, 21 May 1993 01:48:57 +0000
From: pjt@asbt14.gedlab.allied.com (Philip J. Tait)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!gatech!asuvax!ennews!telesys!wierius!gedphx!asbt14.gedlab.allied.com!pjt
Newsgroups: news.software.anu-news,news.software.readers
Reply-To: pjt@asbt14.gedlab.allied.com (Philip J. Tait)
Sender: pjt@gedtdc (Philip J. Tait)
Distribution: world,na
Organization: AlliedSignal, Phoenix, Az
Nntp-Posting-Host: 27662
Nntp-Posting-User: 101
Lines: 50