🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
11 messages
11 total messages Started by Maciej Nadolski Fri, 17 Oct 2003 05:50
Tin and batch processing
#135613
Author: Maciej Nadolski
Date: Fri, 17 Oct 2003 05:50
13 lines
1610 bytes
Hi!
I`m trying to use tin asnd its batch feture -S -r -o, beacouse my news server is 
very slow:( I have this problem: I can`t save active file on my hd and everytime I 
use -c the whole file is downloaded from news server and when I`m using tin -R I 
can`t subscribe new nowsgrouos, becaouse it states that there are no newsgroups 
found in active file. So I conclude that there NO active file on my hd. I can only 
add newsgroup when i run tin with -g news.server option, but it takes awfully long 
to download active fille. I don`t have nobody to ask for it thats why I`m posting 
here. Thanks for help!

-- 
Pozdrawiam,
Maciej Nadolski
Re: Tin and batch processing
#135615
Author: Frank Slootweg
Date: Fri, 17 Oct 2003 07:08
8 lines
1517 bytes
Maciej Nadolski <usenet@wytnij-to.nadolski.net> wrote:

> User-Agent: Xnews/5.04.25

  Does this mean that you run tin on (MS) Windows? If so, you may want
to use Hamster to do the batch processing. Hamster is a small News
server which you can use with the newsreader of your choice, i.e. also
with tin. For details, see: http://www.tglsoft.de/misc/hamster_en.htm
Re: Tin and batch processing
#135618
Author: Maciej Nadolski
Date: Fri, 17 Oct 2003 07:16
19 lines
1637 bytes
Frank Slootweg <this@ddress.is.invalid> wrote in news:3f8f9552$0$427
$1b62eedf@news.wanadoo.nl:

> Maciej Nadolski <usenet@wytnij-to.nadolski.net> wrote:
> 
>> User-Agent: Xnews/5.04.25
> 
>   Does this mean that you run tin on (MS) Windows? If so, you may want
> to use Hamster to do the batch processing. Hamster is a small News
> server which you can use with the newsreader of your choice, i.e. also
> with tin. For details, see: http://www.tglsoft.de/misc/hamster_en.htm
> 

No no. I run Tin on FreeBSD...
On Windows I use Xnews

-- 
Pozdrawiam,
Maciej Nadolski
Re: Tin and batch processing
#135623
Author: Frank Slootweg
Date: Fri, 17 Oct 2003 09:38
19 lines
1984 bytes
Maciej Nadolski <usenet@wytnij-to.nadolski.net> wrote:
> Frank Slootweg <this@ddress.is.invalid> wrote in news:3f8f9552$0$427
> $1b62eedf@news.wanadoo.nl:
> 
>> Maciej Nadolski <usenet@wytnij-to.nadolski.net> wrote:
>> 
>>> User-Agent: Xnews/5.04.25
>> 
>>   Does this mean that you run tin on (MS) Windows? If so, you may want
>> to use Hamster to do the batch processing. Hamster is a small News
>> server which you can use with the newsreader of your choice, i.e. also
>> with tin. For details, see: http://www.tglsoft.de/misc/hamster_en.htm
> 
> No no. I run Tin on FreeBSD...
> On Windows I use Xnews

  Well, then probably people can give pointers to leafnode, slrnpull,
etc. which do similar things (as Hamster) but can run on UNIX. Let me
know if you get no other pointers and I will try to find some.
Re: Tin and batch processing
#135626
Author: Maciej Nadolski
Date: Fri, 17 Oct 2003 10:11
13 lines
1723 bytes
Frank Slootweg <this@ddress.is.invalid> wrote in news:3f8fb8a4$0$21703
$1b62eedf@news.wanadoo.nl:

>   Well, then probably people can give pointers to leafnode, slrnpull,
> etc. which do similar things (as Hamster) but can run on UNIX. Let me
> know if you get no other pointers and I will try to find some.

