🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Farid Hamjavar Wed, 25 Jun 1997 00:00
Q: saving & tagging ,etc,etc
#34585
Author: Farid Hamjavar
Date: Wed, 25 Jun 1997 00:00
41 lines
1180 bytes

Greetings:


I have some beginner type questions in regards 
to TIN usage and man page does not seem to have 
answers to my questions:



1  how would one save ALL unread articles of a group
   into a single file in mailbox format ? (Vs saving only 
   one article)



2  how would one automatically tag ALL unread 
   articles ? (Vs tagging one  by one)




3  why don't I seem to be able to do this:

   tin -c -S -f ~/somefile


   'somefile' contains names of news groups one-per-line.

   
    after execution of that command, tin comes right up
    normally ignoring my command line argument.




Thanks,
Farid Hamjavar

tin saving & tagging
#34867
Author: Urs Janßen
Date: Sun, 06 Jul 1997 00:00
44 lines
2272 bytes
In <5ospks$41cg@mirac.unm.edu>,
    Farid Hamjavar <hamjavar@unm.edu> wrote:

first of all: upgrade to the latest tin-unoff
<ftp://ftp.karlsruhe.org/pub/tin/>

> 1  how would one save ALL unread articles of a group
>    into a single file in mailbox format ? (Vs saving only 
>    one article)

that isn't possible with tin - what you could do is:
	tin -c -z -M address
that will mail ALL unread articles in ALL subscribed groups to 'address'
and mark them as read in your newsrc (-N seems to be broken)

or use a simple shellscript, i.e.:

grep "news\.groups\.pattern" .newsrc > temp_file \
&& tin -z -M address -f temp_file && rm temp_file

> 2  how would one automatically tag ALL unread 
>    articles ? (Vs tagging one  by one)

now way - but who needs to tag all unread articles? what for?
printing? saving? you don't need to tag them, just mark a range (1-$)
and pipe/save them (be sure to have show_only_unread=ON ;-)

> 3  why don't I seem to be able to do this:
>    tin -c -S -f ~/somefile
>    'somefile' contains names of news groups one-per-line.
>     after execution of that command, tin comes right up
>     normally ignoring my command line argument.

somefile must contain vaild .newsrc entrys which look like
news.group.name: [number,number-number....]

urs
-- 
Jef Poskanzer:                                                       
"When people aren't stupid Usenet is even more useful. Too bad this happens
 so rarely."

tin saving & tagging
#34883
Author: Urs Janßen
Date: Sun, 06 Jul 1997 00:00
44 lines
2263 bytes
In <5ospks$41cg@mirac.unm.edu>,
    Farid Hamjavar <hamjavar@unm.edu> wrote:

first of all: upgrade to the latest tin-unoff
<ftp://ftp.karlsruhe.org/pub/tin/>

> 1  how would one save ALL unread articles of a group
>    into a single file in mailbox format ? (Vs saving only 
>    one article)

that isn't possible with tin - what you could do is:
	tin -c -z -M address
that will mail ALL unread articles in ALL subscribed groups to 'address'
and mark them as read in your newsrc (-N seems to be broken)

or use a simple shellscript, i.e.:

grep "news\.groups\.pattern" > temp_file \
&& tin -z -M address -f temp_file && rm temp_file

> 2  how would one automatically tag ALL unread 
>    articles ? (Vs tagging one  by one)

now way - but who needs to tag all unread articles? what for?
printing? saving? you don't need to tag them, just mark a range (1-$)
and pipe/save them (be sure to have show_only_unread=ON ;-)

> 3  why don't I seem to be able to do this:
>    tin -c -S -f ~/somefile
>    'somefile' contains names of news groups one-per-line.
>     after execution of that command, tin comes right up
>     normally ignoring my command line argument.

somefile must contain vaild newsrc entrys which look like
news.group.name: [number,number-number....]

urs
-- 
Jef Poskanzer:                                                       
"When people aren't stupid Usenet is even more useful. Too bad this happens
 so rarely."

Re: Q: saving & tagging ,etc,etc
#34896
Author: John Savage
Date: Mon, 07 Jul 1997 00:00
32 lines
1545 bytes
hamjavar@unm.edu (Farid Hamjavar) writes:
>I have some beginner type questions in regards
>to TIN usage and man page does not seem to have

>1  how would one save ALL unread articles of a group
>   into a single file in mailbox format ? (Vs saving only
>   one article)

tag all the unread articles, then "s" "T" "=bigfile"
to save all tagged articles to a single file, $HOME/Mail/bigfile

>2  how would one automatically tag ALL unread
>   articles ? (Vs tagging one  by one)

>3  why don't I seem to be able to do this:
>
>   tin -c -S -f ~/somefile

I use a script containing: nice tin -c -s $tmpdir -S -f $HOME/.newsrc.sn

where .newsrc.sn is initialized with lines a` la:

news.software.readers: 1-2
comp.unix.questions: 1-2

and it creates hundreds of single-article files in $tmpdir subdirectories.
If you want them all concatenated, you'll have to do that yourself.
--
John Savage     koala ~ sydney.dialix.com.au     <-- use this address

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