🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #1695

tricks with article number limits

#1695
From: Bill Wohler
Date: Tue, 21 May 1991 15:45
41 lines
1882 bytes
folks,

  what i wanted to do is to set limit (max-articles in man page, by
  the way) to 30 globally, and then unset it for certain groups, or
  set it to 60 for others.  i thought the best way would be to:

	set limit 30
	on entry comp.windows.x.motif
		:local limit 60
	end
	sequence
	comp.windows.x.motif	+		(5)

  but this caused the macro for comp.windows.x.motif referenced in the
  presentation sequence *not* to be called, so i had to add the limit
  to the referenced macro instead.  perhaps there is an unfortunate
  limitation that there may only be on entry macro per group whether
  it be called in the presentation sequence, or in various other
  command groups.


  question two involves merged groups.  i would like the limit of 30
  articles to apply the merged number of articles instead of the
  current behavior of limiting each group individually, which when
  there are many groups in the merge, results in a large menu.

  by the way, i think the manual says that the following macro will
  cause the global limit of 30 (in my example) to be ignored for the
  purposes of the "find."  is this indeed correct?

	  define 5
		  :local limit -1
		  find "."
		  read-skip
	  end
-- 
						--bw
-----
Bill Wohler <wohler@sap-ag.de> <sapwdf!wohler>
Heidelberg Red Barons Ultimate Frisbee Team
Technical Details
Message-ID: <2821@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!gmdzi!unido!sapwdf!wohler

Show Full Headers
Complete Article Headers
Message-ID: <2821@sapwdf.UUCP>
Subject: tricks with article number limits
Date: Tue, 21 May 1991 15:45:42 +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!gmdzi!unido!sapwdf!wohler
Newsgroups: news.software.nn
Reply-To: Bill Wohler <wohler@sap-ag.de>
Organization: SAP AG, Walldorf, Germany
Lines: 41