🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
3 messages
3 total messages Started by Walter Alter Sun, 01 May 1994 21:27
something like multiple .newsrc's?
#5778
Author: Walter Alter
Date: Sun, 01 May 1994 21:27
7 lines
827 bytes
can nn offer the capability to set up customized .newsrc files or create 
subgoups of defined newsgroups somehow so that i can read those 
newsgroups i have the time or inclination for?  thanks.


walter
Re: something like multiple .newsrc's?
#5782
Author: Andrew M. Langmead
Date: Mon, 02 May 1994 22:22
26 lines
1938 bytes
walter@netcom.com (Walter Alter) writes:

>can nn offer the capability to set up customized .newsrc files or create 
>subgoups of defined newsgroups somehow so that i can read those 
>newsgroups i have the time or inclination for?  thanks.

Often, when people are looking for multiple .newsrc files in nn, they
are better off changing their group presentation sequence. If you have
a newsgroup in both "day" and "night" .newsrc files, do you want the
articles to show up twice. (How will the "inactive" .newsrc file no
the article has been read by the "active" .newsrc.) If you do want
different .newsrc files, the .newsrc file that nn uses is kept in a
variable named newsrc. (use "set newsrc ~/.daynewsrc" in either the
init file or the ":" prompt to change the newsrc file that is used.)

To alter the nn's action on startup use the "on" command in the
~/.nn/init file. 

Check the online manual under the heading "Group Presentation
Sequence" for details on how to have nn alter which groups it displays
and the order in which they are displayed, and check the heading
"Command Groups" on nn's behavior can be changed using the "on"
command in the ~/.nn/init file.
-- 
----
Andrew Langmead / aml@world.std.com / BIX a.langmead / CIS 72411,1560
Re: something like multiple .newsrc's?
#5791
Author: Rich Holland
Date: Tue, 03 May 1994 22:13
37 lines
2248 bytes
aml@world.std.com (Andrew M. Langmead) writes:

>Often, when people are looking for multiple .newsrc files in nn, they
>are better off changing their group presentation sequence. If you have

I have a script in ${HOME}/bin/nn like this:
=============================================================================
#!/bin/csh
# SCCSid: @(#)wrapper for nn to read news for work or play
if ($argv == 'matt') then
	set groups = (`cat ${HOME}/.nn/matt`)
	cp ${HOME}/.nn/next-matt ${HOME}/.nn/NEXTG
	/usr/local/bin/nn $groups
	cp ${HOME}/.nn/NEXTG ${HOME}/.nn/next-matt
else
	set groups = ($argv `cat ${HOME}/.nn/godiva | grep -v "alt.binaries"`)
	cp ${HOME}/.nn/next-godiva ${HOME}/.nn/NEXTG
	/usr/local/bin/nnlcl $groups
	cp ${HOME}/.nn/NEXTG ${HOME}/.nn/next-godiva
endif
=============================================================================
Then I just use the one .newsrc file (${HOME}/.nn/.newsrc).  I execute nn
by typing either 'nn' (to read the "work" groups) or 'nn matt' (to read the 
"fun" groups).  The NEXTG pointers are kept intact, and the 'godiva' and
'matt' files just contain a list of newsgroups, like this:

alt.cad.autocad
alt.internet.services
alt.msdos.programmer
[...]

Works for me!  :-)
--
Rich Holland               | Internet: holland@godiva.ne.ksu.edu
723 Allison Ave, #8        | Bitnet  : holland@ksuvm
Manhattan, KS  66502-3273  | WWW     : http://godiva.ne.ksu.edu/~holland
char*p="char*p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
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