🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Philip J. Tait Fri, 21 May 1993 01:48
mxrn 6.17-21 with ANU-News V6.0-3
#4191
Author: 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
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