🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #991

nncheck gotcha

#991
From: James Allan
Date: Tue, 16 Oct 1990 17:29
28 lines
1636 bytes
Why is it that nncheck needs to have the TERM environment variable set
when the "-Q" switch is used?  I have xbiff set up to use nncheck as
its check command with the line (among others):

	xbiffnews*checkCommand: nncheck -Q

in my .Xdefaults file.  Then I start xbiff with:

	xbiff -name xbiffnews &

So when xbiff starts up, it looks in the defaults, finds that the
checkCommand is supposed to be "nncheck -Q" and does its job nicely.

Unfortunately, if xbiff starts when TERM is not set, the nncheck
command never works.  I current work around this with the
less-than-glorious:

	( setenv TERM=unknown; xbiff -name xbiffnews &)

which strikes me as more of a kludge than anything else.  Would it be
reasonable for nncheck to be less restrictive?  Or is there something
I'm missing here?  (Highly likely considering my minimal knowledge of
nn.)

Thanks.

			-- james allan
			   allan@cs.cornell.edu
Technical Details
Message-ID: <47151@cornell.UUCP>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!ub!uhura.cc.rochester.edu!rochester!cornell!allan

Show Full Headers
Complete Article Headers
Message-ID: <47151@cornell.UUCP>
Subject: nncheck gotcha
Date: Tue, 16 Oct 1990 17:29:35 +0000
From: allan@rind.cs.cornell.edu (James Allan)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!ub!uhura.cc.rochester.edu!rochester!cornell!allan
Newsgroups: news.software.nn
Summary: Why does nncheck need TERM?
Keywords: nncheck,TERM
Sender: nobody@cornell.UUCP
Organization: Cornell Univ. CS Dept. Ithaca NY
Lines: 28
Posted: Tue Oct 16 18:29:35 1990