🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Joe Clock Wed, 17 Feb 2016 13:21
How to suppress Pan/0.139 (Sexual Chocolate) User Agent header on Windows
#260155
Author: Joe Clock
Date: Wed, 17 Feb 2016 13:21
20 lines
1764 bytes
Pan 0.139 Windows removing User-Agent: Pan/0.139 (Sexual Chocolate)

I simply want Pan 0.139 on Windows to NOT advertise its User Agent in "my" 
headers. 

Googling I found on linux there is ~/.pan2/preferences.xml setting
<flag name='add-user-agent-header-when-posting' value='false'/>

But where is that setting on Windows?

1. That preferences.xml file doesn't exist on Windows (as far as I can see 
anyway in the Pan installation directory.
2. When I compose this post, there is a "More Headers" tab in between the 
   "Message" tab and "File Queue" tab, where I can manually uncheck
   "Add User-Agent Header" every single time I post.
3. However, I just did that, and I *still* get a User-Agent header!
4. And, even if it did work, who wants to uncheck a checkbox EVERY SINGLE 
TIME they post?

So, how, on Pan 0.139, on Windows, do we suppress the User Agent Header?
Re: How to suppress Pan/0.139 (Sexual Chocolate) User Agent header on Windows
#260157
Author: Mike Yetto
Date: Thu, 18 Feb 2016 00:23
31 lines
2505 bytes
So it is writ, so mote it be....
Joe Clock <jclock@aioe.org>:
> Pan 0.139 Windows removing User-Agent: Pan/0.139 (Sexual Chocolate)

> I simply want Pan 0.139 on Windows to NOT advertise its User Agent in "my" 
> headers. 

> Googling I found on linux there is ~/.pan2/preferences.xml setting
> <flag name='add-user-agent-header-when-posting' value='false'/>

> But where is that setting on Windows?

> 1. That preferences.xml file doesn't exist on Windows (as far as I can see 
> anyway in the Pan installation directory.
> 2. When I compose this post, there is a "More Headers" tab in between the 
>    "Message" tab and "File Queue" tab, where I can manually uncheck
>    "Add User-Agent Header" every single time I post.
> 3. However, I just did that, and I *still* get a User-Agent header!
> 4. And, even if it did work, who wants to uncheck a checkbox EVERY SINGLE 
> TIME they post?

> So, how, on Pan 0.139, on Windows, do we suppress the User Agent Header?

Aren't configuration variables that are kept in local files with
Linux are usually found in the Windows registry?

Mike "Windows does still use the registry, doesn't it?" Yetto
-- 
"For every complex problem there is an answer that is clear, simple and
wrong."
 - H.L. Mencken
Re: How to suppress Pan/0.139 (Sexual Chocolate) User Agent header on Windows
#260156
Author: Joe Dixon
Date: Thu, 18 Feb 2016 02:57
29 lines
2349 bytes
On 2016-02-17, Joe Clock <jclock@aioe.org> wrote:
> Pan 0.139 Windows removing User-Agent: Pan/0.139 (Sexual Chocolate)
>
> I simply want Pan 0.139 on Windows to NOT advertise its User Agent in "my" 
> headers. 
>
> Googling I found on linux there is ~/.pan2/preferences.xml setting
><flag name='add-user-agent-header-when-posting' value='false'/>
>
> But where is that setting on Windows?
>
> 1. That preferences.xml file doesn't exist on Windows (as far as I can see 
> anyway in the Pan installation directory.
> 2. When I compose this post, there is a "More Headers" tab in between the 
>    "Message" tab and "File Queue" tab, where I can manually uncheck
>    "Add User-Agent Header" every single time I post.
> 3. However, I just did that, and I *still* get a User-Agent header!
> 4. And, even if it did work, who wants to uncheck a checkbox EVERY SINGLE 
> TIME they post?
>
> So, how, on Pan 0.139, on Windows, do we suppress the User Agent Header?

Depending on what version of windows you are using check appdata
or application data folders for a PAN folder. The settings file
is in that folder. 
You will find the folders in /User/USERNAME
or in Documents and Settings . These folders are hidden so
you neeed to go into explorer and set it up in Folder Options
to display hidden files and folders. 
Re: How to suppress Pan/0.139 (Sexual Chocolate) User Agent header on Windows
#260191
Author: Joe Clock
Date: Tue, 22 Mar 2016 15:07
19 lines
1643 bytes
On Thu, 18 Feb 2016 02:57:06 +0000, Joe Dixon wrote:

> Depending on what version of windows you are using check appdata
> or application data folders for a PAN folder. The settings file
> is in that folder. 
> You will find the folders in /User/USERNAME
> or in Documents and Settings . These folders are hidden so
> you neeed to go into explorer and set it up in Folder Options
> to display hidden files and folders.

That was the problem! 
Thanks.

The file is a text file, but it's in a hidden directory!
That's why I couldn't find it!

And, it's not in the Pan installation directory, but, as you said, 
in C:\Documents and Settings\USER\.pan2\preferences.xml
<flag name='add-user-agent-header-when-posting' value='false'/
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