pan-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pan-users] Trying to use 'new' Pan


From: Duncan
Subject: Re: [Pan-users] Trying to use 'new' Pan
Date: Wed, 17 Apr 2013 20:32:20 +0000 (UTC)
User-agent: Pan/0.140 (Chocolate Salty Balls; GIT 0794297 /usr/src/portage/src/egit-src/pan2)

Maurice Batey posted on Wed, 17 Apr 2013 13:01:52 +0100 as excerpted:

> However, given that it doesn't, I would have been happy to provide it
> with a lookup table of groups v. servers, so it could do the lookup
> instead of me!

That's effectively what group-preferences.xml ultimately does (with a bit 
of indirection thru posting.xml and servers.xml), among other information 
it stores.  Excerpting this group from mine:

<group name="gmane.comp.gnome.apps.pan.user">
    <flag name='header-pane-sort-ascending' value='true'/>
    <int name='header-pane-sort-column' value='6'/>
    <string name='character-encoding' value='UTF-8'/>
    <string name='default-group-save-path' value='/h/x/News'/>
    <string name='posting-profile' value='lists'/>
    <string name='spellcheck-language' value=''/>
    <color name='group-color' value='#ffff00'/>
</group>

>From posting.xml (the one line wraps as posted, and of course gmane will 
probably obfuscate the email address for those reading it there):

<profile name="lists">
  <username>Duncan</username>
  <address>address@hidden</address>
  <server>1</server>
  <xface></xface>
  <signature-file active="true" type="file">/h/x/config/sigs/
lists.freedomware.txt</signature-file>
  <attribution>%n posted on %d as excerpted:</attribution>
</profile>

Then in servers.xml:

<server id="1">
  <host>news.gmane.org</host>
  <port>563</port>
  <username></username>
  <password></password>
  <expire-articles-n-days-old>0</expire-articles-n-days-old>
  <connection-limit>1</connection-limit>
  <newsrc>newsrc.gmane</newsrc>
  <rank>1</rank>
  <use-ssl>1</use-ssl>
  <trust>1</trust>
  <compression-type>0</compression-type>
  <cert></cert>
</server>

So group-preferences.xml says to use posting profile "lists" for group 
"gmane.comp.gnome.apps.pan.user", posting.xml in turn says profile 
"lists" posts to server "1", and finally, servers.xml maps server ID "1" 
to news.gmane.org, port 563, (using ssl but no header compression).

So now pan handles that lookup instead of me. =:^)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman




reply via email to

[Prev in Thread] Current Thread [Next in Thread]