Thanks for help. Well i was sure that 'tin -S -c -f newsrc.save -r news.tpi.pl' and 
'tin -R' vide man will be enough:( I will try other alternatives.

-- 
Pozdrawiam,
Maciej Nadolski
Re: Tin and batch processing
#135640
Author: Urs Janßen
Date: Fri, 17 Oct 2003 15:58
42 lines
2914 bytes
In <Xns94174FAC0C75Cusenetnadolskinet@193.110.122.80>,
    Maciej Nadolski wrote:
> I`m trying to use tin asnd its batch feture -S -r -o, beacouse my
> news server is very slow:( I have this problem: I can`t save active

which tin version do you use (tin -V)?

> file on my hd and everytime I use -c the whole file is downloaded

if you use -c you should use two different newsrcs, one for fetching the
news via -S and a second one for reading the news via -R.

> from news server and when I`m using tin -R I can`t subscribe new

-S should generate ${TIN_HOMEDIR-"$HOME"}/.tin/active.save
and -R should use that.

> nowsgrouos, becaouse it states that there are no newsgroups found
> in active file. So I conclude that there NO active file on my hd. I
> can only add newsgroup when i run tin with -g news.server option,
> but it takes awfully long to download active fille. I don`t have

what you can do is use the -n -d flags once you have subscribed to
all groups you like, freshly created newsgroups will be available
unless you also use the -q flag. you might also want to set
strip_newsrc=ON in the tinrc. that should speed up the startup in
interactive mode.

> nobody to ask for it thats why I`m posting here. Thanks for help!

very few ppl. do use the -S/-R options, I know they were broken in
most tin 1.5.x versions, but I thought I've fixed them so they should
work again in tin 1.6.* - haven't checked them since tin ~1.5.18. I
never tried to combine -S and -o, that may or may not work (IIRC -o
takes a different code-path and exits early like -w, but I didn't
check the code).

urs
-- 
Jef Poskanzer:
"When people aren't stupid Usenet is even more useful. Too bad this happens
 so rarely."
Re: Tin and batch processing
#135641
Author: Urs Janßen
Date: Fri, 17 Oct 2003 16:15
22 lines
2009 bytes
In <Xns94177BE6ED630usenetnadolskinet@193.110.122.80>,
    Maciej Nadolski wrote:
> Thanks for help. Well i was sure that
> 'tin -S -c -f newsrc.save -r news.tpi.pl'

you can't specify a newsserver after -r, use -g instead, otherwise
the argument to -r (which does not take any arguments) is taken as
newsgroup-name.

 and 'tin -R' vide man will be enough:( I will try
> other alternatives.

last time (about half a year ago with tin 1.5.18) I checked batch mode
	tin -vcSg foo -f bar.s
	tin -Rf bar.r
did work as expected.

urs
-- 
Jef Poskanzer:
"When people aren't stupid Usenet is even more useful. Too bad this happens
 so rarely."
Re: Tin and batch processing
#135665
Author: Maciej Nadolski
Date: Sat, 18 Oct 2003 06:42
18 lines
1939 bytes
Frank Slootweg <this@ddress.is.invalid> wrote in news:3f8fb8a4$0$21703
$1b62eedf@news.wanadoo.nl:

> 
>   Well, then probably people can give pointers to leafnode, slrnpull,
> etc. which do similar things (as Hamster) but can run on UNIX. Let me
> know if you get no other pointers and I will try to find some.
> 

I thing this is it. I read the FAQ and all the doc`s ale it is the thing I was 
looking for, but I there is no slnrc nowhere on my hd (LOL). I caould`n also find 
slrnrc on google. Situation makes me lough. Why there`s no config file in sources 
(I thought that there is sth. wtong with FreeBSD port). Could someone send me an 
example slrcrc?:) Thanks!:)

-- 
Pozdrawiam,
Maciej Nadolski
Re: Tin and batch processing
#135666
Author: Maciej Nadolski
Date: Sat, 18 Oct 2003 06:46
35 lines
2421 bytes
Urs Janßen <urs@buil.tin.org> wrote in news:bmp3jr$ngr$1@news.rz.uni-karlsruhe.de:
 
Sorry for flooding a bit group.

tin -V
Version: 1.6.1 release 20030810 ("Mingulay") Oct 16 2003 12:13:23
Platform:
        OS-Name  = "freebsd4.8"
Compiler:
        CC       = "cc"
        CPP      = "cc -E"
        CPPFLAGS = " -I/usr/local/include -I/usr/local/include"
Linker and Libraries:
        LD       = "cc"
        LDFLAGS  = " -L/usr/local/lib -L/usr/local/lib"
        LIBS     = "-lncurses    -luu -liconv"
Characteristics:
        +NNTP_ABLE -NO_POSTING -BROKEN_LISTGROUP +XHDR_XREF
        -HAVE_FASCIST_NEWSADMIN +ENABLE_IPV6 +HAVE_COREFILE
        -NO_SHELL_ESCAPE -DISABLE_PRINTING -DONT_HAVE_PIPING -NO_ETIQUETTE
        +HAVE_LONG_FILE_NAMES +APPEND_PID -HAVE_MH_MAIL_HANDLING
        -HAVE_ISPELL -HAVE_METAMAIL +HAVE_SUM
        +HAVE_COLOR -HAVE_PGP -HAVE_PGPK -HAVE_GPG
        +MIME_BREAK_LONG_LINES +MIME_STRICT_CHARSET +CHARSET_CONVERSION
        -MULTIBYTE_ABLE -NO_LOCALE
        -USE_CANLOCK -EVIL_INSIDE -FORGERY -TINC_DNS -ENFORCE_RFC1034
        -REQUIRE_BRACKETS_IN_DOMAIN_LITERAL -FOLLOW_USEFOR_DRAFT

I was runing tin -R without -r. I used -r only with -S. I think that slrnpull is 
just sth. I was lkooking for. I can make same tests you will tell me to do if U 
want to.

-- 
Pozdrawiam,
Maciej Nadolski
Re: Tin and batch processing
#135697
Author: Urs Janßen
Date: Sat, 18 Oct 2003 19:54
21 lines
2302 bytes
In <Xns9418585D13F44usenetnadolskinet@193.110.122.80>,
    Maciej Nadolski wrote:
> I thing this is it. I read the FAQ and all the doc`s ale it is the
> thing I was looking for, but I there is no slnrc nowhere on my hd
> (LOL). I caould`n also find slrnrc on google. Situation makes me
> lough. Why there`s no config file in sources (I thought that there
> is sth. wtong with FreeBSD port). Could someone send me an example
> slrcrc?:) Thanks!:)

