🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Liyang Hu Tue, 10 Aug 1999 00:00
posting articles using tin and slrnpull??
#50546
Author: Liyang Hu
Date: Tue, 10 Aug 1999 00:00
28 lines
2149 bytes
konnichiwa!
i recently (last night) set up slrnpull on my home linux machine.
i managed to get slrn to work and all, and i can now post to my nntp
server through slrnpull. (i'm on a dial-up)

problem is, i dont really like slrn. or rather, i prefer to use tin.
here's the problem - i managed to use tin for *reading* news, but when
it comes to posting, i'm totally stuck. how? tin insists on using inews
(probably what it's supposed to do) to post articles, so how do i get
it to put the posts into my /var/spool/slrnpull/out.going ??

i apologise if this question has been answered before, but i'm really
busy this week, so dont really have much time to rtfm... ^_^

sayoonara!
liyang
-- 
 /*\__________________________   ______________________________
|                             \ /                              \
|    Liyang Hu aka DenseBoy    |        ICQ #: 39391385         |
|    http://liyang.cjb.net/    |    <denseboy@a1tav1sta.net>    |
+------------------------------+--------------------------------+
|  HELP!!! I'm being held prisoner in /usr/games/lib!!          |
|   ___________________________________________________________/
 \*/ // get my public key at http://liyang.cjb.net/liyang.asc
 /*\ change the number in my address to letters to email me!! \*/

Re: posting articles using tin and slrnpull??
#50531
Author: greg
Date: Tue, 10 Aug 1999 00:00
24 lines
1770 bytes
In article <37B05FFC.DFC4FC7B@155-d5p.com>,
liyang@a1tav1sta.net wrote:

> tin insists on using inews
> (probably what it's supposed to do) to post articles, so how do i get
> it to put the posts into my /var/spool/slrnpull/out.going ??

Who says inews has to really be inews?

Build a custom inews that, instead of posting, appends the post to
/var/spool/slrnpull/out.going.

And tin comes with full source code, so you could modify it so that
instead of calling inews it instead calls "cat >>
/var/spool/slrnpull/out.going" or even appends it directly to the file
itself.

-- 
Nine quadrillion, nine hundred ninety-nine trillion, nine hundred ninety-nine
billion, nine hundred ninety-nine million, nine hundred ninety-nine thousand,
three hundred fifty-two bottles of beer.  You take one down, pass it around,
nine quadrillion, nine hundred ninety-nine trillion, nine hundred ninety-nine

Re: posting articles using tin and slrnpull??
#50549
Author: Liyang Hu
Date: Wed, 11 Aug 1999 00:00
35 lines
2340 bytes
konnichiwa!

greg@apple2.com wrote:
> Who says inews has to really be inews?
> 
> Build a custom inews that, instead of posting, appends the post to
> /var/spool/slrnpull/out.going.
i think i can manage that...

> And tin comes with full source code, so you could modify it so that
> instead of calling inews it instead calls "cat >>
> /var/spool/slrnpull/out.going" or even appends it directly to the file
> itself.
actually, i just installed the binaries from redhat 6.0. maybe i'll
get the source and compile it myself someday...

Am I doing this the right way round? as in, was slrnpull designed to
work with any news reader, (ie. tin), or just slrn?
should i be using rtin (i *think*) instead? and are there any
advantages to that method?

arigatoo!
liyang
-- 
 /*\__________________________   ______________________________
|                             \ /                              \
|    Liyang Hu aka DenseBoy    |        ICQ #: 39391385         |
|    http://liyang.cjb.net/    |    <denseboy@a1tav1sta.net>    |
+------------------------------+--------------------------------+
|  HELP!!! I'm being held prisoner in /usr/games/lib!!          |
|   ___________________________________________________________/
 \*/ // get my public key at http://liyang.cjb.net/liyang.asc
 /*\ change the number in my address to letters to email me!! \*/

Re: posting articles using tin and slrnpull??
#50571
Author: John E. Davis
Date: Thu, 12 Aug 1999 00:00
12 lines
1321 bytes
On 12 Aug 1999 18:09:03 GMT, denseboy@a1tav1sta.net <denseboy@a1tav1sta.net>
wrote:
>Is there a convention for the filenames of the articles in out.going?
>slrn names them X<date in seconds>-<some number>-1.<user>
>I cant quite figure out what that <some number> is...

It is used to guarantee that the filename is unique.  slrnpull will
not post any file that does not start with an `X'.

--John

Re: posting articles using tin and slrnpull??
#50610
Author: denseboy
Date: Thu, 12 Aug 1999 00:00
40 lines
2404 bytes
greg@apple2.com wrote:
> In article <37B05FFC.DFC4FC7B@155-d5p.com>,
> liyang@a1tav1sta.net wrote:

>> tin insists on using inews
>> (probably what it's supposed to do) to post articles, so how do i get
>> it to put the posts into my /var/spool/slrnpull/out.going ??

> Who says inews has to really be inews?

> Build a custom inews that, instead of posting, appends the post to
> /var/spool/slrnpull/out.going.

This is my script: (named as inews, and placed in /usr/bin)
----snip----
#! /bin/sh
cat /dev/stdin > /var/spool/slrnpull/out.going/X`date +%s`.`whoami`
----snip----

If you're reading this, then the script is working...

Is there a convention for the filenames of the articles in out.going?
slrn names them X<date in seconds>-<some number>-1.<user>
I cant quite figure out what that <some number> is...

hope someone can help!

--
 /*\__________________________   ______________________________
|                             \ /                              \
|    Liyang Hu aka DenseBoy    |        ICQ #: 39391385         |
|    http://liyang.cjb.net/    |    <denseboy@a1tav1sta.net>    |
+------------------------------+--------------------------------+
|  drug, n: A substance that, when injected into a rat,         |
|    produces a scientific paper.                               |
|   ___________________________________________________________/
 \*//*\ get my public key at http://liyang.cjb.net/liyang.asc \*/
 /*\ change the numbers in my address to letters to email me! \*/

Re: posting articles using tin and slrnpull??
#50615
Author: Frank Hahn
Date: Thu, 12 Aug 1999 00:00
37 lines
2094 bytes
On Wed, 11 Aug 1999 14:26:48 +0100, Liyang Hu <liyang@155-d5p.com> wrote:
>greg@apple2.com wrote:
>> Who says inews has to really be inews?
>> 
>> Build a custom inews that, instead of posting, appends the post to
>> /var/spool/slrnpull/out.going.
>
>i think i can manage that...
>
I have a very short inews script file that I have used with knews
in the past to post to slrnpull.  If your interested, i can send
it.  It is only 10 or 12 lines or so if that.

>> And tin comes with full source code, so you could modify it so that
>> instead of calling inews it instead calls "cat >>
>> /var/spool/slrnpull/out.going" or even appends it directly to the file
>> itself.
>
>actually, i just installed the binaries from redhat 6.0. maybe i'll
>get the source and compile it myself someday...
>
>Am I doing this the right way round? as in, was slrnpull designed to
>work with any news reader, (ie. tin), or just slrn?
>should i be using rtin (i *think*) instead? and are there any
>advantages to that method?
>
I can't answer your questions about tin, etc. but I can say that
I have used knews and slrnpull together and it workd.  I had to
use the knewsd program that is part of the knews program.

-- 
Frank Hahn

"Wagner's music is better than it sounds."
		-- Mark Twain

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