🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Andreas Mitsis Thu, 23 Mar 2000 00:00
Errorneous .jnewsrc.time file with slrn-0.9.5.3
#59513
Author: Andreas Mitsis
Date: Thu, 23 Mar 2000 00:00
40 lines
2093 bytes
	I frequently run the slrn newsreader.  This newsreader relies 
on a file called `.jnewsrc.time' which contains the current date 
and time for my news reading.   If it does not exist initially, it 
is created. After I leave the slrn the following message is shown 
on the command line:

     slrn 0.9.5.3 (Sep 19 1998 12:52:49)

     Reading startup file /home/mitsis/.slrnrc.
     Connecting to host localhost ...
     Connected to host.  Posting Ok.
     Checking for new groups ...
     .jnewsrc.time appears corrupt.
     I expected to see see: NEWGROUPS yymmdd hhmmss GMT
     I will patch the file up for you.

     Checking news ...

There is a short note that the slrn will patch the file up for me 
but when I fire up the newsreader the next time and quit it afterwards 
I get the same message every now and then. Nothing else happens. 

The output above reveals that something must be wrong with my 
`.jnewsrc.time':

     % cat .jnewsrc.time
     NEWGROUPS 1000323 085114 GMT

The leading three digits of the date string (the second entry) 
represents the encoding of the Year 2K. May be this is some Y2K 
related bug! 

What goes wrong here? How can I fix this tedious bug? Is it necessary 
to have a newer slrn. I mean does slrn-0.9.6.2 address this problem to 
work around this bug? I would really appreciate any help. 

Thanks,
	andreas

Re: Errorneous .jnewsrc.time file with slrn-0.9.5.3
#59528
Author: Thomas Schultz
Date: Thu, 23 Mar 2000 00:00
11 lines
1081 bytes
On 23 March 2000 at 20:05 GMT, Andreas Mitsis <amitsis@gmx.de> wrote:

> The leading three digits of the date string (the second entry)
> represents the encoding of the Year 2K. May be this is some Y2K
> related bug!

This problem was solved in 0.9.5.4 - please upgrade to a recent version.
-- 
Thomas Schultz <tststs@gmx.de>

Re: Errorneous .jnewsrc.time file with slrn-0.9.5.3
#59557
Author: Dawn Owens-Nicholson
Date: Thu, 23 Mar 2000 00:00
19 lines
1471 bytes
Andreas Mitsis wrote:
>      slrn 0.9.5.3 (Sep 19 1998 12:52:49)

You should upgrade to the latest S-Lang and slrn.  I'm not sure if it'll
address this problem or not, but there are other bug fixes and enhancements
that make it worthwhile.

> The leading three digits of the date string (the second entry) 
> represents the encoding of the Year 2K. May be this is some Y2K 
> related bug! 

It looks like a Y2K issue to me.  It could be that your server is at
fault--maybe it doesn't accept a year with all the digits in the year?  I
know Typhoon v1.2.2 doesn't have a problem with "NEWGROUPS 20000323 085114
GMT".

Good luck!

Re: Errorneous .jnewsrc.time file with slrn-0.9.5.3
#59571
Author: Maarten den Braber
Date: Fri, 24 Mar 2000 00:00
15 lines
1210 bytes
* Andreas Mitsis <amitsis@gmx.de>:
>      slrn 0.9.5.3 (Sep 19 1998 12:52:49)
>      I expected to see see: NEWGROUPS yymmdd hhmmss GMT
> 
>      % cat .jnewsrc.time
>      NEWGROUPS 1000323 085114 GMT

upgrade slrn to 0.9.6.x or higher

mdb
-- 
Maarten den Braber                           mdb@twister.cx
Find what you aren't searching for:   http://www.twister.cx

Re: Errorneous .jnewsrc.time file with slrn-0.9.5.3
#59660
Author: Andreas Mitsis
Date: Sat, 25 Mar 2000 00:00
18 lines
1224 bytes
On Thu, 23 Mar 2000 20:29:25 GMT, 
Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu> wrote:
>Andreas Mitsis wrote:
>>      slrn 0.9.5.3 (Sep 19 1998 12:52:49)
>
>You should upgrade to the latest S-Lang and slrn.  I'm not sure if it'll
>address this problem or not, but there are other bug fixes and enhancements
>that make it worthwhile.

I just switched to slrn-0.9.6.2. It's gone :) It seems that this was a bug 
with slrn.   

>Good luck!

cheers,
andreas

Re: Errorneous .jnewsrc.time file with slrn-0.9.5.3
#59667
Author: Thorfinn
Date: Sun, 26 Mar 2000 00:00
37 lines
2608 bytes
In news.software.readers, on 25 Mar 2000 09:07:05 GMT
Andreas Mitsis <amitsis@gmx.de> wrote:
> On Thu, 23 Mar 2000 20:29:25 GMT, 
> Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu> wrote:
> >Andreas Mitsis wrote:
> >>      slrn 0.9.5.3 (Sep 19 1998 12:52:49)
> >You should upgrade to the latest S-Lang and slrn.  I'm not sure if it'll
> >address this problem or not, but there are other bug fixes and enhancements
> >that make it worthwhile.
> I just switched to slrn-0.9.6.2. It's gone :) It seems that this was a bug 
> with slrn.   

Not entirely.  The NNTP specification says that the year is a two
digit field.

An awful lot of news servers were not returning two digit fields, but
were instead returning year-1900, or similar, and that output is
theoretically what gets dumped into newsrc-time, for later use by
the *next* NEWGROUPS command.

Anyway. :) Not entirely slrn's fault.  More of a protocol description
problem than anything.  The NNTP spec was pretty clear on the year
field being two digits only, but a lot of implementors (on the server
*and* client sides) missed that, and just used year-1900 (the struct
tm.year value from the c library) instead.

Later,

   Thorf

-- 
David Goh <thorfinn@netizen.com.au> -- http://netizen.com.au/
Internet and Open Source Development, Consulting and Training
Netizen Pty Ltd, GPO Box 2265U, Melbourne VIC 3000, Australia
   Telephone: +61-3-9614-0949   Facsimile: +61-3-9614-0948

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