From: drh@Auspex.COM (David Ryan Hawley)
Newsgroups: comp.sys.amiga.introduction
Subject: lharc, ftp, unix, kermit, modes
Keywords: arp
Date: 5 Jan 93 19:22:23 GMT
Organization: Auspex Systems, Santa Clara
Cc: Amigan@portal.com, cmcmanis@pepper.sun.com

I recently got a copy of the latest cshell for the amiga.  It was
in lharc format.  When i used my copy of lharc, it (lharc) said,
"newer format of lharc".  I got a list of ftp sites, and downloaded
a 9k copy dated 1992, using ftp's "binary" mode, and then used
kermit to download to my Amiga (using kermit's binary mode).  When
I try and use the copy i downloaded it said something about, "not
an executable file".  I used "protect" to set the mode to executable
on the Amiga, that didn't help.  I have since ftp'd another copy,
which is only about 3k in size.  I'm a little confused about what is
going on...  UNIX says the file is "data".  Do i need to use chmod
on the file before using kermit?

I have used "od" the UNIX utility to dump some bytes in hex, in hopes
that some guru out there can help.  Here is the first screen of  
the 3k file:


spock% od -x lharc | more
0000000  0000 03f3 0000 0000 0000 0002 0000 0000
0000020  0000 0001 0000 1c0b 0000 0228 0000 03e9
0000040  0000 1c0b 48e7 7efe 2448 2400 49f9 0000
0000060  0000 2c78 0004 48e7 2000 48e7 00e0 266e
0000100  0114 222b 00ac 670c e589 2041 2228 0034
0000120  e589 6006 220f 92ab 003a 7400 203c 0000
0000140  3468 b2ac 0878 6408 222c 0878 d081 7401
0000160  2641 223c 0001 0001 4eae ff3a 4a80 6606
0000200  4cdf 0704 4e75 2040 2440 2240 203c 0000
0000220  0225 99fc 0000 0000 20dc 5380 66fa 201c
0000240  670e 2049 d1dc d5d0 208a 2449 5380 60f0
0000260  2849 d9fc 0000 0000 297c 0000 3468 0894
0000300  4cdf 0700 294e 08d0 4a02 4cdf 0004 48ec
0000320  8000 08d8 6726 200c 0480 0000 0000 0680
0000340  0000 3468 d0ac 0878 0480 0000 0080 2e40
0000360  202c 0878 2f40 0004 d1ac 0894 220f 928b
0000400  0681 0000 0080 2941 089c 42ac 08d4 7000
0000420  223c 0000 3000 4eae fece 43fa 0154 7000
0000440  4eae fdd8 2940 333c 6606 7064 6000 00de
0000460  266e 0114 296b 0098 08cc 4aab 00ac 6758
0000500  206b 00ac d1c8 d1c8 2268 0010 d3c9 d3c9
0000520  2002 7200 1219 2949 08e0 d081 5280 4267


Here is the od for the 9k copy of lharc (first screen))

spock% od -x lharc-too-big | more
0000000  7f45 4c46 0102 0100 0000 0000 0000 0000
0000020  0002 0004 0000 0001 8000 1174 0000 0034
0000040  0001 74d8 0000 0000 0034 0020 0005 0028
0000060  0015 0011 0000 0006 0000 0034 8000 0034
0000100  0000 0000 0000 00a0 0000 00a0 0000 0005
0000120  0000 0000 0000 0003 0000 00d4 0000 0000
0000140  0000 0000 0000 0013 0000 0000 0000 0004
0000160  0000 0000 0000 0001 0000 0034 8000 0034
0000200  0000 0000 0000 7128 0000 7128 0000 0005
0000220  0000 2000 0000 0001 0000 715c 8000 915c
0000240  0000 0000 0000 0970 0001 61d8 0000 0007
0000260  0000 2000 0000 0002 0000 7a5c 8000 9a5c
0000300  0000 0000 0000 0070 0000 0000 0000 0007
0000320  0000 0000 2f75 7372 2f6c 6962 2f6c 6962
0000340  632e 736f 2e31 0000 0000 0043 0000 004e
0000360  0000 003a 0000 0000 0000 0000 0000 0014
0000400  0000 0048 0000 002f 0000 0000 0000 0045
0000420  0000 002e 0000 003b 0000 0019 0000 0009
0000440  0000 0000 0000 0007 0000 0023 0000 0047
0000460  0000 0030 0000 002d 0000 0013 0000 0034
0000500  0000 0028 0000 000a 0000 0000 0000 0049
0000520  0000 003c 0000 0021 0000 0040 0000 0000

Is anyone out there familiar with amiga binaries?

Thanks in advance,

-drh-