🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
25 messages
25 total messages Started by DC Sat, 30 Aug 2003 18:25
[slrn] date header format
#132241
Author: DC
Date: Sat, 30 Aug 2003 18:25
20 lines
1732 bytes
When viewing articles, I would like for the DATE header to automagically
display the post's date in local time.  As it stands, now, I have to
subtract 6 hours from the DATE header, as it displays GMT.

Screenshot: http://m0053m4n.tripod.com/misc/slrn_date.png

I posted this at 12:13:16 local time.  I would like for it to display
the time as such.

It isn't just my own posts.  The majority of others' posts appear this
way.  This wasn't a problem in Xnews.  Can slrn do this?

Thanks.

-- 
DC

.liaj ot oG .ACMD eht detaloiv evah uoy ,ecnetnes siht no noitpyrcne eht
gnikaerb yB
Re: [slrn] date header format
#132246
Author: SINNER
Date: Sat, 30 Aug 2003 18:50
23 lines
1996 bytes
* DC Wrote in news.software.readers, on 30 Aug 2003 18:25:52 GMT:
> When viewing articles, I would like for the DATE header to automagically
> display the post's date in local time.  As it stands, now, I have to
> subtract 6 hours from the DATE header, as it displays GMT.

> Screenshot: http://m0053m4n.tripod.com/misc/slrn_date.png

> I posted this at 12:13:16 local time.  I would like for it to display
> the time as such.

> It isn't just my own posts.  The majority of others' posts appear this
> way.  This wasn't a problem in Xnews.  Can slrn do this?

Does:

set use_localtime 3

do it for you?
-- 
David                    | AGM Favorite Games - http://tinyurl.com/loec 
A commune is where people join together to share their lack of wealth.
		-- R. Stallman
Re: [slrn] date header format
#132250
Author: DC
Date: Sat, 30 Aug 2003 19:08
43 lines
2684 bytes
On Sat, 30 Aug 2003 18:50:24 GMT, SINNER
<99nesorjd@gates_of_hell.INVALID> wrote:
> * DC Wrote in news.software.readers, on 30 Aug 2003 18:25:52 GMT:
>> When viewing articles, I would like for the DATE header to automagically
>> display the post's date in local time.  As it stands, now, I have to
>> subtract 6 hours from the DATE header, as it displays GMT.
> 
>> Screenshot: http://m0053m4n.tripod.com/misc/slrn_date.png
> 
>> I posted this at 12:13:16 local time.  I would like for it to display
>> the time as such.
> 
>> It isn't just my own posts.  The majority of others' posts appear this
>> way.  This wasn't a problem in Xnews.  Can slrn do this?
> 
> Does:
> 
> set use_localtime 3
> 
> do it for you?

Hi SINNER.

Nope, doesn't do squat, reading or posting.

Additional questions:

1) where do you learn of these undocumented settings?  All I have to go
by are the sample .slrnrc and the docs.  Is there some kind of inner
clique I need to know about?  };O)

2) does slrn ever "hang" at {groupname}: received headers: 1/xxx for
about 10 seconds before displaying headers when you open a group?  It
doesn't always do this, but it has today, here, and it is really
bugging me.  I'm on DSL using CIS-DFN.  The TX/RX flash away for 10 sec
for maybe 20 new headers...wtf?

-- 
DC

.liaj ot oG .ACMD eht detaloiv evah uoy ,ecnetnes siht no noitpyrcne eht
gnikaerb yB
Re: [slrn] date header format
#132253
Author: SINNER
Date: Sat, 30 Aug 2003 19:39
45 lines
2683 bytes
* DC Wrote in news.software.readers, on 30 Aug 2003 19:08:04 GMT:

>>> It isn't just my own posts.  The majority of others' posts appear this
>>> way.  This wasn't a problem in Xnews.  Can slrn do this?

>> Does:

>> set use_localtime 3

>> do it for you?

> Hi SINNER.

> Nope, doesn't do squat, reading or posting.

