Text body search in Mozilla

Bill Caroselli <qtps@earthlink.net> wrote:

Robert Krten <> nospam84@parse.com> > wrote:
Bill Caroselli <> qtps@earthlink.net> > wrote:
Hey Robert, I may have found a little bugglet in your newnews.
It doesn’t seam to like to collect data for qnx.public.qnx4.
Perhaps because it is both a parent directory of other directories

Huh. Works here > :slight_smile: > (you meant “qdn.public.qnx4”, right?)

OK. I feel like an ass. It was a typo.

D’oh! Been there, done that :slight_smile:

Cheers,
-RK


Robert Krten, PARSE Software Devices +1 613 599 8316.
Realtime Systems Architecture, Books, Video-based and Instructor-led
Training and Consulting at www.parse.com.
Email my initials at parse dot com.

Robert Krten <nospam84@parse.com> wrote:

That’s what I do. I have a copy of “newnews” which sucks down all new
news messages just like CNews used to do > :slight_smile: > Then I tar them up
and use tarfs > :slight_smile: > > :slight_smile:

I’ll post the newnews executable on my website in the free section…

Hi Rob

newnews is great!

Here’s a thought for two new newnews ideas.

  1. Ability to log into a news server with an ID and password
  2. Ability to “Yank” as tin does
    2a. If it would save any network traffic, Yank with a keyword would
    be nice. But if, as I suspect, you’d have to download all names
    anyway, I’d just as soon save the completed list once then to do
    several keyword searches.

Bill Caroselli <qtps@earthlink.net> wrote:

Robert Krten <> nospam84@parse.com> > wrote:

That’s what I do. I have a copy of “newnews” which sucks down all new
news messages just like CNews used to do > :slight_smile: > Then I tar them up
and use tarfs > :slight_smile: > > :slight_smile:

I’ll post the newnews executable on my website in the free section…

Hi Rob

newnews is great!

Here’s a thought for two new newnews ideas.

  1. Ability to log into a news server with an ID and password

Sure; that should be pretty easy (I think)…

  1. Ability to “Yank” as tin does
    2a. If it would save any network traffic, Yank with a keyword would
    be nice. But if, as I suspect, you’d have to download all names
    anyway, I’d just as soon save the completed list once then to do
    several keyword searches.

Newnews can already get just the headers for your easy grepping – I use
this to scan all the “forsale” newsgroups looking for items of interest.
However, it can’t (yet) “download all that match a pattern”. That would
get tricky, 'cuz you might want to do this multiple times, and that would
mean resetting the current article number in the active file…

Cheers,
-RK


Robert Krten, PARSE Software Devices +1 613 599 8316.
Realtime Systems Architecture, Books, Video-based and Instructor-led
Training and Consulting at www.parse.com.
Email my initials at parse dot com.

Robert Krten <nospam84@parse.com> wrote:

Bill Caroselli <> qtps@earthlink.net> > wrote:

Here’s a thought for two new newnews ideas.

  1. Ability to log into a news server with an ID and password

Sure; that should be pretty easy (I think)…

  1. Ability to “Yank” as tin does
    2a. If it would save any network traffic, Yank with a keyword would
    be nice. But if, as I suspect, you’d have to download all names
    anyway, I’d just as soon save the completed list once then to do
    several keyword searches.

Newnews can already get just the headers for your easy grepping – I use
this to scan all the “forsale” newsgroups looking for items of interest.
However, it can’t (yet) “download all that match a pattern”. That would
get tricky, 'cuz you might want to do this multiple times, and that would
mean resetting the current article number in the active file…

OK. Then I’m missing soemthing. How to I get all of the news groups
that a server has to offer?

I.E. If I access a news server I’ve never accessed before in tin I
can type:

tin
‘y’

and see all the news groups that I am NOT yet subscribed to.

I’d like to do the same with newnews and save that to a file.

