Text body search in Mozilla

Bill,

tin is realy the wrong fallback solution for a working news reader.
When I’m writing this … I’m using the new reader of the Mozilla
version of Frank Liu … it works flawless!!

So don’t waste your time with ‘tin’ …

Cheers

Armin


Bill Caroselli wrote:

OK. I’m trying to use tin. I like tin. It is working very well (so
far) when I’m accessing the news data base at QNX:
tin -g inn.qnx.com

What I would really love to do is to keep a local copy of the message
data base on my own computer. (It makes searches MUCH faster.) It also
allows other users at my site to access the messages locally. So . . .

I tried:
tin -S -g inn.qnx.com
and learned that I need to first access remotely and yank the groups. I
did that. But now, when I try to download the messaegs it ends with:

$ tin -S -g inn.qnx.com
Reading config file…
inn.qnx.com InterNetNews NNRP server INN 2.2.2 13-Dec-1999 ready
(posting ok).
sh: /usr/lib/sendmail: not found
Command failed: /usr/lib/sendmail -t < /home/bill/.tin/log
Command failed: /usr/lib/sendmail -t < /home/bill/.tin/lognewsrc file
saved successfully.
Disconnecting from server…
$

Also, I tried to do a test post and got this result:

Error: Bad address in From: header.
Invalid domain. Send bug report if your top level domain really exists.
Use .invalid as top level domain for munged addresses.
Article to be posted resulted in errors/warnings. q)uit, M)enu, e)dit: q

The From: header reads:
From: Bill Caroselli <> bill@localhost.localdomain

I I have sendmail installed, but not configured.

What is the next thing I must do?



Chris McKillop wrote:


I just use tin in “rtin” mode to access remote NNTP servers. Works like
a dream. I then setup scripts to muck with the NNTP_SERVER env. variable
and point tin to a different newsrc for each news server that I use.
For example:

–cdm@bigbox–> cat rtin.j9
export NNTPSERVER=news.software.ibm.com
rtin -f ~/.ibm.newsrc

chris

Chris McKillop wrote:

tin is realy the wrong fallback solution for a working news reader.
When I’m writing this … I’m using the new reader of the Mozilla
version of Frank Liu … it works flawless!!



Mozilla’s news reader is horrid (QNX, Windows, X11, doesn’t matter). News
and Mail in Mozilla are not well done applications.

OK … but it is much better than tin :slight_smile:

chris

PS - Oddly enough, the Mozilla I am using, the mozcdm QPR, works without
issue! As it does for the other 1000 people that have downloaded my 1.2.1
QPR from my site.

Hm, just to be fair … I’m gave up with mozcdm 1.1.0 and switched to
the version from Frank which was probably Photon version 1.2.1.

Cheers

Armin

OK … but it is much better than tin > :slight_smile:

hahaha…to each thier own! :slight_smile: I personally prefeer tin and mutt over the
news and mail in Mozilla. Although I do like Outlook Express as a very
fast and simple mail/news client.


Hm, just to be fair … I’m gave up with mozcdm 1.1.0 and switched to
the version from Frank which was probably Photon version 1.2.1.

Well, with 1.1.0 I was not using the patches from Julian that Frank was
using. With 1.2.1 Frank and I are using the same source base.

chris


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

Armin <a-steinhoff@web.de> wrote:

Robert Krten wrote:
Armin <> a-steinhoff@web.de> > wrote:

Robert Krten wrote:

Armin <> a-steinhoff@web.de> > wrote:


[ clip …]

[bigger clip > :slight_smile:> ]

And with the tarfs from Rob … it’s just copy and paste to install it > :slight_smile:

Does that mean that you’re actually using it?


Yes … I’m just trying to use it.


Any grief?


I mad some changes in the Makefile:

  • added CC=qcc
  • changed cc → qcc


    Why?

… it’s just a good practise to compile with the qcc front end.



There seems to be some problems with absolute archives (contains files
with there absolute path) … mounting fails with error 20 (Not a
directory).


Are you using the mount helper (mount_tarfs) directly? If not, are
you using it implicitly (by having it in your path)?

I installed tarfs and mount_tarfs in /usr/local/bin.

I also used mount_tarfs with tarfs and mount_tarfs installed in the
working directory …but no differences in the result.

I’ll try and
take a quick poke around tonight, but if you’re bored > :slight_smile: > check out
m_main.c and c_mount.c – turn on massive debug mode by:

tarfs -ddvv

and see what the data fields are… Also, if you are using the mount_tarfs
helper, invoke it with -vv, or patch “optv = 2” somewhere after the
switch/case for the option processing so that you can see what the
mount_tarfs guy is thinking…

