🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
17 messages
17 total messages Started by frank Tue, 03 Nov 2009 17:35
[pan] finding the scoring
#237887
Author: frank
Date: Tue, 03 Nov 2009 17:35
12 lines
1368 bytes
Pan has worked for me really well as I get my new ubuntu partition 
configured.  As I continue to use it, I find myself wanting to get the 
functionality that I once had with dialog.  In dialog, I could access 
whatever scoring there was from a pull-down.  I see no such feature with 
pan.  Now that I've been newsreading again for a while, my bozo bin needs 
some attention.  I can't even find it!  I can add a scoring a rule, but I 
can't see the whole thing.

Thanks for your comment.
-- 
frank
Re: [pan] finding the scoring
#237889
Author: Mike Dee
Date: Tue, 03 Nov 2009 23:11
28 lines
2615 bytes
frank wrote:

> Pan has worked for me really well as I get my new ubuntu partition
> configured.  As I continue to use it, I find myself wanting to get
> the functionality that I once had with dialog.  In dialog, I could
> access whatever scoring there was from a pull-down.  I see no such
> feature with pan.  Now that I've been newsreading again for a
> while, my bozo bin needs some attention.  I can't even find it!  I
> can add a scoring a rule, but I can't see the whole thing.
> 
> Thanks for your comment.

Pan has been dumbed down considerably over the past few years. I 
don't know why the authors thought that making it impossible to edit 
your score file from within Pan was a good idea.

Either go back to an earlier 0.14.2x version of Pan for *full* 
control over your score file from within Pan, or edit the pan score 
file by hand using a plain text editor. On *nix systems this is 
usually named "Score" located in your user home directory as 
~/News/Score

The scoring follows a syntax similar to slrn and Xnews's scoring, 
less like Dialog's in appearance, but will amount to the same results 
in use.

-- 
dee
Re: [pan] finding the scoring
#237908
Author: frank
Date: Wed, 04 Nov 2009 18:25
57 lines
3384 bytes
On Tue, 03 Nov 2009 23:11:42 +0000, Mike Dee wrote:

> frank wrote:
> 
>> Pan has worked for me really well as I get my new ubuntu partition
>> configured.  As I continue to use it, I find myself wanting to get the
>> functionality that I once had with dialog.  In dialog, I could access
>> whatever scoring there was from a pull-down.  I see no such feature
>> with pan.  Now that I've been newsreading again for a while, my bozo
>> bin needs some attention.  I can't even find it!  I can add a scoring a
>> rule, but I can't see the whole thing.
>> 
>> Thanks for your comment.
> 
> Pan has been dumbed down considerably over the past few years. I don't
> know why the authors thought that making it impossible to edit your
> score file from within Pan was a good idea.
> 
> Either go back to an earlier 0.14.2x version of Pan for *full* control
> over your score file from within Pan, or edit the pan score file by hand
> using a plain text editor. On *nix systems this is usually named "Score"
> located in your user home directory as ~/News/Score
> 
> The scoring follows a syntax similar to slrn and Xnews's scoring, less
> like Dialog's in appearance, but will amount to the same results in use.

[x-posted to alt.os.linux.ubuntu]

Thx, Mike.  I think we're on the right track here, but I need a little 
more elbow grease than what I can muster myself.

Neither the search for news nor score turns up anything.  The search is 
not case-sensitive.  What looks like it might be something is my failed 
attempt to install leafnode, therefore, nothing to do with pan.  
Screenshot here:

http://i33.tinypic.com/sbq8ph.png

I thought poking around in the terminal might help:

dan@dan-desktop:~$ whereis pan
pan: /usr/bin/pan /usr/share/man/man1/pan.1.gz
dan@dan-desktop:~$ whereis news
news: /etc/news
dan@dan-desktop:~$ 

These were dead ends.  There would be two other things that a person 
might do that are currently beyond my game:

1)  Search for files installed within the last month.
2)  Killfile someone with a unique-looking name and do a search for the 
string in the files.  Presumably, I could reverse the killfiling when I 
find the file.

