🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by ~~~i LeoNid ~~ Sun, 23 Jun 2002 21:51
Re: How to have Korrnews remove a newsgroup from posting
#59306
Author: ~~~i LeoNid ~~
Date: Sun, 23 Jun 2002 21:51
40 lines
2903 bytes
On 6/23/2002 17:18 impersonator of Deep Thought <no.email.replies@excite.com> 
planted &I saw in hamster.en.misc:

> In a conversation over heard in hamster.en.misc, Anthony R. Gold from
> Section ZZ9 Plural Z Alpha mumbled, and I quote: 
> 
>> Can someone advise how to use Korrnews to delete particular strings
>> found in header lines?  I thought that the "Replace" function to
>> change the target string with a null ("") would be ideal but it only
>> appears to find and act on strings in body text and not in header
>> lines. 
> 
> This should work:
> 
> Var %newsgroups% : String=Header(Newsgroups)
> 
> If Lower(%newsgroups%) Contains "news.admin.net-abuse.email"
>  Do Replace "news.admin.net-abuse.email," With "" In %newsgroups%
>  Do Replace ",news.admin.net-abuse.email" With "" In %newsgroups%
>  Set Header Newsgroups: %newsgroups%
> EndIf
> 
0r... use my 0cess 5.28;-) and put in .ini file (in respective newsgroups' 
sections or for [all]):

Groups= <groups to process, separated by spaces or nothing - for all>
Headers=newsgroups
XR-newsgroups=news\.admin\.net-abuse\.email
XW-newsgroups=

The last key could be omited (equvalent to empty value STRING) 
XR-.. key defines Regular Expression -> here are dots escaped "\." 

http://leo.portland.co.uk/here/0cess/0cess.zip
http://leo.portland.co.uk/here/0cess/readme.txt
-- 
19th rule of a militAry playEr: `Don't think ever - enemy/fri'end;/'ll know`
...---rry, just couldn't resist x-posting it in "forbidden" froup;-) enjoy;=
<-  i-self  -> posted articles archive: http://nux.home.dk3.com/doc00.htm
Re: How to have Korrnews remove a newsgroup from posting
#59315
Author: ~~~i LeoNid ~~
Date: Mon, 24 Jun 2002 15:33
23 lines
2087 bytes
On 6/24/2002 10:44 impersonator of "Anthony R. Gold" <not-for-
mail@ahjg.co.uk> planted &I saw in news.software.readers:

> On Mon, 24 Jun 2002 01:51:44 +0400, "~~~i LeoNid ~~"
> <nux@auto_no.mailru.com> wrote:
> 
>> 0r... use my 0cess 5.28;-) 
> 
> Thanks Leo.  I'll take a look at it.
> 
> Tony
> 
Its now 4.3.11 under the same links (with vastly improved /overnight;/) 
features. (You can auto-combine headers+) If something is not clear from 
readme.txt , don't hesitate to ask.

I am also interested in feedback (fr. diff. env.)
-- 
19th rule of a militAry playEr: `Don't think ever - enemy/fri'end;/'ll know`

<-  i-self  -> posted articles archive: http://nux.home.dk3.com/doc00.htm
..
Re: How to have Korrnews remove a newsgroup from posting
#59341
Author: Ch.Esperado
Date: Tue, 25 Jun 2002 16:33
34 lines
3434 bytes
"~~~i LeoNid ~~" <nux@auto_no.mailru.com>, le lun. 24 juin 2002 17:33:46,
nous �crivait ceci:

> If something is not clear from
> readme.txt , don't hesitate to ask.

To be true , i was not able to figure out what is doing your script.
I have loaded two different Zips (better set everything in a single zip ?):
One is the script, with no description, and an other is a read-me file which
look like being an ini file in the same time ? (I have so many read-me files
on my computer...) Can you explain?

As i said to you in an other NG, Loading external Hsm, like Hamster.hsm
don't seem to be a good idea. Those files are not included in all
deliveries . They are named Bhamster.hsm, with HamsterFr, as an example.

Note for the developers:
On  a general point of view, the fact to deliver with hamster some subs in a
Hsm  form,  and for something else than educational purpose look very weird
from  my  point  of  view. Risk  is, for beginners, misunderstanding between
natives  functions of Hamsterscript, and call to the functions of those subs,
it  is always better to rewrite in scripts the exact part of those subs some
need  to use for some reasons: they can be written in a better way (SKip some
scanning,  as  an  example)  more  accurate and fast, they do not follow new
added  functions  in  hamsterscript.  And,  last, if some functions of those
Hamster,  or  htime.Hsm  are so useful, why do not incorporate them hard in
hamsterscript, for speed, security, and portability ?

-- 
Christophe. <http://esperado.chez.tiscali.fr>
Aujourd'hui, mon fils est entr� dans ma chambre.
Oui, celle o� il y a mon P.C. qui me relie � l'Internet.
Vous savez quoi ? Bon Dieu, qu'est-ce qu'il a grandi!
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