🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Johnny Her Fri, 11 Dec 1998 00:00
Netscap 4.x as a News Reader....
#33740
Author: Johnny Her
Date: Fri, 11 Dec 1998 00:00
14 lines
994 bytes
When I use Netscape 4.x Messenger connecting to my INN 2.1 news
server, an error message emerged on my screen for Netscape:

"Cannot open newsgroup date file"

But I use the same program retriving other news server (e.g. DNEWS)
articles, everything was very normal. I don't know what a newsgroup
date file is. Could anybody give me some clues?

--
Johnny Her
E-mail:her@eagle.seed.net.tw

Re: Netscap 4.x as a News Reader....
#33727
Author: Fluffy
Date: Fri, 11 Dec 1998 00:00
60 lines
2481 bytes
On 11 Dec 1998, Fluffy wrote:
{of active.times ickiness}
> Also remember that if you ever add groups by manually editing active
> instead of using ctlinnd, those entries again will be missing.

Here's a toy to maintain the thing automagically, from news.daily or
something like that.

#! /usr/local/bin/perl
require 5;
use strict;

### Fix this up to match your site. ###
require "/news/sm/lib/innshellvars.pl" ;

my (%active, %times, $key);

open ACTIVE, "<$inn::active";
while (<ACTIVE>) {
  chomp;
  /^(\S+)/;
  $active{$1} = "";
}
close ACTIVE;

if (! -f $inn::activetimes) {
  open ACTTIMES, ">$inn::activetimes";
  close ACTTIMES;
}

# load in times, de-dupe while we're at it
open ACTTIMES, "<$inn::activetimes"
  or die("Can't open $inn::activetimes for reading - $!");
while (<ACTTIMES>) {
  chomp;
  /^(\S+)\s*(.*)$/;
  $times{$1} = $2;
}
close ACTTIMES;

# Fill in any missing active.times entries
for (keys(%active)) {
  $times{$_} = time() . " meow" if ! defined $times{$_};
}

rename($inn::activetimes, "$inn::activetimes.old")
  or die("Can't rename $inn::activetimes to $inn::activetimes.old - $!");

# Write out the new active.times sorted by date
open ACTTIMES, ">$inn::activetimes"
  or die("Can't open $inn::activetimes for writing - $!");
for $key (sort { $times{$a} <=> $times{$b} } keys %times) {
  next if ! defined($active{$key}); # drop entries not in active.
  print ACTTIMES $key , " ", $times{$key}, "\n";
}
close ACTTIMES;



Re: Netscap 4.x as a News Reader....
#33742
Author: John Moreno
Date: Fri, 11 Dec 1998 00:00
24 lines
1482 bytes
Johnny Her <her@eagle.seed.net.tw> wrote:

> When I use Netscape 4.x Messenger connecting to my INN 2.1 news
> server, an error message emerged on my screen for Netscape:
> 
> "Cannot open newsgroup date file"
> 
> But I use the same program retriving other news server (e.g. DNEWS)
> articles, everything was very normal. I don't know what a newsgroup
> date file is. Could anybody give me some clues?

Clue #1) Question is best asked in news.software.readers
Clue #2) You probably have a corrupted preferences file

> --
> Johnny Her
> E-mail:her@eagle.seed.net.tw

Clue #3) The sigdash is two dashes and a space, not simply two dashes.

-- 
John Moreno

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