[net.micro.mac] PackIt modification?

eros@chovax.DEC (03/06/86)

I find the PackIt style of distributing software/documentation/sample files
to be very convenient; however, the PackIt default naming convention plays
havoc with storage of files on my Vax using XBIN.  For example, the recent
distribution of DARunner comes in as DARunner.pit, which doesn't work very
well when XBIN tries to build (.inf,.dat,.rsc) files.

Hey Mr. Chesley!! Howzabout swapping the period in the default for an
underscore?  It would certainly make things easier for me (great reason, huh?)

Tony Eros
Digital Equipment Corporation
decwrl!dec-rhea!dec-chovax!eros

The opinions expressed here do not necessarily represent those of my
employer blah blah blah.

"We've got loads of it 'round the back..."

rick@ut-ngp.UUCP (Rick Watson) (03/07/86)

>Hey Mr. Chesley!! Howzabout swapping the period in the default for an
>underscore?  It would certainly make things easier for me (great reason, huh?)

Here's a simple mod to xbin to convert periods to underscores:

(This is a VMS diff)
************
File DISK$STAFF:[CCAW001.MAC.NEW.XBIN]XBIN.C;10
  249   		if (*np == ' ' || *np == '/' || *np == '.')
  250   			*np = '_';
******
File DISK$STAFF:[CCAW001.MAC.NEW.XBIN]XBIN.OLD;1
  244   		if (*np == ' ' || *np == '/')
  245   			*np = '_';
************

Rick Watson
University of Texas Computation Center
 arpa:   rick@ngp.UTEXAS.EDU   rick@ngp.ARPA
 uucp:   ...seismo!ut-sally!ut-ngp!rick   rick@ut-ngp.UUCP
 bitnet: ccaw001@utadnx
 phone:  512/471-3241