[Info-vax] ZIP SYS$INPUT

Wilm Boerhout w6.boerhout at planet.nl
Sun Dec 6 04:06:19 EST 2009


Steven Schweda mentioned  on 6-12-2009 6:02:
>>    Back to the actual problem, however.  Supposedly, ZipNote
>> can be used to change the name of an archive member, but I've
>> never tried it until now, and it didn't so so well when I did:
>>
>> alp $ zipnote3l -w BMT_C2_ZN.ZIP
>> zipnote error: bad file number
>> zipnote error: Temporary file failure (ALP$DKA0:[SMS.ITRC]
>> ZI20204E27.;)
> 
>    A recent pre-release ("BETA") kit seems to do better:
> 
> alp $ copy BMT_C2.ZIP BMT_C2_ZN.ZIP
> 
> alp $ unzip6l -l BMT_C2_ZN.ZIP
> Archive:  ALP$DKA0:[SMS.ITRC]BMT_C2_ZN.ZIP;1
>   Length      Date    Time    Name
> ---------  ---------- -----   ----
>       323  12-04-2009 11:39   -
> ---------                     -------
>       323                     1 file
> 
> alp $ zipnote31bl :== $ ALP$DKA0:[UTILITY.SOURCE.ZIP.ZIP31B.ALPHAL]
> ZIPNOTE.EXE
> 
> alp $ pipe zipnote31bl BMT_C2_ZN.ZIP > BMT_C2.ZN
> 
> alp $ type BMT_C2.ZN
> @ -
> @ (comment above this line)
> @ (zip file comment below this line)
> alp $
> 
> A little editing, and:
> 
> alp $ type BMT_C2.ZN_MOD
> @ -
> @=new_member_name
> @ (comment above this line)
> @ (zip file comment below this line)
> alp $
> 
> alp $ pipe zipnote31bl -w BMT_C2_ZN.ZIP < BMT_C2.ZN_MOD
> 
> alp $ unzip6l -l BMT_C2_ZN.ZIP
> Archive:  ALP$DKA0:[SMS.ITRC]BMT_C2_ZN.ZIP;1
>   Length      Date    Time    Name
> ---------  ---------- -----   ----
>       323  12-04-2009 11:39   new_member_name
> ---------                     -------
>       323                     1 file
> 
>    What could go wrong?
> 
>       ftp://ftp.info-zip.org/pub/infozip/beta/zip31b.zip
> 
> alp $ zipnote31bl -v
> Copyright (c) 1990-2009 Info-ZIP - Type 'zipnote "-L"' for software
> license.
> This is ZipNote 3.1b BETA (Apr 9th 2009), by Info-ZIP.
> [...]

I'll give it a try, but results won't be in until after tomorrow, when I 
have access to a system to build it on. Looks promising though!

Thanks,
Wilm



More information about the Info-vax mailing list