🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.free.newsservers
2 messages
2 total messages Started by Nduka Okafor Sat, 23 Aug 2014 04:54
How to get pan 0.139 on Linux to put quotes around the name
#157393
Author: Nduka Okafor
Date: Sat, 23 Aug 2014 04:54
22 lines
2040 bytes
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?
Re: How to get pan 0.139 on Linux to put quotes around the name
#157394
Author: Michael Baeuerle
Date: Sat, 23 Aug 2014 09:49
45 lines
2526 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]
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