[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



In case anyone was paying attention to this (now dead) thread, Nick may have
given the best advice.

kws@delphi reminded me of the unix command I was looking for 'od'.  Thanks!
 "od -x SEN0404.DOC" reported the following (lots of stuff zapped).

0003700  6e63 3134 206d 616c 6e20 7375 626a 6563
0003720  7473 2076 7320 3136 382d 6420 4869 4665
0003740  202b 204c 6f46 650d 2836 2920 7020 7661
0003760  6c75 6520 696e 6320 666f 7220 3173 7420
0004000  7175 6172 7469 6c65 2072 6574 6963 2076
0004020  7320 3474 6820 7175 6172 7469 6c65 2072
0004040  6574 6963 0d0d 0d0d 0d00 0000 0000 0000
0004060  0000 0000 0000 0000 0000 0000 0000 0000
*
0006000  0004 0000 0904 0000 1504 0000 7204 0000
0006020  7e04 0000 5b05 0000 5d05 0000 6f05 0000
0006040  7105 0000 fd05 0000 ff05 0000 1306 0000
0006060  1506 0000 2906 0000 00fd 00fd 00fb 00fb
0006100  00fb 00fb 0000 0000 0000 0000 0000 0000
0006120  0000 0000 0000 0000 0000 0000 0000 0000
*
0006760  0000 0000 0000 0348 2a01 0335 0881 000d
0007000  0004 0000 0104 0000 0804 0000 0904 0000

Offsets on left are octal, I dumped the data in hexadecimal.
My file was corrupt on my IIGS at $0c00 = octal 06000.  But this
dump on the unix box looked correct, so I can assume pine extracts the
attachment without error.  Whew.

Next I downloaded SEN0404.DOC in binary mode using 1) Kermit and 2) z-modem
using Proterm3.1

1) Opened correctly in Word.  Hurray for Kermit.

2) Refused again to be opened by Word.  Bad for z-modem. 

I also note that in the files I've found corrupted, the corruption has
always occurred after a long run of NULLs, $00, in the file.  In the od
dump note that lines 04060 through 05760 are all nulls. (The * indicates
that intermediate lines are identical to the preceding line.)  If my
octal math is right, that is 960 nulls plus a few in the non null lines.

I think zmodem is messing up for some reason.  I'll go out on a limb and
guess it is not IBM's AIX implementation of OMEN technologies zmodem for unix.
Perhaps ProTerm3.1?  Not enough evidence to indict.

But I can trust pine to extract attachments, and if problems arise, falling
back to Kermit (or perhaps ymodem or xmodem) to download a MSWord file
seems to be the best suggestion.  To date, I have not noticed any problem
to using zmodem to download binary files other than MSWord, and zmodem has no
problem downloading the base64 version of the MSWord files.

I think this exhausts my interest in getting MSWord files with my IIGS.  I
have a couple of working solutions.  I don't feel like debugging zmodem :-)

Apple II forever!

  --Steve
  
-- 

 --Steve  (apple2pd@ground.ecn.uiowa.edu)