🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by Tim Veatch Sat, 12 Dec 1992 01:04
Saving compressed files
#3503
Author: Tim Veatch
Date: Sat, 12 Dec 1992 01:04
30 lines
1425 bytes
Does anyone have a good macro for saving files in compressed
format within nn?

What I would like is the following...

After I hit a button to save and have entered a file name...
the macro would do:
	if the file exists then
		if it's in compressed format then
			uncompress the file
			append the text
			compress the file
		else
			append the text
		endif
	else
		save the text in compressed format
	endif

I know this uncompress/compress routine seems like a waste,
but it would save me some time and allow me to keep my disk
space low.

Can anybody help?

Also, if anyone's got a good set of nn macros around that
they are willing to send me, please do.  The examples would
help me learn how to write my own!

Thanx in advance.
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