HP3000-L Archives

April 1995, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Guido Vestjens <[log in to unmask]>
Reply To:
Guido Vestjens <[log in to unmask]>
Date:
Tue, 11 Apr 1995 13:14:22 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (78 lines)
I have a problem with compressing files on my pc and decompressing them on a
HP3000.
 
 
I compress a file on my pc with :
        \util\lzwpc -f lzwfile -s \temp\test.* -binary 160
 
I transfer the compressed file (lzwfile) to the HP3000, with the following
Reflection for Windows command:
        send \util\guido to guido1.gv;f;p binary rec=160 using "code=665"
 
Then I expand this compressed file on the 3000 with:
        :run lzw4.pub;info="-f testfile -r -l -b"
 
response:
 
LZW4: (C) 1995 - Telamon, Inc. - Version A.02.04 (Feb 16 1995-06:09:27)
Restore (Expand) (Batch)
Use archive file: lzwfile
\TEMP\ROUT_LIB.CFG;REC=-1,1,B,ASCII;NOCCTL;DISC=10207,32
   (-m 12) 95/04/11 11:52:43
   --Expanding as ROUTLIB
      286 bytes/     0 recs in,       329 bytes/    15 recs out, bits= 9 [Inc]
      926 bytes/     1 recs in,      1509 bytes/    52 recs out, bits=10 [Inc]
     2334 bytes/     4 recs in,      4884 bytes/   163 recs out, bits=11 [Inc]
     4242 bytes/     8 recs in,      9896 bytes/   311 recs out, bits=12
Wall: 00:00:00.047 (47 ms)
CPU:  00:00:00.046 (46 ms)
     4242 bytes/     8 recs in,      9896 bytes/   311 recs out, 58% reduction
\TEMP\ROUT_SIT.CFG;REC=-1,1,B,ASCII;NOCCTL;DISC=15640,32
   (-m 13) 95/04/11 11:52:43
   --Expanding as ROUTSIT
      286 bytes/     0 recs in,       366 bytes/    16 recs out, bits= 9 [Inc]
      926 bytes/     1 recs in,      1484 bytes/    52 recs out, bits=10 [Inc]
     2334 bytes/     4 recs in,      5035 bytes/   172 recs out, bits=11 [Inc]
     5406 bytes/    10 recs in,     13678 bytes/   416 recs out, bits=12 [Inc]
     5978 bytes/    11 recs in,     15174 bytes/   466 recs out, bits=13
Wall: 00:00:00.063 (63 ms)
CPU:  00:00:00.062 (62 ms)
     5978 bytes/    11 recs in,     15174 bytes/   466 recs out, 61% reduction
Totals:
    10220 bytes/    19 recs in,     25070 bytes/   777 recs out, 60% reduction
 
END OF PROGRAM
 
 
:listf rout@,2
ACCOUNT=  SYS         GROUP=  GV
 
FILENAME  CODE  ------------LOGICAL RECORD-----------  ----SPACE----
                  SIZE  TYP        EOF      LIMIT R/B  SECTORS #X MX
 
ROUTLIB          8188B  VA         311      10207   1       64  1 32
ROUTSIT          8188B  VA         466      15640   1       64  1 32
 
 
 
The expanded files have a variable rec-length of 8188.
 
The same things happens if i compress files with a rec.lenght of 80 on the
3000,
transfer the compressed file to a pc, transfer it back to the 3000, and expand
it.
 
So the record lenght changes from 80B,FA to 8188B,VA
 
 
Is there a way to decompress pc-files with LZW, transfer them to a 3000 and
decompress
them with a specified record length ????
 
 
------  Guido Vestjens      ---------------------------------------------
     -  Systems Manager     -   E-mail:  [log in to unmask]    -
     -  Scholtens BV        -   Tel:  +31 46 594875                     -
     -  The Netherlands     -   Fax:  +31 46 524875                     -
-------------------------------------------------------------------------

ATOM RSS1 RSS2