strange, works for me.

> Additional questions:

> 1) where do you learn of these undocumented settings?  All I have to go
> by are the sample .slrnrc and the docs.  Is there some kind of inner
> clique I need to know about?  };O)

For me its in /usr/share/doc/slrn/manual.txt 

your path may vary but its likely similar.

> 2) does slrn ever "hang" at {groupname}: received headers: 1/xxx for
> about 10 seconds before displaying headers when you open a group?

Sometimes, mostly when my cron job has just finished running and the
spool is updateing, but I run a local server (leafnode)

> It
> doesn't always do this, but it has today, here, and it is really
> bugging me.  I'm on DSL using CIS-DFN.  The TX/RX flash away for 10 sec
> for maybe 20 new headers...wtf?

This could also be your score file, rename it and see if it happens.

-- 
David                    | AGM Favorite Games - http://tinyurl.com/loec 
Flirting is the gentle art of making a man feel pleased with himself.
		-- Helen Rowland
Re: [slrn] date header format
#132260
Author: DC
Date: Sat, 30 Aug 2003 21:32
59 lines
3121 bytes
On Sat, 30 Aug 2003 19:39:00 GMT, SINNER
<99nesorjd@gates_of_hell.INVALID> wrote:
> * DC Wrote in news.software.readers, on 30 Aug 2003 19:08:04 GMT:
> 
>>>> It isn't just my own posts.  The majority of others' posts appear this
>>>> way.  This wasn't a problem in Xnews.  Can slrn do this?
> 
>>> Does:
> 
>>> set use_localtime 3
> 
>>> do it for you?
> 
>> Hi SINNER.
> 
>> Nope, doesn't do squat, reading or posting.
> 
> strange, works for me.

Could something non-slrn be conflicting?  I have my clock set to
GMT-0600 (America/Regina time zone).  KDE Region & Language set to
Canada.  Anything else?

>> Additional questions:
> 
>> 1) where do you learn of these undocumented settings?  All I have to go
>> by are the sample .slrnrc and the docs.  Is there some kind of inner
>> clique I need to know about?  };O)
> 
> For me its in /usr/share/doc/slrn/manual.txt 
> 
> your path may vary but its likely similar.

Aw crap.  I missed that one.  I'll print it off and give it a read.
Thanks for the pointer.

>> 2) does slrn ever "hang" at {groupname}: received headers: 1/xxx for
>> about 10 seconds before displaying headers when you open a group?
> 
> Sometimes, mostly when my cron job has just finished running and the
> spool is updateing, but I run a local server (leafnode)

OK.  NNTP, here.

>> It
>> doesn't always do this, but it has today, here, and it is really
>> bugging me.  I'm on DSL using CIS-DFN.  The TX/RX flash away for 10 sec
>> for maybe 20 new headers...wtf?
> 
> This could also be your score file, rename it and see if it happens.

No change.  }:O\

-- 
DC

.liaj ot oG .ACMD eht detaloiv evah uoy ,ecnetnes siht no noitpyrcne eht
gnikaerb yB
Re: [slrn] date header format
#132262
Author: Creature
Date: Sat, 30 Aug 2003 21:44
20 lines
2101 bytes
On 30 Aug 2003 19:08:04 GMT, DC wrote:
> 2) does slrn ever "hang" at {groupname}: received headers: 1/xxx for
> about 10 seconds before displaying headers when you open a group?  It
> doesn't always do this, but it has today, here, and it is really
> bugging me.  I'm on DSL using CIS-DFN.  The TX/RX flash away for 10 sec
> for maybe 20 new headers...wtf?

Well, for me (and I've never considered this odd, so probably for everyone
else too) slrn counts headers in blocks of 50. So if a group has 220 new
messages, it'll go 1/220, 51/220, 101/220, 151/220, 201/220, [group
opens]. So what you percieve as "hanging" is probably just it working as
intended.

-- 
Alex Pounds (Creature)                  .~.               LGBTSoc Comms Person
CS2 Student                             /V\        Website working group chair
                                       // \\    Environmental committee member