Ideas?
-- 
frank
Re: [pan] finding the scoring
#237910
Author: Roland Latour
Date: Wed, 04 Nov 2009 18:44
13 lines
2546 bytes
On Wed, 04 Nov 2009 18:25:41 +0000, frank wrote:

> On Tue, 03 Nov 2009 23:11:42 +0000, Mike Dee wrote:
>> 
>> Either go back to an earlier 0.14.2x version of Pan for *full* control
>> over your score file from within Pan, or edit the pan score file by
>> hand using a plain text editor. On *nix systems this is usually named
>> "Score" located in your user home directory as ~/News/Score

I'm using pan 0.132, and it's in ~/.pan2 for me.
Most programs keep their config info in $HOME in some dot-file or
dot-directory. Try 'ls -a ~'.
Re: [pan] finding the scoring
#237911
Author: frank
Date: Wed, 04 Nov 2009 19:38
27 lines
2181 bytes
On Wed, 04 Nov 2009 12:44:17 -0600, Roland Latour wrote:

> On Wed, 04 Nov 2009 18:25:41 +0000, frank wrote:
> 
>> On Tue, 03 Nov 2009 23:11:42 +0000, Mike Dee wrote:
>>> 
>>> Either go back to an earlier 0.14.2x version of Pan for *full* control
>>> over your score file from within Pan, or edit the pan score file by
>>> hand using a plain text editor. On *nix systems this is usually named
>>> "Score" located in your user home directory as ~/News/Score
> 
> I'm using pan 0.132, and it's in ~/.pan2 for me. Most programs keep
> their config info in $HOME in some dot-file or dot-directory. Try 'ls -a
> ~'.

Alright, Roland, I think we're in hot pursuit right now, but I can't wrap 
my hands around it yet.  If I understand your command correctly, it says, 
"show me everything that begins with a dot."  .pan2 is listed.

**But** I go to a regular search for pan2, and I get nothing that I could 
click on and fire up with the text editor.  Screenshot here:

http://i35.tinypic.com/2s12gja.png

What, besides linux skills, am I missing?
-- 
frank
Re: [pan] finding the scoring
#237912
Author: Steve Ackman
Date: Wed, 04 Nov 2009 20:05
38 lines
2789 bytes
In <7ldv95F3b7kuhU2@mid.individual.net>, on 4 Nov 2009 18:25:41 GMT, 
frank, frank@example.invalid wrote:

> I thought poking around in the terminal might help:
>
> dan@dan-desktop:~$ whereis pan
> pan: /usr/bin/pan /usr/share/man/man1/pan.1.gz
> dan@dan-desktop:~$ whereis news
> news: /etc/news
> dan@dan-desktop:~$ 
>
> These were dead ends.  There would be two other things that a person 
> might do that are currently beyond my game:

$ man whereis
whereis  -  locate the binary, source, and manual page files for a command

contrast with 

$ man locate 
locate - find files by name


> 1)  Search for files installed within the last month.
> 2)  Killfile someone with a unique-looking name and do a search for the 
> string in the files.  Presumably, I could reverse the killfiling when I 
> find the file.
>
> Ideas?

  Use locate instead of whereis for any files other than
executable, source, or man pages.

-- 
☯☯ 
Unlimited webspace - Unlimited bandwidth
http://www.dreamhost.com/r.cgi?74713
Re: [pan] finding the scoring
#237914
Author: yowie
Date: Wed, 04 Nov 2009 20:20
60 lines
3570 bytes
On Wed, 04 Nov 2009 18:25:41 +0000, frank wrote:

