🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #549

Problem with save-counter

#549
From: Peter A. Krauss
Date: Fri, 08 Jun 1990 09:39
38 lines
1383 bytes
I've got problems with the save-counter variable.

This is my ~/.nn/init file:

	set save-counter %02d

	on entry comp
	  :local save-counter %d
	end


Outside of a comp group, the ':set' command reports:

	Variable settings:  
	* save-counter         = "%02d"


Inside of a comp group, the ':set' command reports:

	Variable settings:  
	> save-counter         = "%d


1st Problem: the second quotation mark is missing. (not a real problem)

2nd Problem: saving to a filename 'name.*' within a comp group produces
	     filenames, which have a extra linefeed ('\n') attached:

		name.1\n name.2\n ...


Peter A. Krauss
--

+------------------------------------------------------------+
| Peter A. Krauss  (pak@regent.e-technik.tu-muenchen.dbp.de) |
+------------------------------------------------------------+
Technical Details
Message-ID: <pak.644837946@reseq>
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!fauern!tumuc!reseq!pak

Show Full Headers
Complete Article Headers
Message-ID: <pak.644837946@reseq>
Subject: Problem with save-counter
Date: Fri, 08 Jun 1990 09:39:06 +0000
From: pak@regent.e-technik.tu-muenchen.dbp.de (Peter A. Krauss)
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!fauern!tumuc!reseq!pak
Newsgroups: news.software.nn
Sender: news@tumuc.UUCP
Lines: 38
Posted: Fri Jun 8 10:39:06 1990