🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #10843

Re: Reading only 3 groups with nn?

#10843
From: andrew
Date: Sun, 10 Aug 2008 07:11
62 lines
3200 bytes
Aaron W. Hsu <arcfide@sacrideo.us> writes:

>andrew <andrew@ilium.invalid> writes:

>>1. I only expect to read 3 groups with nn: news.software.readers,
>>   news.software.nn and a leafnode 'local' test group. What is
>>   the best way to limit nn to these groups only? 

>Actually, NN uses the "standard" .newsrc file that most other
>newsreaders can handle. However, if you do not have any other news 
>reader that will be using that file, you can just enter a few lines: 

>	news.software.nn:
>	news.software.readers:
>	local:

>If those are the names of the newsgroups. Now, NN checks for new groups 
>on startup by default, so you'll want to add the following to your 
>init file:

>	set new-group-action 0

Thanks for that it works well. I read tha man pages a little more closely
and also added:

       set newsrc /home/andrew/.nn/.newsrc

to insulate my nn efforts from other newsreaders I may try. Using
vim has not woked as well I am afraid:

>First thing you should do is just set your environment variable to 
>vim unless you want to use another editor for other programs, in 
>which case "set editor /usr/local/bin/vim" in your init file or the 
>equivalent will work. 

No probs as vim is already set as $EDITOR.

>Secondly, you need to look at where you put your executable utilities 
>when you installed NN, maybe /usr/local/lib or /usr/local/libexec. You 
>are looking for the aux* file. Once you find that file, you will see 
>around line 303 where it decides what options to feed to the program. 
>You'll want to add after line 310:

>	vim )
>	  # Vim with width Limit
>	  eval $EDITOR '+set tw=72' +%d '%s'
>	  ;;

Changed this and then I was puzzling over why some standard vim commands did
not work and I eventually realised that I was using vi rather than vim.
Slackware appears to ship with both which I did not realise up until now.

I am a little puzzled as to why nn would call vi? I could try a symlink
from vi --> vim I guess. At the moment it is linked:

andrew@ilium~$ ls -l /usr/bin/vi
lrwxrwxrwx 1 root root 5 2008-02-18 11:06 /usr/bin/vi -> elvis

  Andrew

-- 
http://www.andrews-corner.org
Technical Details
Message-ID: <vug2n5xkdp.ln2@ilium.andrews-corner.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.20140326.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <umq1n5xqsm.ln2@ilium.andrews-corner.org> <6oKdnROfVZ6I_QPVnZ2dnUVZ_uOdnZ2d@giganews.com>

Show Full Headers
Complete Article Headers
Message-ID: <vug2n5xkdp.ln2@ilium.andrews-corner.org>
Subject: Re: Reading only 3 groups with nn?
Date: Sun, 10 Aug 2008 17:11:59 +1000
From: andrew <andrew@ilium.invalid>
References: <umq1n5xqsm.ln2@ilium.andrews-corner.org> <6oKdnROfVZ6I_QPVnZ2dnUVZ_uOdnZ2d@giganews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.20140326.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.nn
Organization: slrn Mafia (on vacation)
Lines: 62
Reply-To: usenet.andrew@gmail.com
X-Trace: individual.net JhzhTLBCv0f+8atwTDQ+DQTfHs9IIIa6w+WuRtWE4Hbgcnz2+P
X-Orig-Path: ilium.andrews-corner.org!not-for-mail
Cancel-Lock: sha1:YSDi6pJjy/SzFbFu8ZlleSEhJbw=
X-NNTP-Proxy: Leafnode 2
User-Agent: nn/6.7.3