> On Tue, 03 Nov 2009 23:11:42 +0000, Mike Dee wrote:
> 
>> frank wrote:
>> 
>>> Pan has worked for me really well as I get my new ubuntu partition
>>> configured.  As I continue to use it, I find myself wanting to get the
>>> functionality that I once had with dialog.  In dialog, I could access
>>> whatever scoring there was from a pull-down.  I see no such feature
>>> with pan.  Now that I've been newsreading again for a while, my bozo
>>> bin needs some attention.  I can't even find it!  I can add a scoring
>>> a rule, but I can't see the whole thing.
>>> 
>>> Thanks for your comment.
>> 
>> Pan has been dumbed down considerably over the past few years. I don't
>> know why the authors thought that making it impossible to edit your
>> score file from within Pan was a good idea.
>> 
>> Either go back to an earlier 0.14.2x version of Pan for *full* control
>> over your score file from within Pan, or edit the pan score file by
>> hand using a plain text editor. On *nix systems this is usually named
>> "Score" located in your user home directory as ~/News/Score
>> 
>> The scoring follows a syntax similar to slrn and Xnews's scoring, less
>> like Dialog's in appearance, but will amount to the same results in
>> use.
> 
> [x-posted to alt.os.linux.ubuntu]
> 
> Thx, Mike.  I think we're on the right track here, but I need a little
> more elbow grease than what I can muster myself.
> 
> Neither the search for news nor score turns up anything.  The search is
> not case-sensitive.  What looks like it might be something is my failed
> attempt to install leafnode, therefore, nothing to do with pan.
> Screenshot here:
> 
> http://i33.tinypic.com/sbq8ph.png
> 
> I thought poking around in the terminal might help:
> 
> dan@dan-desktop:~$ whereis pan
> pan: /usr/bin/pan /usr/share/man/man1/pan.1.gz dan@dan-desktop:~$
> whereis news
> news: /etc/news
> dan@dan-desktop:~$
> 
> These were dead ends.  There would be two other things that a person
> might do that are currently beyond my game:
> 
> 1)  Search for files installed within the last month. 2)  Killfile
> someone with a unique-looking name and do a search for the string in the
> files.  Presumably, I could reverse the killfiling when I find the file.
> 
> Ideas?

gedit ~/.pan2/Score
Re: [pan] finding the scoring
#237915
Author: yowie
Date: Wed, 04 Nov 2009 20:54
44 lines
2685 bytes
On Wed, 04 Nov 2009 19:38:44 +0000, frank wrote:

> On Wed, 04 Nov 2009 12:44:17 -0600, Roland Latour wrote:
> 
>> On Wed, 04 Nov 2009 18:25:41 +0000, frank wrote:
>> 
>>> On Tue, 03 Nov 2009 23:11:42 +0000, Mike Dee wrote:
>>>> 
>>>> Either go back to an earlier 0.14.2x version of Pan for *full*
>>>> control over your score file from within Pan, or edit the pan score
>>>> file by hand using a plain text editor. On *nix systems this is
>>>> usually named "Score" located in your user home directory as
>>>> ~/News/Score
>> 
>> I'm using pan 0.132, and it's in ~/.pan2 for me. Most programs keep
>> their config info in $HOME in some dot-file or dot-directory. Try 'ls
>> -a ~'.
> 
> Alright, Roland, I think we're in hot pursuit right now, but I can't
> wrap my hands around it yet.  If I understand your command correctly, it
> says, "show me everything that begins with a dot."  .pan2 is listed.
> 
> **But** I go to a regular search for pan2, and I get nothing that I
> could click on and fire up with the text editor.  Screenshot here:
> 
> http://i35.tinypic.com/2s12gja.png
> 
> What, besides linux skills, am I missing?

A worked example:

yowie@thepub:~$ sudo updatedb
[sudo] password for yowie: 

yowie@thepub:~$ locate Score
/home/yowie/.pan2/Score

[more results cut]

You may need to install 'slocate'

sudo apt-get install slocate

Re: [pan] finding the scoring
#237917
Author: pbj
Date: Wed, 04 Nov 2009 21:58
60 lines
4074 bytes
On Wed, 04 Nov 2009 18:25:41 +0000, frank wrote:

