tin for local files; how?

How do I make tin read local files? I’m using the one shipped with 6.1,
and whenever I start up “tin” it always wants to NNTP connect to inn.qnx.com.

How can I make it stop? The usage “tin -h” and “tin -H” differ; one mentions
a “-r” for remote (i.e., NNTP) access, the other seems to imply that it’s normal.

How does tin determine that it should access files locally? Does a “/var/spool/news”
need to exist? or /usr/spool/news???

Cheers,
-RK


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

I was just trying to do this myself. I haven’t figured it out yet. Let me
know if you do.

What are you doing to build you local data base of news articles? I haven’t
achieved that either yet.


Bill Caroselli – 1(530) 510-7292
Q-TPS Consulting
QTPS@EarthLink.net


<nospam93@parse.com> wrote in message news:9shc49$n54$1@inn.qnx.com

How do I make tin read local files? I’m using the one shipped with 6.1,
and whenever I start up “tin” it always wants to NNTP connect to
inn.qnx.com.

How can I make it stop? The usage “tin -h” and “tin -H” differ; one
mentions
a “-r” for remote (i.e., NNTP) access, the other seems to imply that it’s
normal.

How does tin determine that it should access files locally? Does a
“/var/spool/news”
need to exist? or /usr/spool/news???

Cheers,
-RK


Robert Krten, PARSE Software Devices +1 613 599 8316.
Realtime Systems Architecture, Consulting and Training at > www.parse.com
Email my initials at parse dot com.

Bill Caroselli <qtps@earthlink.net> wrote:

I was just trying to do this myself. I haven’t figured it out yet. Let me
know if you do.

:slight_smile:
“Old” versions of tin had to be specially tricked into doing NNTP by calling
them “rtin” – hey, hold on a second! Why does “pidin” show my “tin” as
actually being “rtin” – WTF? Now this doesn’t make a whole bunch of sense:

lrwxrwxrwx 1 root root 3 Oct 25 17:46 /usr/bin/rtin@ → tin
-rwxr-xr-x 1 327 120 426884 Jul 18 2000 /usr/bin/tin*

Ok, I get that – rtin is a symlink to “tin” the executable. But why does
pidin show me running “rtin” when I typed “tin” (and don’t have an alias :slight_smile:)???

Is this a clue? I’ve noticed that if I call an executable “core” (i.e., old
QNX 2 habit, put “-o core” on the cc line) and run it, even after renaming it
to something else, I can’t slay it unless I slay “core”. WHY?

What are you doing to build you local data base of news articles? I haven’t
achieved that either yet.

It’s a SECRET*. Well… ok, I’ll tell ya. I’m porting over my VFNews
virtual filesystem stuff from QNX 4 to 6. About time, huh? :slight_smile:
I’ve got the “newnews” part running – you can give “newnews” an active file,
and a directory root, and it snarfs all the articles via NNTP into the
directory root as individual files. Granted, VFNews really doesn’t quite do
this – it snarfs them into a big file and then virtually manifests the big
file as a slew of small files, but “newnews” is step 1.

Cheers,
-RK


Bill Caroselli – 1(530) 510-7292
Q-TPS Consulting
QTPS@EarthLink.net



nospam93@parse.com> > wrote in message news:9shc49$n54$> 1@inn.qnx.com> …

How do I make tin read local files? I’m using the one shipped with 6.1,
and whenever I start up “tin” it always wants to NNTP connect to
inn.qnx.com.

How can I make it stop? The usage “tin -h” and “tin -H” differ; one
mentions
a “-r” for remote (i.e., NNTP) access, the other seems to imply that it’s
normal.

How does tin determine that it should access files locally? Does a
“/var/spool/news”
need to exist? or /usr/spool/news???

Cheers,
-RK


Robert Krten, PARSE Software Devices +1 613 599 8316.
Realtime Systems Architecture, Consulting and Training at > www.parse.com
Email my initials at parse dot com.


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

Following up on my own post, yah, I know…

I downloaded tin 1.4.5 from www.tin.org, typed “configure” and then typed
“make build” and it complains:

Can’t open /usr/lib/news/active. Try tin -r to read news via NNTP.

Excellent!

So, that’s the short answer on “how you do it”. :slight_smile:

-RK

nospam93@parse.com wrote:

Bill Caroselli <> qtps@earthlink.net> > wrote:
I was just trying to do this myself. I haven’t figured it out yet. Let me
know if you do.

:slight_smile:
“Old” versions of tin had to be specially tricked into doing NNTP by calling
them “rtin” – hey, hold on a second! Why does “pidin” show my “tin” as
actually being “rtin” – WTF? Now this doesn’t make a whole bunch of sense:

lrwxrwxrwx 1 root root 3 Oct 25 17:46 /usr/bin/rtin@ → tin
-rwxr-xr-x 1 327 120 426884 Jul 18 2000 /usr/bin/tin*

Ok, I get that – rtin is a symlink to “tin” the executable. But why does
pidin show me running “rtin” when I typed “tin” (and don’t have an alias > :slight_smile:> )???

Is this a clue? I’ve noticed that if I call an executable “core” (i.e., old
QNX 2 habit, put “-o core” on the cc line) and run it, even after renaming it
to something else, I can’t slay it unless I slay “core”. WHY?

What are you doing to build you local data base of news articles? I haven’t
achieved that either yet.

It’s a SECRET*. Well… ok, I’ll tell ya. I’m porting over my VFNews
virtual filesystem stuff from QNX 4 to 6. About time, huh? > :slight_smile:
I’ve got the “newnews” part running – you can give “newnews” an active file,
and a directory root, and it snarfs all the articles via NNTP into the
directory root as individual files. Granted, VFNews really doesn’t quite do
this – it snarfs them into a big file and then virtually manifests the big
file as a slew of small files, but “newnews” is step 1.

Cheers,
-RK


Bill Caroselli – 1(530) 510-7292
Q-TPS Consulting
QTPS@EarthLink.net



nospam93@parse.com> > wrote in message news:9shc49$n54$> 1@inn.qnx.com> …

How do I make tin read local files? I’m using the one shipped with 6.1,
and whenever I start up “tin” it always wants to NNTP connect to
inn.qnx.com.

How can I make it stop? The usage “tin -h” and “tin -H” differ; one
mentions
a “-r” for remote (i.e., NNTP) access, the other seems to imply that it’s
normal.

How does tin determine that it should access files locally? Does a
“/var/spool/news”
need to exist? or /usr/spool/news???

Cheers,
-RK


Robert Krten, PARSE Software Devices +1 613 599 8316.
Realtime Systems Architecture, Consulting and Training at > www.parse.com
Email my initials at parse dot com.


Robert Krten, PARSE Software Devices +1 613 599 8316.
Realtime Systems Architecture, Consulting and Training at > www.parse.com
Email my initials at parse dot com.


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