🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #2955

auto reading

#2955
From: Bill Wohler
Date: Mon, 03 Aug 1992 14:48
29 lines
1454 bytes
folks,

  i'm trying to write an "on entry" macro that only reads the
  newsgroup if any auto selections were made. the following does that:

	on entry certain groups ...
		select-auto
		:read-skip
	end

  the disadvantage of this, is that if i try to look at the newsgroup
  via "nn -ssomething group" or "G s something RET" when there are no
  articles auto selected, then the read-skip does *not* allow one to
  read the group at all.  that's because the nn -s or the G commands
  only collect the articles--they do not select them.

  one solution might be:

	on entry certain groups ...
		select-auto
		? "we're here because of a nn -s or G command" find .*
		:read-skip
	end

  what would this test be?  is there a variable that gets set in this
  case?  can anyone think of other solutions?

Bill Wohler <wohler@sap-ag.de> <sapwdf!wohler>
Heidelberg Red Barons Ultimate Frisbee Team
Technical Details
Message-ID: <3820@sapwdf.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!sparky!uunet!mcsun!Germany.EU.net!unido!sapwdf!wohler

Show Full Headers
Complete Article Headers
Message-ID: <3820@sapwdf.UUCP>
Subject: auto reading
Date: Mon, 03 Aug 1992 14:48:00 +0000
From: wohler@sapwdf.UUCP (Bill Wohler)
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!sparky!uunet!mcsun!Germany.EU.net!unido!sapwdf!wohler
Newsgroups: news.software.nn
Reply-To: Bill Wohler <wohler@sap-ag.de>
Organization: SAP AG, Walldorf, Germany
Lines: 29