Unless I misunderstood, and you are talking about .tar files that
containt absolute paths – that has never been tested > :slight_smile: > In which
case tarfs.c is the place to look > :slight_smile: > I’ll take a look at that too.

Sure, I will look into the details of this very interesting piece of
software if there is time left. But …

Armin, I was unable to reproduce the problem. I tried a QNX-4 tar file
(because QNX 4 allows you to put in pathnames that start with “/”, QNX 6
strips them off :slight_smile:) and it correctly mounted the tarfile; both with the
tarfile was mounted relative to the current directory and when it was
mounted absolutely.

Huh.

Can you run “tarfs -ddvv” and send me the output via email, and possible
the .tar file as well? I’ll take a look into it…

Thanks,
-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.

Chris McKillop wrote:

OK … but it is much better than tin > :slight_smile:



hahaha…to each thier own! > :slight_smile: > I personally prefeer tin and mutt over the
news and mail in Mozilla. Although I do like Outlook Express as a very
fast and simple mail/news client.

Oh yes … it’s the fastest and simplest way to catch viruses :slight_smile:

Armin

hahaha…to each thier own! > :slight_smile: > I personally prefeer tin and mutt over the
news and mail in Mozilla. Although I do like Outlook Express as a very
fast and simple mail/news client.

Oh yes … it’s the fastest and simplest way to catch viruses > :slight_smile:

People say that but in the 1.5 years I used it I never once got a virus.
Pretty easy to tell it not to do things (OE is a lot different from Outlook
as well).

chris


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

Robert Krten 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…

Cheers,
-RK

I downloaded newnews. It worked great. Thanks.

How do I set up tin to read this local copy?


Bill Caroselli
Q-TPS Consulting
(626) 824-7983

Bill Caroselli <qtps@earthlink.net> wrote:

Robert Krten 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…

Cheers,
-RK

I downloaded newnews. It worked great. Thanks.

How do I set up tin to read this local copy?

I have no idea. I know that I tried to do this a while ago,
but found I had to recompile it to have the local-usr-spool-file
support compiled in. Then, it wouldn’t read the /var/spool/news
directory anyway. I gave up on it. Now I use tin with NNTP to get
new news manually (i.e., to read news in the normal manner,
like I’m doing now), and then use the archive mainted by newnews
(tar’d and gzip’d) for greps and references…

If anyone figures out how to convince “tin” to read the local
news file directory, that would be great information to share!!

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 wrote:

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

OK. I’m trying to use tin. I like tin. It is working very well (so
far) when I’m accessing the news data base at QNX:
tin -g inn.qnx.com


What I would really love to do is to keep a local copy of the message
data base on my own computer. (It makes searches MUCH faster.) It also
allows other users at my site to access the messages locally. So . . .


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…

Cheers,
-RK

This would be funny if it weren’t taking me so long to accomplish.

So, newnews works great. And I get it that you are using
tin -g inn.qnx.com
to keep up on reading new articles. That’s working for me too.

But I am still unable to post using tin. What is the magic that I’m
missing?


Bill Caroselli
Q-TPS Consulting
(626) 824-7983

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

Make sure you f or w in tin and not r. r is to reply via email.

chris


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

Chris McKillop wrote:

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



Make sure you f or w in tin and not r. r is to reply via email.

chris

I have tried both f (followup) and w (write new). Both fail for the

same reasons.

Here’s what I have tried so far.

I had to define an EDITOR enviornment variable to get any editor to
load. This is now successful.

If I w (or f, it doesn’t matter which) I get my editor with the
prefilled out header. The From: line looks like this:
From: Bill Caroselli <bill@localhost.localdomain>

I don’t know how it knows my name is Bill Caroselli, but if I type
something, save it and exit, it comes back with:
Error: Bad address in From: header.
Invalid domain. Send bug report if your top level domain really exists.
Use .invalid as top level domain for munged addresses.
Article to be posted resulted in errors/warnings. q)uit, M)enu, e)dit: e

From here I’ve tried two different approaches. I’ve tried editing the
domain name to be .invalid and I’ve tried configuring tin (via the M
menu option #65) to use “Bill Caroselli <qtps@earthlink.net>”. In
either case the results on the next step were similiar. I get a prompt
that looks like:
q)uit, e)dit, p)ost, p(o)stpone: p

When I hit p to post I get:
Invalid Sender: Bill Caroselli <qtps@earthlink.net>
then the screen quickly blanks and it shows:
An error has occurred while posting the article. If you think that this
error is temporary or otherwise correctable, you can postpone the
article and pick it up again with ^O later.

q)uit, e)dit, p(o)stpone: e

Postponing seems to work fine. But eventually when I try to post the
article I get the same errors.

Does my hostname have be be configured for this system? Right now it is
just localhost.

