🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by Peter A. Krauss Fri, 08 Jun 1990 09:39
Problem with save-counter
#549
Author: 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) |
+------------------------------------------------------------+
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads