From:	CRDGW2::CRDGW2::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX"  4-JUL-1989 13:19
To:	MRGATE::"ARISIA::EVERHART"
Subj:	VMS TAR   missing file TAR.CLD and more

Received: From KL.SRI.COM ([0.0.0.0]) by CRVAX.SRI.COM with TCP; Tue,  4 JUL 89 09:33:45 PDT
Received: from ucbvax.Berkeley.EDU by KL.SRI.COM with TCP; Tue, 4 Jul 89 09:07:27 PDT
Received: by ucbvax.Berkeley.EDU (5.61/1.37)
	id AA05988; Tue, 4 Jul 89 08:57:29 -0700
Received: from USENET by ucbvax.Berkeley.EDU with netnews
	for info-vax@kl.sri.com (info-vax@kl.sri.com)
	(contact usenet@ucbvax.Berkeley.EDU if you have questions)
Date: 4 Jul 89 18:11:33 GMT
From: murtoa.cs.mu.oz.au!csv!timcc@uunet.uu.net  (Tim Cook)
Organization: Computer Services, Victoria College, Melbourne
Subject: VMS TAR   missing file TAR.CLD and more
Message-Id: <580@csv.viccol.edu.au>
References: <556@csv.viccol.edu.au>, <3315@ncsuvx.ncsu.edu>
Sender: info-vax-request@kl.sri.com
To: info-vax@kl.sri.com

In article <3315@ncsuvx.ncsu.edu>, mark@ncsuvx.ncsu.edu (Mark Boyd) writes:
> I was very please to get this new tar for vms, and I had no trouble
> unsharing it ( often I find folded lines in VMS shar files ), or
> building it, but when I went to install it, I discovered that tar.cld
> was needed.  I didn't get a tar.cld, or any other .cld file as part of
> this distribution.

...which is of course quite correct.  I am sorry about that, and I include at
the end of this posting a copy of TAR.CLD.  I didn't VMS_SHARE it, as it
doesn't contain any nasty bits like brackets, braces and trailing spaces.  As I
said in AAAREADME.1ST, you will have to edit TAR.CLD to tell DCL where you have
installed TAR.EXE.

Also, I have had it pointed out that the .PAS files all attemp to INHERIT the
file 'STARLET_PEN'.  I thought I had changed this.  It should have read

   [INHERIT ('SYS$LIBRARY:STARLET'), ...

A quick fix that doesn't change the sources is to enter

   $ DEFINE STARLET_PEN SYS$LIBRARY:STARLET.PEN

before compilation.

Just got a mail message saying that BUILD_TAR.COM compiles TAR.PAS twice.
Obviously this is unnecessary, and you can edit BUILD_TAR.COM to remove this
redundancy if you wish.  MMS created BUILD_TAR.COM from TAR.MMS, and I fail to
understand why it thinks TAR.PAS needs to be compiled twice in a row (looks
very much like a bug in MMS).

Also, in article <5423@stiatl.UUCP>, todd@stiatl.UUCP (Todd Merriman) writes:
>Unfortunately, this distribution assumes you have the VMS-PASCAL compiler,
>which (I dare say) most do not have.  Why not include the .OBJ's for
>the PASCAL modules?

Should I post them, or should I send them off to someone who can make them
available via FTP, or both?  They would be quite large as a VMS_SHARE
distribution, but I do have MFTU.  Comments and offers welcome.

Bye for now,

Tim Cook

--------------------------  TAR.CLD  -------------------------
DEFINE TYPE map_mode_keyword		! Mode of mapping filespecs to UNIX
   KEYWORD	prefix, DEFAULT		! Find longest common prefix
   KEYWORD	absolute		! Absolute pathnames
   KEYWORD	root			! Use directory but not device

DEFINE syntax tar_extract
   PARAMETER	p1, LABEL=option, VALUE (REQUIRED)
   PARAMETER	p2, LABEL=filespec, PROMPT="Filespec", VALUE (DEFAULT="*")
   QUALIFIER	confirm
   QUALIFIER	output, NONNEGATABLE, VALUE (TYPE=$FILE, DEFAULT="TAR.LIS")
   QUALIFIER	archive, NONNEGATABLE, VALUE (TYPE=$FILE, REQUIRED)

DEFINE SYNTAX tar_write
   PARAMETER	p1, LABEL=option, VALUE (REQUIRED)
   PARAMETER	p2, LABEL=filespec, PROMPT="Filespec", VALUE (TYPE=$FILE,
		   DEFAULT="*.*")
   QUALIFIER	confirm
   QUALIFIER	scan
   QUALIFIER	map_mode, DEFAULT, VALUE (TYPE=map_mode_keyword,
		   DEFAULT="PREFIX")
   QUALIFIER	output, NONNEGATABLE, VALUE (TYPE=$FILE, DEFAULT="TAR.LIS")
   QUALIFIER	archive, NONNEGATABLE, VALUE (TYPE=$FILE, REQUIRED)

DEFINE SYNTAX tar_append
   PARAMETER	p1, LABEL=option, VALUE (REQUIRED)
   PARAMETER	p2, LABEL=filespec, PROMPT="Filespec", VALUE (TYPE=$FILE,
		   DEFAULT="*.*")
   QUALIFIER	confirm
   QUALIFIER	scan
   QUALIFIER	map_mode, DEFAULT, VALUE (TYPE=map_mode_keyword,
		   DEFAULT="PREFIX")
   QUALIFIER	output, NONNEGATABLE, VALUE (TYPE=$FILE, DEFAULT="TAR.LIS")
   QUALIFIER	archive, NONNEGATABLE, VALUE (TYPE=$FILE, REQUIRED)

DEFINE SYNTAX tar_list
   PARAMETER	p1, LABEL=option, VALUE (REQUIRED)
   PARAMETER	p2, LABEL=filespec, PROMPT="Filespec", VALUE (DEFAULT="*")
   QUALIFIER	full
   QUALIFIER	output, NONNEGATABLE, VALUE (TYPE=$FILE, DEFAULT="TAR.LIS")
   QUALIFIER	archive, NONNEGATABLE, VALUE (TYPE=$FILE, REQUIRED)

DEFINE TYPE tar_options
   KEYWORD	extract,	SYNTAX=tar_extract
   KEYWORD	write,		SYNTAX=tar_write
   KEYWORD	append,		SYNTAX=tar_append
   KEYWORD	list,		SYNTAX=tar_list

DEFINE VERB tar
   IMAGE	"CS:[staff.tim.work.tar]TAR"
   PARAMETER	p1, LABEL=option, PROMPT="Option",
      VALUE (REQUIRED, TYPE=tar_options)

