🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by Surendar Jeyadev Mon, 19 Sep 1994 22:17
Appending new unsubscribed groups to .newsrc
#11486
Author: Surendar Jeyadev
Date: Mon, 19 Sep 1994 22:17
17 lines
1525 bytes
Back in the days when I used rn, typing N when rn asked me what to do
about new newsgroups resulted in them being added to the end of my
.newsrc. This resulted in a growing tail of unsorted newsgroup names
in my .newsrc, but, nevertheless, was useful as I had a record of all
the available newsgroups.

I use trn now, and typing N when trn asks me what to do about new
newsgroups results in their being 'ignored' (as per the manual). I
find that these 'ignored' newsgroups do not figure in my .newsrc.
However, trn seems to know about their existence because it I search
for a pattern using the l command it coughs up these groups. 

Is there a way of making trn behave the way rn did? It is easier to
look for newsgroups by running the .newsrc through grep than having
to first get into trn.

sj
ftp-site for xrn
#11494
Author: Markus Ringner
Date: Tue, 20 Sep 1994 07:25
8 lines
958 bytes

Could someone direct me to a ftp-site where I can get
the latest version of xrn.
Please reply via e-mail.
Thanks in advance.

Markus
Re: Appending new unsubscribed groups to .newsrc
#11499
Author: Martin J. Dellwo
Date: Tue, 20 Sep 1994 15:05
33 lines
2049 bytes
Surendar Jeyadev <jeyadev@radha> wrote:...

Surendar, I think your newsposting software is broken, because when I
tried to email directly, I got 'To: jeyadev@radha' as your address,
which is an incomplete address...  

My response was: 

In article <1994Sep19.221746.23872@news.wrc.xerox.com> you write:
>Is there a way of making trn behave the way rn did? It is easier to
>look for newsgroups by running the .newsrc through grep than having
>to first get into trn.

Well, I have in my .trninit file the option

-EAUTOUNSUBSCRIBE="\*"

which causes *all* new newsgroups ( the "\*" part) to be appended as
unsubscribed to the end of my .newsrc, which seems to be what you
described as rn's old behavior.  I think there's a corresponding
AUTOSUBSCRIBE environment variable too, you can look these up in the
manpage.

It's easy, by the way, to alphabetize your .newsrc file, if you don't
know this already:  just save the .newsrc as .oldnewsrc, then give the
unix command 'sort -o .oldnewsrc .newsrc'.

=M
-- 
Martin J. Dellwo   (610) 983-7396   mdellwo@Kodak.COM
Biophysics and Computational Chemistry
Sterling Winthrop Pharmaceuticals Research Division
Return address (was Re: Appending new unsubscribed groups to .newsrc)
#11501
Author: Duane Fowler
Date: Tue, 20 Sep 1994 18:19
26 lines
1500 bytes
In article <35mto6$951@kodak.rdcs.Kodak.COM>,
Martin J. Dellwo <mdellwo@Kodak.COM> wrote:
>
>Surendar Jeyadev <jeyadev@radha> wrote:...
>
>Surendar, I think your newsposting software is broken, because when I
>tried to email directly, I got 'To: jeyadev@radha' as your address,
>which is an incomplete address...  
>

On a related note, where does ones "nickname", as it were, get set?

Ie, I often see postings with subject lines like:

My Nickname           What I'm posting about

with a "From:" line like:

From: Someone@somewhere.edu (My Nickname)


How does one do that?  I checked man pages, Pnews script, but no luck.

TIA,

Duane
Re: Appending new unsubscribed groups to .newsrc
#11510
Author: Wayne Davison
Date: Tue, 20 Sep 1994 20:51
15 lines
1190 bytes
According to Surendar Jeyadev <jeyadev@radha>:
> Is there a way of making trn behave the way rn did?

If you actually want the groups appended, use the -I option, as described
in the man page.

> It is easier to look for newsgroups by running the .newsrc through
> grep than having to first get into trn.

I find using the 'a' command much easier since I get to choose the ones
I like directly instead of having to remember which ones I chose while
reading the grep output.
-- 
Wayne Davison
davison@borland.com
Re: Appending new unsubscribed groups to .newsrc
#11524
Author: Martin J. Dellwo
Date: Thu, 22 Sep 1994 14:32
31 lines
2020 bytes
In article <35qu3e$run@lynx.unm.edu>,
Denis McKeon <galway@chtm.eece.unm.edu> wrote:
>In <35mto6$951@kodak.rdcs.kodak.com>,
>Martin J. Dellwo <mdellwo@Kodak.COM> wrote:
>>... just save the .newsrc as .oldnewsrc, then give the
>>unix command 'sort -o .oldnewsrc .newsrc'.
>
>The sort(1) man page here says:
>
>    -o name     Uses specified file as output file. This file 
>		may be the same as one of the inputs. 
>
>so I don't think that this suggestion will do what you appear to want.

Thanks for pointing this out.  I meant to write: 
  sort -o .newsrc .oldnewsrc

But actually it looks like you could do 'sort .oldnewsrc > .newsrc',
which I had thought didn't work for some reason, hence the use of the
'-o' option...
 
The info about sort clobbering long lines is also good, but you could
still do the sort directly and compare the byte sizes of .oldnewsrc
and .newsrc.  If different, you just copy .oldnewsrc back to .newsrc
to undo the changes.

=M
-- 
Martin J. Dellwo   (610) 983-7396   mdellwo@Kodak.COM
Biophysics and Computational Chemistry
Sterling Winthrop Pharmaceuticals Research Division
Re: Appending new unsubscribed groups to .newsrc
#11668
Author: Nancy McGough
Date: Sun, 02 Oct 1994 01:17
23 lines
1411 bytes
orr@tk1 (Nigel Orr) writes:
>Alternatively, simply grep the system list- I can't recall the
>standard path offhand.

A lot of systems have the newsgroup list in /usr/lib/news/active.
Another way to find out about newsgroups is to use nngrep (even
if you're a trn user).  To view all newsgroups piped through less:

nngrep -a |less

To view all newsgroups with string in their name:    

nngrep -a string |less

Hope this helps,
Nancy


--

 **  **    Nancy McGough             |  "No one suspects the
*  **  *   Infinite Ink              |   days to be gods."
 **  **    ftp://ftp.ii.com/pub/ii   |                     -Emerson
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