Bill Caroselli <qtps@earthlink.net> wrote:

Robert Krten <> nospam84@parse.com> > wrote:
Bill Caroselli <> qtps@earthlink.net> > wrote:

Here’s a thought for two new newnews ideas.

  1. Ability to log into a news server with an ID and password

Sure; that should be pretty easy (I think)…

  1. Ability to “Yank” as tin does
    2a. If it would save any network traffic, Yank with a keyword would
    be nice. But if, as I suspect, you’d have to download all names
    anyway, I’d just as soon save the completed list once then to do
    several keyword searches.

Newnews can already get just the headers for your easy grepping – I use
this to scan all the “forsale” newsgroups looking for items of interest.
However, it can’t (yet) “download all that match a pattern”. That would
get tricky, 'cuz you might want to do this multiple times, and that would
mean resetting the current article number in the active file…

OK. Then I’m missing soemthing. How to I get all of the news groups
that a server has to offer?

I.E. If I access a news server I’ve never accessed before in tin I
can type:

tin
‘y’

and see all the news groups that I am NOT yet subscribed to.

I’d like to do the same with newnews and save that to a file.

Oh THAT yank . I wrote an expect script (below), or you can
simply telnet to the newserver’s NNTP port and do a LIST ACTIVE.

Cheers,
-RK

#!/usr/local/bin/expect –

spawn telnet news.magma.ca nntp
expect “200” {}
send “\035”
expect “telnet>” {}
send “mode line\n”
send “\035”
expect “telnet>” {}
send “set crlf\n”
expect “Will send carriage returns as telnet .” {}
set timeout -1
send “\n\rlist active\n\r”
expect -re “[^\r]*\.\r\n” {}
send “quit\n”
close
wait

\

Robert Krten, PARSE Software Devices +1 613 599 8316.
Realtime Systems Architecture, Books, Video-based and Instructor-led
Training and Consulting at www.parse.com.
Email my initials at parse dot com.

Robert Krten <nospam84@parse.com> wrote:

Oh THAT yank . I wrote an expect script (below), or you can
simply telnet to the newserver’s NNTP port and do a LIST ACTIVE.

#!/usr/local/bin/expect –

spawn telnet news.magma.ca nntp
expect “200” {}
send “\035”
expect “telnet>” {}
send “mode line\n”
send “\035”
expect “telnet>” {}
send “set crlf\n”
expect “Will send carriage returns as telnet .” {}
set timeout -1
send “\n\rlist active\n\r”
expect -re “[^\r]*\.\r\n” {}
send “quit\n”
close
wait

Hey, this is cool.

Where did ‘expect’ come from? I don’t have one, not can I find it on
the 3rd party cd. But I was able to do the same thing by typing into
a telnet session.

Bill Caroselli <qtps@earthlink.net> wrote:

Robert Krten <> nospam84@parse.com> > wrote:

Oh THAT yank . I wrote an expect script (below), or you can
simply telnet to the newserver’s NNTP port and do a LIST ACTIVE.

#!/usr/local/bin/expect –

spawn telnet news.magma.ca nntp
expect “200” {}
send “\035”
expect “telnet>” {}
send “mode line\n”
send “\035”
expect “telnet>” {}
send “set crlf\n”
expect “Will send carriage returns as telnet .” {}
set timeout -1
send “\n\rlist active\n\r”
expect -re “[^\r]*\.\r\n” {}
send “quit\n”
close
wait

Hey, this is cool.

QNX 4 utility; dunno where I got it…

Where did ‘expect’ come from? I don’t have one, not can I find it on
the 3rd party cd. But I was able to do the same thing by typing into

Yup. The Power of ASCII Protocols!

Cheers,
-RK

a telnet session.


Robert Krten, PARSE Software Devices +1 613 599 8316.
Realtime Systems Architecture, Books, Video-based and Instructor-led
Training and Consulting at www.parse.com.
Email my initials at parse dot com.