[slrn(1)]
| OPTIONS
|        The  following  options can be used when calling slrn from
|        the command line.  They override  both  environment  vari­
|        ables  and  settings  in  private and global configuration
|        files.
[...]
|        --create
|               Read the active file (the list of all groups)  from
|               the news server to create an initial newsrc file.

should do the job
Re: Tin and batch processing
#135703
Author: Urs Janßen
Date: Sat, 18 Oct 2003 20:23
40 lines
2461 bytes
In <Xns94185917AFB3Eusenetnadolskinet@193.110.122.80>,
    Maciej Nadolski wrote:
> tin -V
> Version: 1.6.1 release 20030810 ("Mingulay") Oct 16 2003 12:13:23

should work, did you set batch_save to ON (either global via tinrc or
group-specific via attributes?):

|              batch_save
|                     If  set ON articles/threads will be saved in
|                     batch mode when save ''-S''  or  mail  ''-M,
|                     -N''  is  specified  on  the  command  line.
|                     Default is ON.

> I was runing tin -R without -r.

that's ok

> I used -r only with -S.

ok as well.

> I think that slrnpull is just sth. I was lkooking for. I can make
> same tests you will tell me to do if U want to.

I just tried (tin 1.6.2):

echo "local.test: 1\nde.test: 1\nalt.test: 1\n" > ~/rc.s && cp ~/rc.s ~/rc.r
tin -Scrvf ~/rc.s -g news.example.org
tin -Rf ~/rc.r

with batch_save=ON in tinrc and it worked as expected, second test
with scope=*,!local.* batch_save=OFF and recreated ~/rc.s and ~/rc.r
did also work as expected.

urs
-- 
Jef Poskanzer:
"When people aren't stupid Usenet is even more useful. Too bad this happens
 so rarely."
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