Thread View: news.software.nn
4 messages
4 total messages
Started by mike vidal
Sat, 07 Jan 1995 00:36
is there a way to have more than one newsrc ?
Author: mike vidal
Date: Sat, 07 Jan 1995 00:36
Date: Sat, 07 Jan 1995 00:36
15 lines
1591 bytes
1591 bytes
Is there a way to have more than one newsrc ?
Sometimes all I want to do is read news in a subset of my normally read
newsgroups. How do I do it.
--
*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*
| The Independent Filmmakers Internet Resource Guide: |
| ftp://ftp.netcom.com/pub/mv/mvidal/film_vid.html |
| |
| The Atlanta WWW Movie Guide: |
| ftp://ftp.netcom.com/pub/mv/mvidal/atlanta-movies.html |
| |
| Finger mvidal@netcom.com For More Information |
*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*
Mike Vidal mvidal@netcom.com
Re: is there a way to have more than one newsrc ?
Author: Romain Kang
Date: Sat, 07 Jan 1995 01:43
Date: Sat, 07 Jan 1995 01:43
29 lines
1783 bytes
1783 bytes
In <mvidalD20F0q.J3J@netcom.com> mvidal@netcom.com (mike vidal) writes: | Is there a way to have more than one newsrc ? | Sometimes all I want to do is read news in a subset of my normally read | newsgroups. How do I do it. As I understand the code, NN typically presents groups in the order specified following the "sequence" keyword in $HOME/.nn/init. However, if "sequence" is not present in the init file, the sequence will be taken from $HOME/.nn/seq, if it exists. I haven't tried this, but you could have different "seq" files that a wrapper script moves into place depending on how you invoke it; something like: #! /bin/sh case "$1" in work|music|jokes) SEQ=seq.$1 ;; *) SEQ=seq.default ;; esac rm -f $HOME/.nn/seq ln $HOME/.nn/$SEQ $HOME/.nn/seq exec nn Let us know whether it works. -- Romain Kang Pyramid Technology Corp. romain@pyramid.com San Jose, California, USA
Re: is there a way to have more than one newsrc ?
Author: Nancy McGough
Date: Sat, 07 Jan 1995 22:17
Date: Sat, 07 Jan 1995 22:17
35 lines
1831 bytes
1831 bytes
romain@sword.eng.pyramid.com (Romain Kang) writes: >However, >if "sequence" is not present in the init file, the sequence will be >taken from $HOME/.nn/seq, if it exists. This is a *great* thing to know about. Is it documented anywhere - I don't see it in the man pages? I'd like to document this in my NN Quick Start - will this secret feature be available in future releases? Does anyone know about any other init files that NN uses that aren't documented in the manual? Here's what I've been doing with my init file: ---begin init--- load init.variables load init.macros.global #Put at beginning of macros load init.macros load init.commandgroups # Put init.host at end to override others load init.best chain init.sequence ---end init--- Now I can leave out the last line and just have a seq file - cool, cool, cool! Thanks, Nancy -- /\_/\ Nancy McGough ( o.o ) Infinite Ink > ~ < http://www.jazzie.com/ii/ -OR- http://www.best.com/~ii/
Re: is there a way to have more than one newsrc ?
Author: Romain Kang
Date: Sun, 08 Jan 1995 20:58
Date: Sun, 08 Jan 1995 20:58
23 lines
1722 bytes
1722 bytes
romain@sword.eng.pyramid.com (that's me) writes: > However, > if "sequence" is not present in the init file, the sequence will be > taken from $HOME/.nn/seq, if it exists. In <ii.789516611@shell1.best.com> Nancy McGough <ii@best.com> writes: | Is it documented anywhere - I don't see it in the man pages? I only discovered it when I was eyeballing the startup code path. It *should* be documented, and I guess I've been nominated, unless someone's slow enough for me to drop it in their lap... | I'd like to document this in my | NN Quick Start - will this secret feature be available in future | releases? The code to use "seq" has been in a long time, at least since 6.4.16 (the oldest source I have on line) and probably earlier, though empirically, I've only tried it with 6.5.0.b3. Regards, Romain Kang Pyramid Technology Corp. romain@pyramid.com San Jose, California, USA
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