🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
9 messages
9 total messages Started by Keith Tue, 04 Sep 2012 16:14
[SLRN] identity.sl macro regular expression use
#251251
Author: Keith
Date: Tue, 04 Sep 2012 16:14
8 lines
1154 bytes
Does anyone know how to use this setting in the identity.sl macro?
Does it match something in the message header and replace it?

identity->set_regexp ("id", "regular_expression");

TIA, Keith.

Re: [SLRN] identity.sl macro regular expression use
#251244
Author: Whiskers
Date: Tue, 04 Sep 2012 19:04
24 lines
2102 bytes
On 2012-09-04, Keith <kilowattradio@gmail.com.REMOVE> wrote:
> Does anyone know how to use this setting in the identity.sl macro?
> Does it match something in the message header and replace it?
>
> identity->set_regexp ("id", "regular_expression");
>
> TIA, Keith.

<http://slrn.sourceforge.net/macros.html>

#v+
identity-2.6.2.sl: This macro allows the user to assign variable
values, concerning his/hers identity, on a per-newsgroup basis: that is, to
change some of the displayed informations depending on which newsgroup
he/she is posting on a determined moment. Written by Emmanuele Bassi.
#v-

I've never used ot - I find one identity is all I can cope with.  Are there
no comments in the file explaining what to do?

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [SLRN] identity.sl macro regular expression use
#251245
Author: Lewis
Date: Tue, 04 Sep 2012 20:08
30 lines
2765 bytes
In message <slrnk4ck7k.iv.catwheezel@ID-107770.user.individual.net> 
  Whiskers <catwheezel@operamail.com> wrote:
> On 2012-09-04, Keith <kilowattradio@gmail.com.REMOVE> wrote:
>> Does anyone know how to use this setting in the identity.sl macro?
>> Does it match something in the message header and replace it?
>>
>> identity->set_regexp ("id", "regular_expression");
>>
>> TIA, Keith.

> <http://slrn.sourceforge.net/macros.html>

> #v+
> identity-2.6.2.sl: This macro allows the user to assign variable
> values, concerning his/hers identity, on a per-newsgroup basis: that is, to
> change some of the displayed informations depending on which newsgroup
> he/she is posting on a determined moment. Written by Emmanuele Bassi.
> #v-

> I've never used ot - I find one identity is all I can cope with.  Are there
> no comments in the file explaining what to do?

That would be nice in a couple of groups if I could use custom signatures/Organization: if it was automatic, but don't otherwise.

-- 
what was supposed to be so special about a full moon? It was only a big
circle of light. And the dark of the moon was only darkness.  But
half-way between the two, when the moon was between the worlds of light
and dark, when even the moon lived on the edge... maybe then a witch
could believe in the moon. --Witches Abroad
Re: [SLRN] identity.sl macro regular expression use
#251246
Author: Joe
Date: Tue, 04 Sep 2012 21:30
30 lines
2368 bytes
On 2012-09-04, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:
> In message <slrnk4ck7k.iv.catwheezel@ID-107770.user.individual.net> 
>   Whiskers <catwheezel@operamail.com> wrote:
>> On 2012-09-04, Keith <kilowattradio@gmail.com.REMOVE> wrote:
>>> Does anyone know how to use this setting in the identity.sl macro?
>>> Does it match something in the message header and replace it?
>>>
>>> identity->set_regexp ("id", "regular_expression");
>>>
>>> TIA, Keith.
>
>> <http://slrn.sourceforge.net/macros.html>
>
>> #v+
>> identity-2.6.2.sl: This macro allows the user to assign variable
>> values, concerning his/hers identity, on a per-newsgroup basis: that is, to
>> change some of the displayed informations depending on which newsgroup
>> he/she is posting on a determined moment. Written by Emmanuele Bassi.
>> #v-
>
>> I've never used ot - I find one identity is all I can cope with.  Are there
>> no comments in the file explaining what to do?
>
> That would be nice in a couple of groups if I could use custom signatures/Organization: if it was automatic, but don't otherwise.
>

It's automatic if you set up a second macro file that sets up
the identity properly.

Re: [SLRN] identity.sl macro regular expression use
#251275
Author: gregor herrmann
Date: Thu, 06 Sep 2012 20:47
23 lines
3201 bytes
On 4 Sep 2012 19:04:48 GMT, Whiskers wrote:

><http://slrn.sourceforge.net/macros.html>
>
> #v+
> identity-2.6.2.sl: This macro allows the user to assign variable
> values, concerning his/hers identity, on a per-newsgroup basis: that is, to
> change some of the displayed informations depending on which newsgroup
> he/she is posting on a determined moment. Written by Emmanuele Bassi.
> #v-
>
> I've never used ot - I find one identity is all I can cope with.  Are there
> no comments in the file explaining what to do?

It's explained in all details (at least in the v2.8.0 I have on my
disk).

gregor
-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Paul Simon: The Boy In The Bubble
Re: [SLRN] identity.sl macro regular expression use
#251277
Author: andrew
Date: Thu, 06 Sep 2012 22:03
15 lines
1638 bytes
On 2012-09-06, gregor herrmann <gregor+usenet-0601@comodo.priv.at> wrote:

> It's explained in all details (at least in the v2.8.0 I have on my
> disk).

Could you post this version somewhere and I will add it to the slrn
website? There is n email address on this site that you could perhaps
use to email it to me.

Thanks,

Andrew

-- 
Do you think that's air you're breathing?
Re: [SLRN] identity.sl macro regular expression use
#251284
Author: gregor herrmann
Date: Thu, 06 Sep 2012 23:18
18 lines
3078 bytes
On Fri, 07 Sep 2012 08:03:05 +1000, andrew wrote:

>> It's explained in all details (at least in the v2.8.0 I have on my
>> disk).
> Could you post this version somewhere and I will add it to the slrn
> website? 

Sure, I've put it at
http://info.comodo.priv.at/tmp/identity.sl
 

 
gregor
-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Kurt Ostbahn: Wia woa des gestan Nocht
Re: [SLRN] identity.sl macro regular expression use
#251311
Author: andrew
Date: Fri, 07 Sep 2012 03:43
20 lines
1743 bytes
On 2012-09-06, gregor herrmann <gregor+usenet-0601@comodo.priv.at> wrote:
> On Fri, 07 Sep 2012 08:03:05 +1000, andrew wrote:
>
>>> It's explained in all details (at least in the v2.8.0 I have on my
>>> disk).
>> Could you post this version somewhere and I will add it to the slrn
>> website? 
>
> Sure, I've put it at
> http://info.comodo.priv.at/tmp/identity.sl

And now:

http://slrn.sourceforge.net/macros/identity.sl

Thanks very much for this :).

Andrew
-- 
Do you think that's air you're breathing?
Re: [SLRN] identity.sl macro regular expression use
#251343
Author: gregor herrmann
Date: Fri, 07 Sep 2012 23:13
23 lines
3292 bytes
On Fri, 07 Sep 2012 13:43:18 +1000, andrew wrote:

>>> Could you post this version somewhere and I will add it to the slrn
>>> website? 
>> Sure, I've put it at
>> http://info.comodo.priv.at/tmp/identity.sl
> And now:
> http://slrn.sourceforge.net/macros/identity.sl

Thanks.

> Thanks very much for this :).

You're welcome.
Good to see it at a more prominent place :)
(And I still don't remember where I got this version from ...)

gregor
-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Donovan: Sunny godge street
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