🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #174750

Re: Dialog: colorizing header list

#174750
From: Kristi
Date: Wed, 05 Oct 2005 05:08
47 lines
3229 bytes
On Wed, 5 Oct 2005 12:45:51 +1000, wyzwyz wrote:

> On Wed, 5 Oct 2005 11:38:29 +1000, wyzwyz wrote:
> 
> 
>> oh, change header to references
>> !setcolor(fcolour1;bgcolour1) references +dlg@krististuf.com
>> 
>> 
>> and for a couple of different colours, try (but i haven't tested it
>> yet):
>> 
>> !setcolor(f0;b0) references +dlg@krististuf.com>
>> !setcolor(f1;b1) references +{dlg@krististuf.com> (<.*@.*> ){1,1}}
>> !setcolor(f2;b2) references +{dlg@krististuf.com> (<.*@.*> ){2,2}}
>> !setcolor(f3;b3) references +{dlg@krististuf.com> (<.*@.*> ){3,3}}
>> !setcolor(f4;b4) references +{dlg@krististuf.com> (<.*@.*> ){4,4}}
>> etc
> 
> tested, and should work fine now =)
> now resets colour when replying to own threads
> I 4got to put a \ in front of the . ! ahhhh
> 
> 
> 
> !setcolour(f5;f5) references {dlg@krististuf\.com>( <\S*@\S*>){4,}$}
> !setcolour(f4;f4) references {dlg@krististuf\.com>( <\S*@\S*>){3,3}$}
> !setcolour(f3;f3) references {dlg@krististuf\.com>( <\S*@\S*>){2,2}$}
> !setcolour(f2;f2) references {dlg@krististuf\.com> <\S*@\S*>$}
> !setcolor(f1;f1) references {dlg@krististuf\.com>$}
> !setcolor(f0;b0) Message-ID dlg@krististuf.com>

I think there's a typo or 2 in there...  how about:
!setcolor(default;default) score %>-9999 
#
!setcolor(default;$00FFFF) references {dlg@krististuf\.com>( <\S*@\S*>){4,4}$}   #brt yellow
!setcolor(default;$FFCCFF) references {dlg@krististuf\.com>( <\S*@\S*>){3,3}$}  #lt lavender
!setcolor(default;$99CCFF) references {dlg@krististuf\.com>( <\S*@\S*>){2,2}$}  #orange
!setcolor(default;$33CCFF) references {dlg@krististuf\.com>( <\S*@\S*>){1,1}$}  #yellow
!setcolor(default;$FFDDDD) references {dlg@krististuf\.com>$}   #lt purple
!setcolor(default;$FF99FF) Message-ID dlg@krististuf.com>   #lavender

Seems to work right...
Kristi
-- 
Shuttle AN35N Ultra, GeF4Ti4200, XP2600+Barton, 786mb
XPSP2+ 
Technical Details
Message-ID: <8p3ias3f1nof$.dlg@krististuf.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news.astraweb.com!news-router1.astraweb.com!not-for-mail
References: <p10h3lx7i5eq$.dlg@krististuf.com> <4342dfe8$0$19785$5a62ac22@per-qv1-newsreader-01.iinet.net.au> <14l0vx2gnfvjr.dlg@krististuf.com> <43432e86$0$19786$5a62ac22@per-qv1-newsreader-01.iinet.net.au> <43433e4f$0$19795$5a62ac22@per-qv1-newsreader-01.iinet.net.au>

Show Full Headers
Complete Article Headers
Message-ID: <8p3ias3f1nof$.dlg@krististuf.com>
Subject: Re: Dialog: colorizing header list
Date: Wed, 5 Oct 2005 01:08:34 -0400
From: Kristi <a@b.net>
References: <p10h3lx7i5eq$.dlg@krististuf.com> <4342dfe8$0$19785$5a62ac22@per-qv1-newsreader-01.iinet.net.au> <14l0vx2gnfvjr.dlg@krististuf.com> <43432e86$0$19786$5a62ac22@per-qv1-newsreader-01.iinet.net.au> <43433e4f$0$19795$5a62ac22@per-qv1-newsreader-01.iinet.net.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news.astraweb.com!news-router1.astraweb.com!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.15.1 (1badfabc.259.315)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Antivirus: avast! (VPS 0540-1, 10/04/2005), Outbound message
X-Antivirus-Status: Clean
Lines: 47
Organization: Unlimited download news at news.astraweb.com
NNTP-Posting-Host: 3890420d.news.astraweb.com
X-Trace: DXC=GgF1NVLb3dAI]J2Y9=AF]JL?0kYOcDh@JQTjgZGY6W=Fn0BUO68fTAKI8iQjEDQ\`ID>;
 YS41QB0MI92Sk261KFF