> On Tue, 03 Nov 2009 23:11:42 +0000, Mike Dee wrote:
> 
>> frank wrote:
>> 
>>> Pan has worked for me really well as I get my new ubuntu partition
>>> configured.  As I continue to use it, I find myself wanting to get the
>>> functionality that I once had with dialog.  In dialog, I could access
>>> whatever scoring there was from a pull-down.  I see no such feature
>>> with pan.  Now that I've been newsreading again for a while, my bozo
>>> bin needs some attention.  I can't even find it!  I can add a scoring
>>> a rule, but I can't see the whole thing.
>>> 
>>> Thanks for your comment.
>> 
>> Pan has been dumbed down considerably over the past few years. I don't
>> know why the authors thought that making it impossible to edit your
>> score file from within Pan was a good idea.
>> 
>> Either go back to an earlier 0.14.2x version of Pan for *full* control
>> over your score file from within Pan, or edit the pan score file by
>> hand using a plain text editor. On *nix systems this is usually named
>> "Score" located in your user home directory as ~/News/Score
>> 
>> The scoring follows a syntax similar to slrn and Xnews's scoring, less
>> like Dialog's in appearance, but will amount to the same results in
>> use.
> 
> [x-posted to alt.os.linux.ubuntu]
> 
> Thx, Mike.  I think we're on the right track here, but I need a little
> more elbow grease than what I can muster myself.
> 
> Neither the search for news nor score turns up anything.  The search is
> not case-sensitive.  What looks like it might be something is my failed
> attempt to install leafnode, therefore, nothing to do with pan.
> Screenshot here:
> 
> http://i33.tinypic.com/sbq8ph.png
> 
> I thought poking around in the terminal might help:
> 
> dan@dan-desktop:~$ whereis pan
> pan: /usr/bin/pan /usr/share/man/man1/pan.1.gz dan@dan-desktop:~$
> whereis news
> news: /etc/news
> dan@dan-desktop:~$
> 
> These were dead ends.  There would be two other things that a person
> might do that are currently beyond my game:
> 
> 1)  Search for files installed within the last month. 2)  Killfile
> someone with a unique-looking name and do a search for the string in the
> files.  Presumably, I could reverse the killfiling when I find the file.
> 
> Ideas?

Don't know about other versions, but for pan .133 the scorefile is
~/.pan2/Score
Re: [pan] finding the scoring
#237916
Author: SINNER
Date: Wed, 04 Nov 2009 21:58
49 lines
3318 bytes
* frank wrote in alt.os.linux.ubuntu:

> On Wed, 04 Nov 2009 12:44:17 -0600, Roland Latour wrote:
> 
>> On Wed, 04 Nov 2009 18:25:41 +0000, frank wrote:
>> 
>>> On Tue, 03 Nov 2009 23:11:42 +0000, Mike Dee wrote:
>>>> 
>>>> Either go back to an earlier 0.14.2x version of Pan for *full*
>>>> control over your score file from within Pan, or edit the pan score
>>>> file by hand using a plain text editor. On *nix systems this is
>>>> usually named "Score" located in your user home directory as
>>>> ~/News/Score 
>> 
>> I'm using pan 0.132, and it's in ~/.pan2 for me. Most programs keep
>> their config info in $HOME in some dot-file or dot-directory. Try 'ls
>> -a ~'.
> 
> Alright, Roland, I think we're in hot pursuit right now, but I can't
> wrap my hands around it yet.  If I understand your command correctly,
> it says, "show me everything that begins with a dot."  .pan2 is
> listed. 
> 
> **But** I go to a regular search for pan2, and I get nothing that I
> could click on and fire up with the text editor.  Screenshot here:
> 
> http://i35.tinypic.com/2s12gja.png
> 
> What, besides linux skills, am I missing?

Frank,

Are you familiar with TAB Completeion under bash (your default shell)?

When you are at a prompt, if you type the first couple of letters and hit 
TAB you will be presented with choices that match your 'query' In your 
example you started in the desktop directory if you do the following:

gedit ~/.p<TAB> 