I also notice that I can’t:
nslookup anything.anything

Yet Voyager, Mozilla, ping, et al all seam to find any name I put in there.

nslookup reports:
$ nslookup qnx.com
Server: localhost
Address: 0.0.0.0

*** localhost can’t find qnx.com: No response from server
even though there are two nameservers configured from DHCP.

\

Bill Caroselli
Q-TPS Consulting
(626) 824-7983

Sorry Bill, had I seen this posting earlier I might have saved you some grief…

Make SURE that you have a /etc/resolv.conf with the domain set! Then tin
will post happily… I thought that someone had fixed this (ie to fall
back to getconf(CS_DOMAIN), but obviously not… :v(

Bill Caroselli <qtps@earthlink.net> wrote:

Chris McKillop wrote:
I’ll post the newnews executable on my website in the free section…



Make sure you f or w in tin and not r. r is to reply via email.

chris

I have tried both f (followup) and w (write new). Both fail for the
same reasons.

Here’s what I have tried so far.

I had to define an EDITOR enviornment variable to get any editor to
load. This is now successful.

If I w (or f, it doesn’t matter which) I get my editor with the
prefilled out header. The From: line looks like this:
From: Bill Caroselli <> bill@localhost.localdomain

I don’t know how it knows my name is Bill Caroselli, but if I type
something, save it and exit, it comes back with:
Error: Bad address in From: header.
Invalid domain. Send bug report if your top level domain really exists.
Use .invalid as top level domain for munged addresses.
Article to be posted resulted in errors/warnings. q)uit, M)enu, e)dit: e

From here I’ve tried two different approaches. I’ve tried editing the
domain name to be .invalid and I’ve tried configuring tin (via the M
menu option #65) to use “Bill Caroselli <> qtps@earthlink.net> >”. In
either case the results on the next step were similiar. I get a prompt
that looks like:
q)uit, e)dit, p)ost, p(o)stpone: p

When I hit p to post I get:
Invalid Sender: Bill Caroselli <> qtps@earthlink.net
then the screen quickly blanks and it shows:
An error has occurred while posting the article. If you think that this
error is temporary or otherwise correctable, you can postpone the
article and pick it up again with ^O later.

q)uit, e)dit, p(o)stpone: e

Postponing seems to work fine. But eventually when I try to post the
article I get the same errors.

Does my hostname have be be configured for this system? Right now it is
just localhost.

I also notice that I can’t:
nslookup anything.anything

Yet Voyager, Mozilla, ping, et al all seam to find any name I put in there.

nslookup reports:
$ nslookup qnx.com
Server: localhost
Address: 0.0.0.0

*** localhost can’t find qnx.com: No response from server
even though there are two nameservers configured from DHCP.


Bill Caroselli
Q-TPS Consulting
(626) 824-7983


cburgess@qnx.com

I also just force things…

In ~/.tin/tinrc

mail_address=Chris McKillop <cdm@qnx.com>

chris


Colin Burgess <cburgess@qnx.com> wrote:

Sorry Bill, had I seen this posting earlier I might have saved you some grief…

Make SURE that you have a /etc/resolv.conf with the domain set! Then tin
will post happily… I thought that someone had fixed this (ie to fall
back to getconf(CS_DOMAIN), but obviously not… :v(

Bill Caroselli <> qtps@earthlink.net> > wrote:
Chris McKillop wrote:
I’ll post the newnews executable on my website in the free section…



Make sure you f or w in tin and not r. r is to reply via email.

chris

I have tried both f (followup) and w (write new). Both fail for the
same reasons.

Here’s what I have tried so far.

I had to define an EDITOR enviornment variable to get any editor to
load. This is now successful.

If I w (or f, it doesn’t matter which) I get my editor with the
prefilled out header. The From: line looks like this:
From: Bill Caroselli <> bill@localhost.localdomain

I don’t know how it knows my name is Bill Caroselli, but if I type
something, save it and exit, it comes back with:
Error: Bad address in From: header.
Invalid domain. Send bug report if your top level domain really exists.
Use .invalid as top level domain for munged addresses.
Article to be posted resulted in errors/warnings. q)uit, M)enu, e)dit: e

From here I’ve tried two different approaches. I’ve tried editing the
domain name to be .invalid and I’ve tried configuring tin (via the M
menu option #65) to use “Bill Caroselli <> qtps@earthlink.net> >”. In
either case the results on the next step were similiar. I get a prompt
that looks like:
q)uit, e)dit, p)ost, p(o)stpone: p

When I hit p to post I get:
Invalid Sender: Bill Caroselli <> qtps@earthlink.net
then the screen quickly blanks and it shows:
An error has occurred while posting the article. If you think that this
error is temporary or otherwise correctable, you can postpone the
article and pick it up again with ^O later.

