🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by markus Mon, 05 Apr 1999 00:00
patch for slrn [change hostname from within S-Lang]
#47776
Author: markus
Date: Mon, 05 Apr 1999 00:00
30 lines
1707 bytes
A few weeks ago i asked this question how to change the hostname from
within S-Lang in slrn, nobody could give me answer, even not the author.
People mailed me saying 'it just does not work'. But i needed it, so 
i wrote a quick, dirty patch for slrn which does the trick.

The patch is available from
http://developing.at.frob.org/slrn-0.9.5.4-hostname-patch

I only tested it against version 0.9.5.4. This is not meant to be the
'right solution', its neither very well tested. I wrote it just to
satisfy my needs, for personal use, not for the public.
But since others could benefit from it, i put it in the public.

I didn't take a careful look at sources, which means this patch
could break anything else you maybe needed, so use this patch
at your own risk !

How it works :
--------------

You have a new variable called 'post_hostname', you can set it
from ~/.slrnrc and alter it from you slang interpreter file.

I used it two hooks, pre_article_mode_hook() and post_hook()
and it works ery well for me.

sincerly,
	Maruks

Re: patch for slrn [change hostname from within S-Lang]
#47757
Author: John E. Davis
Date: Mon, 05 Apr 1999 00:00
12 lines
1265 bytes
On 5 Apr 1999 12:40:18 GMT, markus <drbrain@ziemlich.org>
wrote:
>A few weeks ago i asked this question how to change the hostname from
>within S-Lang in slrn, nobody could give me answer, even not the author.

At this point, no one has made a very strong case about why this would
be a useful feature.  Until I can see a legitimate reason for this
capability, I will not change the current behavior.

--John

Re: patch for slrn [change hostname from within S-Lang]
#47774
Author: markus
Date: Mon, 05 Apr 1999 00:00
27 lines
1763 bytes
In article <slrn7ghubf.kr3.davis@aluche.mit.edu>, John E. Davis wrote:
>At this point, no one has made a very strong case about why this would
>be a useful feature.  Until I can see a legitimate reason for this
>capability, I will not change the current behavior.
>

It's no problem for me anymore as the patch works. I can understand
your thoughts and i respect them.

But maybe I can give you a reason for this:
It's simply filtering from Reply-Mail from Newsgroups. I have more than
one valid email adress, so i use these for different news-groups to
filter them accordingly.
If someone runs qmail on his site, he can easyly use the mailing-list
feature ( user-foo@host.domain, user-bar@host.domain). But with
sendmail you have to go to the admin every time you need a new alias.

But as the patch works, i don't insist anymore puttign this feature
into slrn. Anyway, slrn is some good peace of code, keep the level !

	Markus

-- 
<johns> macx: mein domain name ist laenger als deiner :)
<macx> johns: meiner hat aber mehr punkte drin :)

Re: patch for slrn [change hostname from within S-Lang]
#47791
Author: Thorfinn
Date: Tue, 06 Apr 1999 00:00
74 lines
4708 bytes
In news.software.readers, on 6 Apr 1999 05:58:35 GMT
Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu> wrote:
> Bek Oberin wrote:
> > For example, if I post in alt.fan.wednesday with my tertius address, I may
> > post stuff that I don't want showing up if somebody does a dejanews search
> > for bekj@netizen.com.au to see if they want to hire me!
> But you can be found at both addresses by searching for "Bek Oberin", no?
> How about finding <slrn7gijei.fq2.bekj@mycroft.tertius.net.au>, an article
> that clearly ties both e-mail addresses together?

It's an "image" issue.  I'll explain more a bit lower down.  I'm in
the same situation as bekj.  We both have addresses at netizen and
tertius.

> It's not something one requires two e-mail addresses for.  One could do this
> another way with content filtering (any Gnus users out there?) or using the
> popular +suffix idea in their e-mail address (i.e., bekj+fun@domain for fun
> stuff) and filtering on the To: header.

The +suffix idea is useful, and I use that already in any case.  The
problem goes deeper than that.

There are "social" newsgroups that I post to.  My "social" face comes
from thorfinn@tertius.net.au, where I have my personal home page, and
such things.  I tend to post some pretty weird stuff under that
address sometimes.

There are "technical" newsgroups that I post to.  My "technical" face
comes from thorfinn@netizen.com.au, where I *don't* have my personal
home page.  It's a business, and a technical one.

I don't want to have personal bizarre wibble coming from
thorfinn+tertius@netizen.com.au nor do I want to post technical stuff
from thorfinn+netizen@tertius.net.au.  Neither of those is
particularly good at making a distinction in *reader's* minds between
those two identities.  Yes, they're fine for mail filtering, but it
doesn't help otherwise.

People naturally place a lot of significance on the domain name of an
email address, and the *first part* of the email address.  The +mbox
addition is pretty safe for people to ignore... and half the world is
going to assume it's a spamblocker of some weird kind *anyway* and
remove it.

Also...  It *is* possible to configure slrn to use any email address,
just only from startup.  If I wasn't a programmer, I'd've done exactly
that - configured two different .slrnrcs pointing at different .newsrc
files, and subscribed to the tech groups from one, and the non-tech
from the other.

As I *am* a programmer, I wrote a patch for it myself so that I could
configure the thing from slang.  I'm *not* going to post that patch,
because it doesn't do what *should* be just, it just does the minimum
that I needed it to do... if JED wants it, I'll send it to him. :) I
find that unlikely, though.

In any case...  My point is that there *does* exist a perfectly
legitimate reason to post from different hostnames from the same
session.  And given the amount of *other* configuration that can be
done (Reply-To: modification, other header lines, sigfile change,
etc) via slang, it's hard to see why the From: header shouldn't be
modifiable as well.

Later,

   Thorfinn

-- 
<a href = "http://www.netizen.com.au/"> thorfinn@netizen.com.au </a>
"If more languages had _smite_ implemented, the remaining programmers
 would be better than the current average."
    -- Mike Andrews in the scary.devil.monastery

Re: patch for slrn [change hostname from within S-Lang]
#47800
Author: Dawn Owens-Nicholson
Date: Tue, 06 Apr 1999 00:00
18 lines
1613 bytes
Bek Oberin wrote:
> For example, if I post in alt.fan.wednesday with my tertius address, I may
> post stuff that I don't want showing up if somebody does a dejanews search
> for bekj@netizen.com.au to see if they want to hire me!

But you can be found at both addresses by searching for "Bek Oberin", no?
How about finding <slrn7gijei.fq2.bekj@mycroft.tertius.net.au>, an article
that clearly ties both e-mail addresses together?

It's not something one requires two e-mail addresses for.  One could do this
another way with content filtering (any Gnus users out there?) or using the
popular +suffix idea in their e-mail address (i.e., bekj+fun@domain for fun
stuff) and filtering on the To: header.

To find referenced message-IDs, try these links:
<URL:http://www.dejanews.com/msgid.xp?MID=%3Cslrn7gijei.fq2.bekj@mycroft.tertius.net.au%3E>

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