🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.anu-news
2 messages
2 total messages Started by kraftjoel Tue, 12 Jan 1993 18:10
Problem with SAVE command
#1069
Author: kraftjoel
Date: Tue, 12 Jan 1993 18:10
42 lines
1816 bytes
It was just pointed out to me by a user that the SAVE command in 6.0-3 does
not behave as documented.  The help clearly shows the format to be the same
EXTRACTS:

		EXTRACT filename [item-range]
		SAVE [output-file [item-range]]

But the actual syntax of the SAVE command is:

		SAVE/FILE=filename [item-range]

The diff file to make the syntax as documented is below.  I would suggest
tweaking the help a bit too.  ie:

		EXTRACT [filename [item-range]]

since the filename is really optional, and changing the help for SAVE to 
reference the help for EXTRACT.  (Unless my assumption is wrong that they
are the same command...they do execute the same routine)

Joel Kraft
System Manager
Buena Vista College                  

************
File $1$DUA0:[ANUNEWS.NEWS_SRC]NEWSCMD.CLD;2
 1060       parameter   P1,         label=FILE,value(type=$outfile)
 1061       parameter   P2,         label=NOTERANGE, value(list)
 1062       qualifier   ALL,        nonnegatable
******
File $1$DUA0:[ANUNEWS.NEWS_SRC]NEWSCMD.CLD;1
 1060       parameter   P1,         label=NOTERANGE, value(list)
 1061       qualifier   ALL,        nonnegatable
************
************
File $1$DUA0:[ANUNEWS.NEWS_SRC]NEWSCMD.CLD;2
 1078       qualifier   NEWSGROUPS  value(required,list)
******
File $1$DUA0:[ANUNEWS.NEWS_SRC]NEWSCMD.CLD;1
 1077       qualifier	FILE	    nonnegatable,value(required)
 1078       qualifier   NEWSGROUPS  value(required,list)
************
Re: Problem with SAVE command
#1072
Author: Bob Sloane
Date: Tue, 12 Jan 1993 20:15
14 lines
915 bytes
In article <1993Jan12.121017.3167@peanut>, kraftjoel@bvc.edu writes:
> It was just pointed out to me by a user that the SAVE command in 6.0-3 does
> not behave as documented.

An easier fix is to delete the CLD for the SAVE command completely,
and add "alias SAVE" after "define verb EXTRACT":

define verb EXTRACT
    synonym SAVE
    routine do_extract
...
-- 
USmail: Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045
E-mail: sloane@kuhub.cc.ukans.edu, sloane@ukanvax.bitnet, AT&T: (913)864-0444 
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