🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #39224

Re: Different "From:" field in slrn.

#39224
From: Fluffy
Date: Sun, 01 Mar 1998 00:00
29 lines
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?

Technical Details
Message-ID: <slrn6fjlrg.j3o.world!flufster@world.std.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.mbox.zip!not-for-mail
References: <slrn6fjjjr.mi.mclare@maudlin.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrn6fjlrg.j3o.world!flufster@world.std.com>
Subject: Re: Different "From:" field in slrn.
Date: Sun, 01 Mar 1998 00:00:00 +0000
From: world!flufster@uunet.uu.net (Fluffy)
References: <slrn6fjjjr.mi.mclare@maudlin.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 329809497
Sender: flufster@world.std.com (Fluffy)
Organization: Ruler of All Usenet
Meow: Meow
Newsgroups: news.software.readers