Thread View: news.software.readers
8 messages
8 total messages
Started by sebu
Sun, 01 Mar 1998 00:00
Different "From:" field in slrn.
Author: sebu
Date: Sun, 01 Mar 1998 00:00
Date: Sun, 01 Mar 1998 00:00
15 lines
831 bytes
831 bytes
Is it possible to change the look of the "From:" field with slrn? Right now it looks something like this - From: mclare@bc.sympatico.ca (sebu) and I was wondering if it is possible to make it look like this - From: sebu <mclare@bc.sympatico.ca> That's all, sebu
Re: Different "From:" field in slrn.
Author: Fluffy
Date: Sun, 01 Mar 1998 00:00
Date: Sun, 01 Mar 1998 00:00
29 lines
1368 bytes
1368 bytes
sebu <mclare@bc.sympatico.ca> wrote:
: Is it possible to change the look of the "From:" field with slrn? Right now
: it looks something like this -
:
: From: mclare@bc.sympatico.ca (sebu)
:
: and I was wondering if it is possible to make it look like this -
:
: From: sebu <mclare@bc.sympatico.ca>
Why?
This is for 0.9.4.3, others ought to be simliar.
In post.c, around line 690, look for this line (I've rewrapped it here):
Slrn_Post_Obj->po_printf
("From: %s@%s (%s)\n", Slrn_User_Info.username, Slrn_User_Info.host, Slrn_User_Info.realname);
change it to:
Slrn_Post_Obj->po_printf
("From: %s <%s@%s>\n", Slrn_User_Info.realname, Slrn_User_Info.username, Slrn_User_Info.host);
But again, why?
Re: Different "From:" field in slrn.
Author: Sven Guckes
Date: Mon, 02 Mar 1998 00:00
Date: Mon, 02 Mar 1998 00:00
22 lines
1614 bytes
1614 bytes
sebu <mclare@bc.sympatico.ca> wrote: > Is it possible to change the look of the "From:" field with slrn? Right now > it looks something like this - > From: mclare@bc.sympatico.ca (sebu) > and I was wondering if it is possible to make it look like this - > From: sebu <mclare@bc.sympatico.ca> world!flufster@uunet.uu.net (Fluffy): > Why? This is for 0.9.4.3, others ought to be simliar. > In post.c, around line 690, look for this line [...] change it to: > But again, why? Why not? ;-) Btw, I think that "sebu" asked for a "configuration solution" - and not a solution that requires to change the code of slrn. And as far as I know there is no way to change this - is there? Sven
Re: Different "From:" field in slrn.
Author: Martin Ramsch
Date: Tue, 03 Mar 1998 00:00
Date: Tue, 03 Mar 1998 00:00
28 lines
1908 bytes
1908 bytes
On 3 Mar 1998 09:22:41 GMT, Sven Guckes <guckes@math.fu-berlin.de> wrote: >fluffy@fluffy.meow.org (Fluffy): >> It looks hard-coded to me, and I really can't think of a good reason >> to make something like that a configuration option. Is there anything >> (legal) one can do with 'c <a@b>' and not with 'a@b (c)'? > >I think that there was *some* advantage - but I forget which. JED? Just off the cuff, AFAIK with "a@b (c)" the name c is only a comment that may be deleted while with "c <a@b>" the name c is actually part of the email address that should be preserved. And you could use "c <a@b> (d)" of course to add a comment to the latter form, too. Without digging further into the real (maybe RFC based :-) reasons I prefer "c <a@b>" as I feel it to be a more canonical form of email addresses. Anybody here with a more sound knowledge on the topic? Regards, Martin -- Martin Ramsch <m.ramsch@computer.org> <URL: http://home.pages.de/~ramsch/ > PGP key: <URL: mailto:pgp-public-keys@keys.de.pgp.net> Subject: GET 0xE8EF4F75
Re: Different "From:" field in slrn.
Author: Fluffy
Date: Tue, 03 Mar 1998 00:00
Date: Tue, 03 Mar 1998 00:00
20 lines
1498 bytes
1498 bytes
Sven Guckes <guckes@math.fu-berlin.de> wrote: : Btw, I think that "sebu" asked for a "configuration solution" - : and not a solution that requires to change the code of slrn. Nah, sebu just asked if it was possible. At least I didn't make it fork a process to run sed against the strings ;) : And as far as I know there is no way to change this - is there? It looks hard-coded to me, and I really can't think of a good reason to make something like that a configuration option. Is there anything (legal) one can do with 'c <a@b>' and not with 'a@b (c)'? -- "I can't stand this proliferation of Fluffys. It's useless to fight the Fluffys. You've got to kill the people producing them." -- Vladimir Kabaidze, 64, General Director of Ivanovo Machine Building Works
Re: Different "From:" field in slrn.
Author: Sven Guckes
Date: Tue, 03 Mar 1998 00:00
Date: Tue, 03 Mar 1998 00:00
11 lines
1313 bytes
1313 bytes
fluffy@fluffy.meow.org (Fluffy): > It looks hard-coded to me, and I really can't think of a good reason > to make something like that a configuration option. Is there anything > (legal) one can do with 'c <a@b>' and not with 'a@b (c)'? I think that there was *some* advantage - but I forget which. JED? Sven
the two news From: formats (was Re: Different "From:" field in slrn.)
Author: Russell Schulz
Date: Wed, 04 Mar 1998 00:00
Date: Wed, 04 Mar 1998 00:00
37 lines
2259 bytes
2259 bytes
[ CC: poster inserted automatically due to Mail-Copies-To: header! ] m.ramsch@computer.org (Martin Ramsch) writes: >>> It looks hard-coded to me, and I really can't think of a good reason >>> to make something like that a configuration option. Is there anything >>> (legal) one can do with 'c <a@b>' and not with 'a@b (c)'? > > And you could use "c <a@b> (d)" of course to add a comment to the > latter form, too. not in news (as someone anonymous has already pointed out). with mail, you can get away with one of these but not the other: From: foo@example.com (Chris Q. Foo) From: Chris Q. Foo <foo@example.com> my new provider's mail server gave me (illegitimate) grief with From: Russell_Schulz@locutus.ofB.ORG (Russell Schulz) so I changed it to From: Russell Schulz <Russell_Schulz@locutus.ofB.ORG> (and since I use the same user agent for mail and news, I post that way too. anyone using mailed copies of posts needs to be aware of this also.) I have seen a ton of news with () and even <> inside the comment, which is strictly illegal. sigh. as for mail, the first example is legal, while the second requires " marks around the comment because of the special character `.'. -- Russell_Schulz@locutus.ofB.ORG Shad 86c
Re: Different "From:" field in slrn.
Author: Fluffy
Date: Wed, 04 Mar 1998 00:00
Date: Wed, 04 Mar 1998 00:00
25 lines
1815 bytes
1815 bytes
Martin Ramsch <m.ramsch@computer.org> wrote:
: Just off the cuff, AFAIK with "a@b (c)" the name c is only a comment
: that may be deleted while with "c <a@b>" the name c is actually part
: of the email address that should be preserved.
: And you could use "c <a@b> (d)" of course to add a comment to the
: latter form, too.
:
: Without digging further into the real (maybe RFC based :-) reasons I
: prefer "c <a@b>" as I feel it to be a more canonical form of email
: addresses.
Note that while () is a comment in the email standards, it's *not* a comment
in news but an explicitly defined name field (see RFC-1036, 2.1.1). In
news, the 'c <a@b> (d)' syntax is Not Allowed -- only this subset is okay:
a@b
a@b (c)
c <a@b>
Since 1036 doesn't allow embedded parens in the name field of any of those
forms, I'm still looking for a reason why one or the other might actually be
better (and legal) _in the context of news_.
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