🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #86118

Re: How to get pan 0.139 on Linux to put quotes around the name

#86118
From: Michael Baeuerle
Date: Sat, 23 Aug 2014 09:49
45 lines
2451 bytes
Nduka Okafor wrote:
> 
> I simply want the name to show up as:
>  "Nduka Okafor"
> Insted of as:
>   Nduka Okafor
> 
> But, I can't get Pan 0.139 to insert the quotes.
> 
> Of course, I tried typing quotes ("), but they are ignored.
> Then I tried double quotes (""), but they're also ignored.
> I tried editing the ~/.pan2/posting.xml text file, but, even
> with literal quotes, Pan still doesn't put quotes around
> my name in this message.
> 
>     <profile name="foo">
>       <username>&quot;Nduka Okafor&quot;</username>
>       <address>NdukaOkafor@is.invalid</address>
>       <server>nntp</server>
>       <xface></xface>
>       <attribution>%n wrote, on %d:</attribution>
>     </profile>
> 
> What's the trick to get Pan to put quotes in the name?

I don't know whether pan can do what you want, but the reason for the
described behaviour is maybe the format of e-mail mailboxes according to
RFC5322:
http://tools.ietf.org/html/rfc5322#section-3.4
The display name is specified as "phrase":
http://tools.ietf.org/html/rfc5322#section-3.2.5
that itself can be an "atom" or a "quoted string".

Maybe all quotes are simply filtered out because pan can't handle them
in a safe way. Example:

   this:is"not_an_atom
   "this:is"not_an_atom"

Both strings are not a valid phrase. But this would be valid:

   "this:is not_an_atom"


[Fup2 set on news.software.nntp]
Technical Details
Message-ID: <AABT+GOsyBEAAEd8.A1.flnews@WStation4.micha.freeshell.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <lt96qa$v78$1@solani.org>

Show Full Headers
Complete Article Headers
Message-ID: <AABT+GOsyBEAAEd8.A1.flnews@WStation4.micha.freeshell.org>
Subject: Re: How to get pan 0.139 on Linux to put quotes around the name
Date: Sat, 23 Aug 2014 09:49:32 +0000
From: Michael Baeuerle <michael.baeuerle@gmx.net>
References: <lt96qa$v78$1@solani.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.nntp,alt.free.newsservers
Followup-To: news.software.nntp
Lines: 45
Mime-Version: 1.0
X-Trace: individual.net MdRSkmsjSWhAaFZ4rLP+agxBXVlP56rzMMCz0rnhkKKwdGaz/V
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:JGjrLzukgQ2SQO4xcJXBTLFBfQ0=
Injection-Date: 23 Aug 2014 09:49:32 -0000
User-Agent: flnews/0.9pre17 (for AIX)