you will see that .pan2 is the only availble choice and you should be 
able to hit enter at the result and the file will open in gedit.

Tab completeion works on items in your path, so that is why I added the ~ 
(shortcut to your home directory) if you had tried it from the desktop 
directory (where the terminal started you) it would not have found .pan2 
without the tilde.
-- 
David
Re: [pan] finding the scoring
#237919
Author: SINNER
Date: Wed, 04 Nov 2009 22:06
17 lines
1631 bytes
* SINNER wrote in alt.os.linux.ubuntu:

> gedit ~/.p<TAB> 

sorry left out some stuff ;)

gedit ~/.p<TAB>/S<TAB>

result will be

gedit ~/.pan2/Score

Now hit enter...

-- 
David 
Re: [pan] finding the scoring
#237918
Author: frank
Date: Wed, 04 Nov 2009 22:51
35 lines
1965 bytes
On Wed, 04 Nov 2009 20:54:55 +0000, yowie wrote:

> A worked example:
> 
> yowie@thepub:~$ sudo updatedb
> [sudo] password for yowie:
> 
> yowie@thepub:~$ locate Score
> /home/yowie/.pan2/Score
> 
> [more results cut]

dan@dan-desktop:~$ locate Score
/home/dan/.pan2/Score
/usr/lib/perl5/Gnome2/Score.pod
/usr/lib/perl5/Gnome2/Scores.pod
/usr/share/man/man3/Gnome2::Score.3pm.gz
/usr/share/man/man3/Gnome2::Scores.3pm.gz
/usr/share/zoneinfo/America/Scoresbysund
/usr/share/zoneinfo/posix/America/Scoresbysund
/usr/share/zoneinfo/right/America/Scoresbysund
dan@dan-desktop:~$ 

So there it is.  Why doesn't it show up in a regular search?

http://i34.tinypic.com/2qmzxut.png

> 
> You may need to install 'slocate'
> 
> sudo apt-get install slocate

Why would I install slocate?
-- 
frank
Re: [pan] finding the scoring
#237920
Author: frank
Date: Wed, 04 Nov 2009 22:55
32 lines
2098 bytes
On Wed, 04 Nov 2009 22:06:33 +0000, SINNER wrote:

> * SINNER wrote in alt.os.linux.ubuntu:
> 
>> gedit ~/.p<TAB>
> 
> sorry left out some stuff ;)
> 
> gedit ~/.p<TAB>/S<TAB>
> 
> result will be
> 
> gedit ~/.pan2/Score
> 
> Now hit enter...

dan@dan-desktop:~$ gedit ~/.p
.pan2/               .profile             .pulse-cookie
.printer-groups.xml  .pulse/              
dan@dan-desktop:~$ gedit ~/.pan2/
dan@dan-desktop:~$ gedit ~/.pan2/
accels.txt             newsgroups.xov         Score
article-cache/         newsgroups.ynm         servers.xml
group-preferences.xml  newsrc-1               tasks.nzb
groups/                posting.xml            
newsgroups.dsc         preferences.xml        
dan@dan-desktop:~$ gedit ~/.pan2/Score 
dan@dan-desktop:~$ 

I see how it goes.  Thx, that's a lot of keystrokes saved :)
-- 
/home/dan/sig1.txt
Re: [pan] finding the scoring
#237936
Author: yowie
Date: Fri, 06 Nov 2009 23:43
35 lines
2364 bytes
On Wed, 04 Nov 2009 22:51:39 +0000, frank wrote:

> On Wed, 04 Nov 2009 20:54:55 +0000, yowie wrote:
 
>> A worked example:
 
>> yowie@thepub:~$ sudo updatedb
>> [sudo] password for yowie:

>> yowie@thepub:~$ locate Score
>> /home/yowie/.pan2/Score
 
> dan@dan-desktop:~$ locate Score
> /home/dan/.pan2/Score

> So there it is.  Why doesn't it show up in a regular search?

