🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by bill davidsen Fri, 05 Feb 1999 00:00
cnfsstat - continuation bugfix
#35192
Author: bill davidsen
Date: Fri, 05 Feb 1999 00:00
32 lines
1721 bytes
I don't see in the man pages that you can use continuation lines in the
cycbufs.conf file, but there's code to handle it, and it makes the file
a lot easier to read.

The cnfsstat script doesn't know about this, here's how to make it work.
This is just the bugfix, I am not quite ready to release my enhancements
yet, due to unexplained failure with raw partitions.

This patch against 2.2.

================================================================
*** /usr/local/news/bin/cnfsstat	Thu Feb  4 15:59:35 1999
--- ./cnfsstat	Thu Feb  4 19:42:40 1999
***************
*** 121,126 ****
--- 121,133 ----
  
      while(<CONFFILE>) {
  	$_ =~ s/^\s*(.*?)\s*$/$1/;
+ 	# Here we handle continuation lines
+ 	while (m/\\$/) {
+ 	    $contline = <CONFFILE>;
+ 	    $contline =~ s/^\s*(.*?)\s*$/$1/;
+ 	    chop;
+ 	    $_ .= $contline;
+ 	}
  	# \x23 below is #.  Emacs perl-mode gets confused by the "comment"
  	next if($_ =~ /^\s*$/ || $_ =~ /^\x23/);
  	next if($_ =~ /^cycbuffupdate:/ || $_ =~ /^refreshinterval:/);


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