q)uit, e)dit, p(o)stpone: e

Postponing seems to work fine. But eventually when I try to post the
article I get the same errors.

Does my hostname have be be configured for this system? Right now it is
just localhost.

I also notice that I can’t:
nslookup anything.anything

Yet Voyager, Mozilla, ping, et al all seam to find any name I put in there.

nslookup reports:
$ nslookup qnx.com
Server: localhost
Address: 0.0.0.0

*** localhost can’t find qnx.com: No response from server
even though there are two nameservers configured from DHCP.

\

Bill Caroselli
Q-TPS Consulting
(626) 824-7983


\

cburgess@qnx.com


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

Bill Caroselli <qtps@earthlink.net> wrote:

When I hit p to post I get:
Invalid Sender: Bill Caroselli <> qtps@earthlink.net
then the screen quickly blanks and it shows:
An error has occurred while posting the article. If you think that this
error is temporary or otherwise correctable, you can postpone the
article and pick it up again with ^O later.

I guess in your ‘tinrc’-file you have a line like

mail_address=“Bill Caroselli” <qtps@earthlink.net>

Try just the address instead! Obviously ‘tin’ considers this
to be an invalid address.


I tried to fix this, but I didn’t find the time, yet.

HTH,

Karsten.


| / | __ ) | Karsten.Hoffmann@mbs-software.de MBS-GmbH
| |/| | _ _
\ Phone : +49-2151-7294-38 Karsten Hoffmann
| | | | |
) |__) | Fax : +49-2151-7294-50 Roemerstrasse 15
|| ||// Mobile: +49-172-3812373 D-47809 Krefeld

Colin Burgess wrote:

Sorry Bill, had I seen this posting earlier I might have saved you some grief…

Make SURE that you have a /etc/resolv.conf with the domain set! Then tin
will post happily… I thought that someone had fixed this (ie to fall
back to getconf(CS_DOMAIN), but obviously not… :v(

Set to what? This machine doesn’t have a name or a domain. It connects

to a DHCP server and uses whatever it is given. If I give it a name it
won’t be recognized by anything but itself. Is that OK?

Chris McKillop wrote:

I also just force things…

In ~/.tin/tinrc

mail_address=Chris McKillop <> cdm@qnx.com

chris

Mine said:

mail_address=Bill Caroselli <qtps@earthlink.net>

I assume that you don’t want me to post using your name. So I think
that mine was close enough.

Also, I had to edit with qed. Ped complained about an invalid character
in the file.


Bill Caroselli
Q-TPS Consulting
(626) 824-7983

Karsten.Hoffmann@mbs-software.de wrote:

I guess in your ‘tinrc’-file you have a line like

mail_address=“Bill Caroselli” <> qtps@earthlink.net

Try just the address instead! Obviously ‘tin’ considers this
to be an invalid address.


Karsten.

There were no quotes. It read:

mail_address=Bill Caroselli <qtps@earthlink.net>

I tried both:
<qtps@earthlink.net>
and
qtps@earthlink.net

All produced the exact same results.

I think Colin was closest. What are the prerequisits of getting tin to
post? Remember this machine doesn’t have a name nor is sendmail
configured on it.

It is connected as a DHCP client and seems to (otherwise) work fine WRT
the internet.


Bill Caroselli
Q-TPS Consulting
(626) 824-7983

Bill Caroselli <qtps@earthlink.net> wrote:

Robert Krten 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…

Cheers,
-RK

I downloaded newnews. It worked great. Thanks.

How do I set up tin to read this local copy?

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
and it’s a directory of articles itself.


Bill Caroselli – Q-TPS Consulting
1-(626) 824-7983
qtps@earthlink.net

Bill Caroselli <qtps@earthlink.net> wrote:

Bill Caroselli <> qtps@earthlink.net> > wrote:
Robert Krten 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…

Cheers,
-RK

I downloaded newnews. It worked great. Thanks.

How do I set up tin to read this local copy?

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?)

Since all the article names are numeric, and the conference names are not,
there really shouldn’t be any conflict. Can you play with turning on
massive amounts of debugging and verbosity? I think something like
-vvvv and change the log file ot something other than /dev/null.
The easiest is to get a fresh run of news, and then change the qdn.public.qnx4
article number to 0 and run it with debugging – this way you’ll only get the
articles that are of interest to this test. What’s your ACTIVE file say
about the qdn.public.qnx4 newsgroup? Did it ever change from zero?

Cheers,
-RK

and it’s a directory of articles itself.


Bill Caroselli – Q-TPS Consulting
1-(626) 824-7983
qtps@earthlink.net


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:
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.