"Variables won't; Constants aren't"   /(   )\ 
                                       ^`~'^
Re: [slrn] date header format
#132264
Author: DC
Date: Sat, 30 Aug 2003 22:10
24 lines
2397 bytes
On Sat, 30 Aug 2003 21:44:43 +0000 (UTC), Creature <ajp7@kent.ac.uk> wrote:
> On 30 Aug 2003 19:08:04 GMT, DC wrote:
>> 2) does slrn ever "hang" at {groupname}: received headers: 1/xxx for
>> about 10 seconds before displaying headers when you open a group?  It
>> doesn't always do this, but it has today, here, and it is really
>> bugging me.  I'm on DSL using CIS-DFN.  The TX/RX flash away for 10 sec
>> for maybe 20 new headers...wtf?
> 
> Well, for me (and I've never considered this odd, so probably for everyone
> else too) slrn counts headers in blocks of 50. So if a group has 220 new
> messages, it'll go 1/220, 51/220, 101/220, 151/220, 201/220, [group
> opens]. So what you percieve as "hanging" is probably just it working as
> intended.
> 
I have also observed this behaviour, which is fine, however I find that
is sits at 1/xx for an unacceptable length of time.  Maybe it is the
CIS-DFN server.

-- 
DC

.liaj ot oG .ACMD eht detaloiv evah uoy ,ecnetnes siht no noitpyrcne eht
gnikaerb yB
Re: [slrn] date header format
#132265
Author: fLameDogg
Date: Sat, 30 Aug 2003 22:26
22 lines
2273 bytes
On 2003-08-30, DC <dcmoose@myrealbox.com> wrote:

> On Sat, 30 Aug 2003 21:44:43 +0000 (UTC), Creature <ajp7@kent.ac.uk> wrote:

>> Well, for me (and I've never considered this odd, so probably for everyone
>> else too) slrn counts headers in blocks of 50. So if a group has 220 new
>> messages, it'll go 1/220, 51/220, 101/220, 151/220, 201/220, [group
>> opens]. So what you percieve as "hanging" is probably just it working as
>> intended.
 
> I have also observed this behaviour, which is fine, however I find that
> is sits at 1/xx for an unacceptable length of time.  Maybe it is the
> CIS-DFN server.

It might be.  As you know, I haven't been using it with DSL an awful
long time, however it's always seemed to me that slrn was balkier with
CIS than with my ISP's server.  I chalked it up to geolocation, although
CIS has been frisky today.
-- 
fD  $ fortune
Error in operator: add beer
Re: [slrn] date header format
#132266
Author: DC
Date: Sat, 30 Aug 2003 22:28
32 lines
2625 bytes
On 30 Aug 2003 22:26:11 GMT, fLameDogg <flamedogg@operamail.com> wrote:
> On 2003-08-30, DC <dcmoose@myrealbox.com> wrote:
> 
>> On Sat, 30 Aug 2003 21:44:43 +0000 (UTC), Creature <ajp7@kent.ac.uk> wrote:
> 
>>> Well, for me (and I've never considered this odd, so probably for everyone
>>> else too) slrn counts headers in blocks of 50. So if a group has 220 new
>>> messages, it'll go 1/220, 51/220, 101/220, 151/220, 201/220, [group
>>> opens]. So what you percieve as "hanging" is probably just it working as
>>> intended.
>  
>> I have also observed this behaviour, which is fine, however I find that
>> is sits at 1/xx for an unacceptable length of time.  Maybe it is the
>> CIS-DFN server.
> 
> It might be.  As you know, I haven't been using it with DSL an awful
> long time, however it's always seemed to me that slrn was balkier with
> CIS than with my ISP's server.  I chalked it up to geolocation, although
> CIS has been frisky today.

Hokay.  I'll chalk it up to the server, for now.  Like I said at the
outset, it doesn't happen all of the time.  Just more so lately than I'm
used to.

Thanks for the feedback, fD.

-- 
DC

.liaj ot oG .ACMD eht detaloiv evah uoy ,ecnetnes siht no noitpyrcne eht
gnikaerb yB
Re: [slrn] date header format
#132268
Author: fLameDogg
Date: Sat, 30 Aug 2003 22:32
21 lines
2274 bytes
Despite the loss of style points in following up myself, I thought I'd
add:

On 2003-08-30, fLameDogg <flamedogg@operamail.com> wrote:
> On 2003-08-30, DC <dcmoose@myrealbox.com> wrote:

> It might be.  As you know, I haven't been using it with DSL an awful
> long time, however it's always seemed to me that slrn was balkier with
> CIS than with my ISP's server.  I chalked it up to geolocation, although
> CIS has been frisky today.

Actually, I shouldn't have said that.  I just did another header pull,
paying attention this time, and although it started off first, it
stalled briefly at 101.  I went ahead and fired up GKrellM and, sure
enough, the transmission seems to be very up and down, with lots of
little stalls.  Not terrible, but not sooper-dooper.  Still more than my
money's worth, though.
-- 
fD  $ fortune
Error in operator: add beer
PING J.B. Nicholson-Owens (Re: [slrn] date header format)
#132269
Author: DC
Date: Sat, 30 Aug 2003 22:45
36 lines
2544 bytes
On Sat, 30 Aug 2003 22:36:12 GMT, Mike Coddington
<mofo@sdf.lonestar.org.org> wrote:
> On 30 Aug 2003 21:32:44 GMT, DC wrote:
>>> 
>>>>> Does:
>>> 
>>>>> set use_localtime 3
>>> 
>>>>> do it for you?
>>> 
>>>> Hi SINNER.
>>> 
>>>> Nope, doesn't do squat, reading or posting.
> 
> I have this same problem. I've got the use_localtime setting in my
> slrnrc, but still I get posts as GMT. However, I'm willing to bet that
> the problem is because the server I read news off of (I ssh into
> sdf.lonestar.org and read news there) is set to GMT. So probably, even
> though I have a setting in my .profile saying my real timezone (EST),
> slrn is using GMT. Maybe that's your problem too. Or maybe my hypothesis
> is plain wrong!
> 

It could be.  I don't know much about servers at all.

I have been Googling my butt off, today, and I *thought* I saw a post
that indicated that a macro had been written for this.  I could be
wrong, but here's to hoping J.B. sees this because, for the life of me,
I can no longer find it.  }:O(

-- 
DC

.liaj ot oG .ACMD eht detaloiv evah uoy ,ecnetnes siht no noitpyrcne eht
gnikaerb yB
Re: [slrn] date header format
#132271
Author: SINNER
Date: Sat, 30 Aug 2003 23:41
39 lines
2837 bytes
* DC Wrote in news.software.readers, on 30 Aug 2003 18:25:52 GMT:
> When viewing articles, I would like for the DATE header to automagically
> display the post's date in local time.  As it stands, now, I have to
> subtract 6 hours from the DATE header, as it displays GMT.

> Screenshot: http://m0053m4n.tripod.com/misc/slrn_date.png

> I posted this at 12:13:16 local time.  I would like for it to display
> the time as such.

> It isn't just my own posts.  The majority of others' posts appear this
> way.  This wasn't a problem in Xnews.  Can slrn do this?

> Thanks.

Well, interestingly enough, I had not looked at your example because I
knew the setting was there. further investigation provides interesting
information. I dont use Date as a visible header in the article pane, I
only see the date in the HEADER display, and it shows correctly. After
looking around and finally looking at your example, I added Date:, to my
visible headers and interesting results ensued. In my header display,
the time shows correctly as local time, in the article pane it shows as
GMT. I will continue to investigate and if J.B dosent show maybe I can
figure it out ;)

Do you also see the above results?

here is my Default header display line.

header_display_format 0 "%F%-5S%-4l[%15r]%t%50s %-19g[%15D]"

and my visible headers without the date displayed.

visible_headers
"From:,Subject:,Newsgroups:,Followup-To:,Reply-To:,X-Newsreader:,User-Agent:,X-Mailer:,X-No-Archive:"
-- 
David                    | AGM Favorite Games - http://tinyurl.com/loec 
Pick another fortune cookie.
Re: [slrn] date header format
#132279
Author: DC
Date: Sun, 31 Aug 2003 01:26
52 lines
3216 bytes
On Sat, 30 Aug 2003 23:41:11 GMT, SINNER
<99nesorjd@gates_of_hell.INVALID> wrote:
> * DC Wrote in news.software.readers, on 30 Aug 2003 18:25:52 GMT:
>> When viewing articles, I would like for the DATE header to automagically
>> display the post's date in local time.  As it stands, now, I have to
>> subtract 6 hours from the DATE header, as it displays GMT.
> 
>> Screenshot: http://m0053m4n.tripod.com/misc/slrn_date.png
> 
>> I posted this at 12:13:16 local time.  I would like for it to display
>> the time as such.
> 
>> It isn't just my own posts.  The majority of others' posts appear this
>> way.  This wasn't a problem in Xnews.  Can slrn do this?
> 
>> Thanks.
> 
> Well, interestingly enough, I had not looked at your example because I
> knew the setting was there. further investigation provides interesting
> information. I dont use Date as a visible header in the article pane, I
> only see the date in the HEADER display, and it shows correctly. After
> looking around and finally looking at your example, I added Date:, to my
> visible headers and interesting results ensued. In my header display,
> the time shows correctly as local time, in the article pane it shows as
> GMT. I will continue to investigate and if J.B dosent show maybe I can
> figure it out ;)
> 
> Do you also see the above results?
 
Nope...with or without set use_localtime 3, as per your earlier poast.

http://m0053m4n.tripod.com/misc/snapshot3.png

> here is my Default header display line.
> 
> header_display_format 0 "%F%-5S%-4l[%15r]%t%50s %-19g[%15D]"

I have no such .slrnrc entry (yet).

> and my visible headers without the date displayed.
> 
> visible_headers
> "From:,Subject:,Newsgroups:,Followup-To:,Reply-To:,X-Newsreader:,User-Agent:,X-Mailer:,X-No-Archive:"

I have same, less x-n-a.

-- 
DC

.liaj ot oG .ACMD eht detaloiv evah uoy ,ecnetnes siht no noitpyrcne eht
gnikaerb yB
Re: [slrn] date header format
#132298
Author: Dirk Nimmich
Date: Sun, 31 Aug 2003 10:15
42 lines
3084 bytes
SINNER wrote:
> * DC Wrote in news.software.readers, on 30 Aug 2003 18:25:52 GMT:
>> When viewing articles, I would like for the DATE header to automagically
>> display the post's date in local time.  As it stands, now, I have to
>> subtract 6 hours from the DATE header, as it displays GMT.
> 
>> Screenshot: http://m0053m4n.tripod.com/misc/slrn_date.png
> 
>> I posted this at 12:13:16 local time.  I would like for it to display
>> the time as such.
> 
>> It isn't just my own posts.  The majority of others' posts appear this
>> way.  This wasn't a problem in Xnews.  Can slrn do this?
> 
>> Thanks.
> 
> Well, interestingly enough, I had not looked at your example because I
> knew the setting was there. further investigation provides interesting
> information. I dont use Date as a visible header in the article pane, I
> only see the date in the HEADER display, and it shows correctly. After
> looking around and finally looking at your example, I added Date:, to my
> visible headers and interesting results ensued. In my header display,
> the time shows correctly as local time, in the article pane it shows as
> GMT.

First, I have to admit that I'm not a slrn user, so I may be wrong.
But from the description above and the images I assume that the
header_visible variable shows the actual date header (which is in
GMT or local time zone of the poster most of the time) while the
header_display_format recalculates it for displaying in local time.

This is usually a design question. Should headers in the article
pane display their actual content or somehow processed data? For the
Date header in the article pane, slrn seems to follow the first
paradigma.

For your own articles, if you don't want to have the Date header in
GMT (which is normally generated by the newsserver that cannot know
your local time zone), the generate_date_header variable seems to
help you.

Re: [slrn] date header format
#132544
Author: Thomas Schultz
Date: Tue, 02 Sep 2003 21:31
72 lines
3448 bytes
* Dirk Nimmich [2003-08-31 10:15] :
[...]
> This is usually a design question. Should headers in the article pane
> display their actual content or somehow processed data? For the Date
> header in the article pane, slrn seems to follow the first paradigma.

That's correct.

However, slrn optionally allows the user to put arbitrary text into
the article pane using a macro, so you could use that feature to get
the desired effect (put the following into convdate.sl and "interpret"
that file from your slrnrc):

#v+
define date_header_to_localtime ()
{
   variable
     article = article_as_string(),
     i = is_substr (article, "\n\n"),
     header = article[[0:i-1]], % seperate header and body
     body = article[[i:]];

   % remove continuation lines from the header
   while (str_replace (header, "\n ", " "))
     header = ();
   while (str_replace (header, "\n\t", " "))
     header = ();
   
   % convert the header to an array of strings
   header = strtok (header, "\n");
   
   % find and replace the date header
   for (i=0; i < length(header); i++)
     {
	!if (strncmp (header[i], "Date:", 5))
	  {
	     variable time, time_s;
	     variable days = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
	     variable months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun",
				"Jul", "Sep", "Oct", "Nov", "Dec"];
	     time = datestring_to_unixtime(substr(header[i],7,-1));
	     time_s = localtime (time);
	     header[i] = Sprintf("Date: %s, %02d %s %d %02d:%02d:%02d [converted to local time]",
				 days[time_s.tm_wday],
				 time_s.tm_mday,
				 months[time_s.tm_mon],
				 1900+time_s.tm_year,
				 time_s.tm_hour,
				 time_s.tm_min,
				 time_s.tm_sec,
				 7);
	  }
     }
   
   % join header to the body
   header = strjoin (header, "\n");
   article = strcat (header, "\n", body);
   
   % replace the selected article with our result
   replace_article (article);
}

!if (register_hook ("read_article_hook", "date_header_to_localtime"))
  message ("Warning: Could not register date_header_to_localtime" +
	   " for read_article_hook");
#v-
-- 
Thomas Schultz <tststs@gmx.de>  News on slrn: http://slrn.sf.net/news.html
.-----------------------------. [2003-08-25] Released slrn 0.9.8.0
| Home of the slrn newsreader | [2003-08-19] New slrn FAQ available
| http://slrn.sourceforge.net | [2003-07-31] First beta with offline reading
Reformatting dates and times for slrn
#132574
Author: J.B. Nicholson-Owens
Date: Wed, 03 Sep 2003 10:38
18 lines
2202 bytes
DC wrote:
> I have been Googling my butt off, today, and I *thought* I saw a post
> that indicated that a macro had been written for this.

I think one could write a macro for this, but I don't recall writing one to
do this task.  Ideally, I'd want to do something like what Date::Manip
offers Perl programmers--take in a date/time in all the formats you'll see
in netnews articles and then reformat the date to make it more convenient
for my understanding ("Yesterday", "Today, 3 hours and 10 minutes ago",
"2003-September-23 3:40p", etc.)--so I can use them visually.  All recorded
dates/times would be in appropriate standard formats.

It seems overkill in both dependencies and startup time to repeatedly call a
perl program to do the job but I haven't really seriously considered an
alternative: write the date/time manipulation routines needed in S-Lang
(which would involve minimal requirements and virtually no startup time, but
may mean time-consuming reinvention of this particular wheel).
Re: [slrn] date header format
#132605
Author: fLameDogg
Date: Wed, 03 Sep 2003 20:10
23 lines
2048 bytes
Thomas Schultz <tststs@gmx.de> wrote in 
news:slrnbla310.18l.tststs@moonlight.tststs.ddns.org:

> * Dirk Nimmich [2003-08-31 10:15] :
> [...]
>> This is usually a design question. Should headers in the article pane
>> display their actual content or somehow processed data? For the Date
>> header in the article pane, slrn seems to follow the first paradigma.
> 
> That's correct.
> 
> However, slrn optionally allows the user to put arbitrary text into
> the article pane using a macro, so you could use that feature to get
> the desired effect (put the following into convdate.sl and "interpret"
> that file from your slrnrc):

Ah.  I can't wait to run home to slrn and try this.

<snip S-Lang macro>
-- 
fD 

Re: [slrn] date header format
#132621
Author: fLameDogg
Date: Wed, 03 Sep 2003 23:38
15 lines
1745 bytes
On 2003-09-02, Thomas Schultz <tststs@gmx.de> wrote:

<snip>

> However, slrn optionally allows the user to put arbitrary text into
> the article pane using a macro, so you could use that feature to get
> the desired effect (put the following into convdate.sl and "interpret"
> that file from your slrnrc):

Works great.  Thank you, Thomas.

-- 
fD  $ fortune
Error in operator: add beer
Re: [slrn] date header format
#132632
Author: SINNER
Date: Thu, 04 Sep 2003 02:10
29 lines
2434 bytes
* fLameDogg Wrote in news.software.readers, on 3 Sep 2003 23:38:35 GMT:
> On 2003-09-02, Thomas Schultz <tststs@gmx.de> wrote:

> <snip>

>> However, slrn optionally allows the user to put arbitrary text into
>> the article pane using a macro, so you could use that feature to get
>> the desired effect (put the following into convdate.sl and "interpret"
>> that file from your slrnrc):

> Works great.  Thank you, Thomas.

Hmmm, its 1 month ahead for me :(

....

Figured it out

The following was missing "Aug"

 variable months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun",
                                 "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
				 
-- 
David                    | AGM Favorite Games - http://tinyurl.com/loec 
Do not read this fortune under penalty of law.
Violators will be prosecuted.
(Penal Code sec. 2.3.2 (II.a.))
Re: [slrn] date header format
#132635
Author: fLameDogg
Date: Thu, 04 Sep 2003 02:13
30 lines
2330 bytes
On 2003-09-04, SINNER <99nesorjd@gates_of_hell.INVALID> wrote:
> * fLameDogg Wrote in news.software.readers, on 3 Sep 2003 23:38:35 GMT:
>> On 2003-09-02, Thomas Schultz <tststs@gmx.de> wrote:
>
>> <snip>
>
>>> However, slrn optionally allows the user to put arbitrary text into
>>> the article pane using a macro, so you could use that feature to get
>>> the desired effect (put the following into convdate.sl and "interpret"
>>> that file from your slrnrc):
>
>> Works great.  Thank you, Thomas.
>
> Hmmm, its 1 month ahead for me :(

Be damned.  I never even noticed.  Was just looking at the time :O)
> ....
>
> Figured it out
>
> The following was missing "Aug"
>
>  variable months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun",
>                                  "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];

Nice catch!
-- 
fD  $ fortune
Error in operator: add beer
Re: [slrn] date header format
#132639
Author: SINNER
Date: Thu, 04 Sep 2003 02:48
33 lines
2507 bytes
* fLameDogg Wrote in news.software.readers, on 4 Sep 2003 02:13:38 GMT:
> On 2003-09-04, SINNER <99nesorjd@gates_of_hell.INVALID> wrote:
>> * fLameDogg Wrote in news.software.readers, on 3 Sep 2003 23:38:35 GMT:
>>> On 2003-09-02, Thomas Schultz <tststs@gmx.de> wrote:

>>> <snip>

[convdate.sl macro]

>>> Works great.  Thank you, Thomas.

>> Hmmm, its 1 month ahead for me :(

> Be damned.  I never even noticed.  Was just looking at the time :O)

You! I was using it happily and noticed many messages later, I had to
go back and reassure myself that I wasn't crazy.

>> ....

>> Figured it out

>> The following was missing "Aug"

>>  variable months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun",
>>                                  "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];

> Nice catch!

Thanks :)
-- 
David                    | AGM Favorite Games - http://tinyurl.com/loec 
Re: [slrn] date header format
#132646
Author: DC
Date: Thu, 04 Sep 2003 04:45
20 lines
1840 bytes
On Tue, 2 Sep 2003 21:31:12 +0000 (UTC), Thomas Schultz <tststs@gmx.de> wrote:
>
> the article pane using a macro, so you could use that feature to get
> the desired effect (put the following into convdate.sl and "interpret"
> that file from your slrnrc):

[snip macro]

Thomas, you rock!  }:O)))  THANKS!  It works beautifully[1]!
http://m0053m4n.tripod.com/screens/slrn_date_mod.png

[1] With SINNER's fix for missing month of "Aug", of course.

<happydance>  }:OD

-- 
DC

C:\no\more\of\this\fuc~1\bullsh~1
Re: Reformatting dates and times for slrn
#132648
Author: DC
Date: Thu, 04 Sep 2003 04:52
24 lines
2205 bytes
On 3 Sep 2003 10:38:25 GMT, J.B. Nicholson-Owens <jbn@forestfield.org> wrote:
> DC wrote:
>> I have been Googling my butt off, today, and I *thought* I saw a post
>> that indicated that a macro had been written for this.
> 
> I think one could write a macro for this, but I don't recall writing one to
> do this task.

Why not?!  };O)

Seriously, though, thanks for responding (and for your many past
contributions, which I have had the pleasure of reading using Google --
they are proving useful in helping me understand slrn a little better.)

As for the initial "problem", Thomas has succeeded nicely in coming up
with a solution for it.

I am a happy moose, once more!  }:O)

-- 
DC

C:\no\more\of\this\fuc~1\bullsh~1
Re: [slrn] date header format
#132674
Author: fLameDogg
Date: Thu, 04 Sep 2003 13:28
24 lines
2178 bytes
SINNER <99nesorjd@gates_of_hell.INVALID> wrote in
news:jcli21-3ce.ln1@news.gates_of_hell.INVALID: 

> * fLameDogg Wrote in news.software.readers, on 4 Sep 2003 02:13:38
> GMT: 

>> Be damned.  I never even noticed.  Was just looking at the time :O)
> 
> You! I was using it happily and noticed many messages later, I had to
> go back and reassure myself that I wasn't crazy.

Oh, it doesn't mean you aren't crazy ;O)

>> Nice catch!
> 
> Thanks :)

YW :O)
-- 
fD
"[Terrorism] is a symptom of the absence of freedom and understanding. 
Censorship is the enemy of freedom and understanding, and therefore the 
friend of terrorism."  --Ian Clarke, founder of _The Freenet Project_
Re: [slrn] date header format
#132676
Author: SINNER
Date: Thu, 04 Sep 2003 13:48
21 lines
2421 bytes
* fLameDogg Wrote in news.software.readers, on 4 Sep 2003 13:28:13 GMT:
> SINNER <99nesorjd@gates_of_hell.INVALID> wrote in
> news:jcli21-3ce.ln1@news.gates_of_hell.INVALID: 

>> * fLameDogg Wrote in news.software.readers, on 4 Sep 2003 02:13:38
>> GMT: 

>>> Be damned.  I never even noticed.  Was just looking at the time :O)

>> You! I was using it happily and noticed many messages later, I had to
>> go back and reassure myself that I wasn't crazy.

> Oh, it doesn't mean you aren't crazy ;O)

Hey! I guess I need to put up some more curtains ;)

-- 
David                    | AGM Favorite Games - http://tinyurl.com/loec 
University politics are vicious precisely because the stakes are so small.
		-- Henry Kissinger
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