harrys@tons61.UUCP (Harry Skelton) (09/14/89)
I'm trying to transmit some "MS-DOS" MS Word files from my mac to my Unix machine for conversions into some Unix word processing documents. The problem I am having is when I transmit the files, it seems to keep the Mac header information. i.e. icon info etc... Is there a way I can strip the "Mac" information from this file and have only the data? Is there a good "C" program to do this? Many thanks in advance... Harry Skelton System Adminstrator U.S. Dept. of Transportation Washington, DC BTW: Background: Mac II using Red Ryder 10.3 (I think) connected to CCI/ICL Power 6/32 (tahoe), CCI Sys V ver 3.02.00, Office Power 5.0 with Power Conversions...hope it helps.. -- Harry Skelton - harrys@tons61, guardian@ugh
svc@well.UUCP (Leonard Rosenthol) (09/18/89)
In article <108@tons61.UUCP> harrys@tons61.UUCP (Harry Skelton) writes: > > I'm trying to transmit some "MS-DOS" MS Word files from my mac to > my Unix machine for conversions into some Unix word processing > documents. The problem I am having is when I transmit the files, it > seems to keep the Mac header information. i.e. icon info etc... > The reason you are seeing this is because you are sending the file in MacBinary format. MacBinary format is the file format which allows you to transmit a file from one Mac to another and have the Mac information (icon, etc) on the other side. To stop that from happening, simply turn off the MacBinary option in you communications program. I believe in Red Ryder that is found in the Transfer Options(??). > Is there a way I can strip the "Mac" information from this file and > have only the data? Is there a good "C" program to do this? > The information is only the first 128 bytes of the file, so if you strip off those bytes you will have your file as it was without the header. Also note that since the Mac uses a two forked document structure (file and resource) the MacBinary format also puts the two forks together into one for other systems that only know about one fork. Since MSWord docs only have one fork (data) there is no reason to worry about this, but I thought you might be interested anyway. -- +--------------------------------------------------+ Leonard Rosenthol | GEnie : MACgician Lazerware, inc. | MacNet: MACgician UUCP: svc@well.UUCP | ALink : D0025