Interesting question.  I've always used the command line search tools out 
of habit so I never noticed this...
Nautilus cant be made to show hidden files or directories (names 
beginning with '.') in it's search results.  It's a bug apparently.  An 
old one too.  Pretty crap effort from GNOME.

https://bugzilla.gnome.org/show_bug.cgi?id=437626

You can use 'Places -> Search for files' on the menu and add the show 
hidden files option.

Konqueror has a show hidden files in its search dialog and that also 
worked. 

> Why would I install slocate?

Sorry, you already have 'locate'.  It's installed by default now.
Re: [pan] finding the scoring
#237937
Author: andrew
Date: Sat, 07 Nov 2009 05:49
17 lines
1857 bytes
On 2009-11-04, frank <frank@example.invalid> wrote:

> Why would I install slocate?

If you are using Ubuntu you may be interested to know that a much more
powerful search utility is described on the community pages:

find - Ubuntu Community Documentation
https://help.ubuntu.com/community/find

It is time well spent even learning to use the most basic search using
some of the techniques described on this page. And if you disagree with
the page itself being a wiki you can modify it :).

Andrew
-- 
Do you think that's air you're breathing?
Re: [pan] finding the scoring
#237938
Author: Indi
Date: Sat, 07 Nov 2009 09:30
25 lines
2376 bytes
On 2009-11-07, andrew <andrew@skamandros.invalid> wrote:
>
> If you are using Ubuntu you may be interested to know that a much more
> powerful search utility is described on the community pages:
>
> find - Ubuntu Community Documentation
> https://help.ubuntu.com/community/find
>
> It is time well spent even learning to use the most basic search using
> some of the techniques described on this page. And if you disagree with
> the page itself being a wiki you can modify it :).
>

Heh, a few months ago some kid called me "the biggest idiot on
slashdot" because I mentioned the power of the humble find utility 
in a discussion about "desktop search". He said something about
dinosaurs and memorizing a gajillion comman arguments. LOL...
For basic search, I use "locate". For somewaht more advanced, "find". 
And of course for ultimate search, there's "grep". 
Those who think "anything but a GUI search box is for dinosaurs" will
probably waste a lot more time searching than it takes to master those three
little commands. :)

-- 
indi
Re: [pan] finding the scoring
#237957
Author: frank
Date: Mon, 09 Nov 2009 19:33
41 lines
3122 bytes
On Sat, 07 Nov 2009 09:30:55 +0000, Indi wrote:

> On 2009-11-07, andrew <andrew@skamandros.invalid> wrote:
>>
>> If you are using Ubuntu you may be interested to know that a much more
>> powerful search utility is described on the community pages:
>>
>> find - Ubuntu Community Documentation
>> https://help.ubuntu.com/community/find
>>
>> It is time well spent even learning to use the most basic search using
>> some of the techniques described on this page. And if you disagree with
>> the page itself being a wiki you can modify it :).
>>
>>
> Heh, a few months ago some kid called me "the biggest idiot on slashdot"
> because I mentioned the power of the humble find utility in a discussion
> about "desktop search". He said something about dinosaurs and memorizing
> a gajillion comman arguments. LOL... For basic search, I use "locate".
> For somewaht more advanced, "find". And of course for ultimate search,
> there's "grep". Those who think "anything but a GUI search box is for
> dinosaurs" will probably waste a lot more time searching than it takes
> to master those three little commands. :)

Thanks for the extended comment.  Now that I'm getting used to the 
saddle, I find that making keystrokes on a command line is much easier 
than doing what I would have done in xp.

Now. I use locate instead of firing up nautilus and performing a search.  
Furthermore, I've looked into the nooks and crannies of updatedb.  I can 
say off the top of my head that the resulting file from the command, 
ubdatedb.db, lies in the mlocate folder.

Still trying to get all the functionality out of tabbing too.  My 
sysadmin buddy walks around on my command line quicker than my eyes can 
follow.  I bookmarked that link to read when I can do so in repose.  
Cheers,
-- 
frank

"Guns: yes, they are harmful."
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