comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Transferring files to a Mac
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Transferring files to a Mac [message #3102] Thu, 17 November 1994 07:43 Go to next message
lrn is currently offline  lrn
Messages: 10
Registered: May 1993
Junior Member
Hi y'all,

I have tried to use the PICT display driver in PV-WAVE (SGI) to make
plots to transfer to a Macintosh computer. When I transfer the pict
file to tha Mac, using FTP, the Mac thinks it's a text file. (This is
true of all files I have tried to transfer, TIFF etc). Can anyone tell
me how to tell the Mac that a file is PICT (TIFF, . . .)? Macs are so
"user-friendly", thy are impossible to use!!!

Thanks,
Larry

--
____________________________________________________________ _______________
| Larry R. Nittler Human beings were invented by water as |
| lrn@howdy.wustl.edu a means of transporting itself from |
| Interstellar Dust Buster one place to another. -- Tom Robbins |
Re: Transferring files to a Mac [message #3178 is a reply to message #3102] Mon, 21 November 1994 09:03 Go to previous messageGo to next message
8015 is currently offline  8015
Messages: 52
Registered: November 1993
Member
In article <1994Nov17.154355.13275@wuphys.wustl.edu>,
Larry Roger Nittler <lrn@howdy.wustl.edu> wrote:
> Hi y'all,
>
> I have tried to use the PICT display driver in PV-WAVE (SGI) to make
> plots to transfer to a Macintosh computer. When I transfer the pict
> file to tha Mac, using FTP, the Mac thinks it's a text file. (This is
> true of all files I have tried to transfer, TIFF etc). Can anyone tell
> me how to tell the Mac that a file is PICT (TIFF, . . .)? Macs are so
> "user-friendly", thy are impossible to use!!!
>

Well that last statement kinda screams "I love my PC", doesn't it?
Actually, I think your problem is with your FTP software not your Mac,
but then again I'm not at your Mac. Anyway, you need to put your ftp
software into binary mode using the binary or image command at the ftp
prompt. If you're using Fetch from the Mac, select the "Binary" button
at the bottom of the Fetch window. If you're not using Fetch, I suggest
you get a copy from one of the Mac archives. Now, get the file from the
Unix system. Your Mac application should now be able to import the file
as a PICT or whatever format you have output from the SGI.

Mike Schienle Hughes Santa Barbara Research Center
8015@sbsun0010.sbrc.hac.com 75 Coromar Drive, M/S B28/87
Voice: (805)562-7466 Fax: (805)562-7881 Goleta, CA 93117
Re: Transferring files to a Mac [message #3193 is a reply to message #3102] Fri, 18 November 1994 11:31 Go to previous messageGo to next message
djackson is currently offline  djackson
Messages: 31
Registered: June 1993
Member
In article <1994Nov17.154355.13275@wuphys.wustl.edu>
lrn@howdy.wustl.edu (Larry Roger Nittler) writes:

> When I transfer the pict
> file to tha Mac, using FTP, the Mac thinks it's a text file.

Just a quick check, are you sure that you are transferring the file
in binary mode, and when you get it on your Mac, are you able to set
its filetype to PICT? When I do that, I can open it with a graphics
program.

-Dick

Dick Jackson djackson@ibd.nrc.ca Institute for Biodiagnostics
Opinions are mine alone. National Research Council Canada, Winnipeg
"It grows like a flower or it grows like a tumor. Love shows that
God has a sense of humor." -Joe Jackson, _Stranger_Than_Fiction_
Re: Transferring files to a Mac [message #3195 is a reply to message #3102] Fri, 18 November 1994 05:42 Go to previous messageGo to next message
nicholas is currently offline  nicholas
Messages: 22
Registered: January 1994
Junior Member
Larry,
The file you have transferred only has a PICT datafork. What you
need to do is open it in a graphics package (like Photoshop) and save
it as a PICT, this will add the resource fork. If you don't have
Photoshop or need to do this to many images, I think there are some
shareware programs that add the resource fork (and can work in batch
mode).

------------------------------------------------------------ ------------
-----
Andrew Nicholas
CPI onsite at Naval Research Lab
Code : 7640
(202) 767-9452 voice
(202) 404-8090 fax
nicholas@uap.nrl.navy.mil
------------------------------------------------------------ ------------
-----
Re: Transferring files to a Mac [message #3220 is a reply to message #3102] Fri, 02 December 1994 12:36 Go to previous message
lrn is currently offline  lrn
Messages: 10
Registered: May 1993
Junior Member
In article ru4@hacgate2.hac.com, 8015@sbsun0010.sbrc.hac.com (Mike Schienle) writes:
>> me how to tell the Mac that a file is PICT (TIFF, . . .)? Macs are so
>> "user-friendly", thy are impossible to use!!!
>
>
> Well that last statement kinda screams "I love my PC", doesn't it?

Well, actually no. It screams " I hate Macs", but makes no comments
whatsoever about any other type of computer. I do not have to use PCs,
so I could not care less about them. (I do like the SGI, though)


Thanks again to everyone who responded.
Larry

--
____________________________________________________________ _______________
| Larry R. Nittler Human beings were invented by water as |
| lrn@howdy.wustl.edu a means of transporting itself from |
| Interstellar Dust Buster one place to another. -- Tom Robbins |
Re: Transferring files to a Mac [message #3225 is a reply to message #3102] Fri, 02 December 1994 12:14 Go to previous message
jp2d is currently offline  jp2d
Messages: 1
Registered: December 1994
Junior Member
In article <1994Nov17.154355.13275@wuphys.wustl.edu>,
lrn@howdy.wustl.edu (Larry Roger Nittler) wrote, in part:

> I have tried to use the PICT display driver in PV-WAVE (SGI) to make
> plots to transfer to a Macintosh computer. When I transfer the pict
> file to tha Mac, using FTP, the Mac thinks it's a text file. (This is
> true of all files I have tried to transfer, TIFF etc). Can anyone tell
> me how to tell the Mac that a file is PICT (TIFF, . . .)?

Here is one solution, which has the virtue of making life easy once you
have set things up properly. It assumes that you are using the _fetch_
application on your mac to ftp over the files:

Step 1.

Run the application on the mac which you wish to use to view your
imported files. For example, I use NIH Image. Save a document from
this application to your hard disk.

Step 2.

Start fetch. Under the "customize" menu, select the "suffix mapping"
menu item. Click on the "new" button. This brings up a dialog box.
Type ".tiff" into the suffix window, leave the "binary" radio button
clicked, and click on the "choose example" button. Now use the dialog
box to select the sample document you saved in step one.

Step 3.

Whenever you create a tiff file on your unix box, name it with a ".tiff"
extension.

And, viola. Whenever you bring such a file over to your mac using fetch,
it will double-click open into the application you used in Step 1 above.

Hope this helps.

___

Jim Pekar jp2d@nih.gov Bethesda, Maryland Speaking only for myself.
Re: Transferring files to a Mac [message #3232 is a reply to message #3102] Thu, 01 December 1994 09:45 Go to previous message
djackson is currently offline  djackson
Messages: 31
Registered: June 1993
Member
In article <1994Nov30.185755.11079@eplrx7.es.duPont.com>
meadogc@poepsn01.po.dupont.com@gatekeeper.es.dupont.com (Gregory C.
Meador) writes:

> You must of course use the binary file trasnfer. You can still use the file with
> your MAC. Just load the application first and then open the PICT or TIFF file.
> If you don't want to do that then you can use ResEdit on the MAC to change the
> resource fork.

Much simpler than ResEdit hacking is to use a type-and-creator-changer
utility such as the freeware FinderInfo, with a nice drag-and-drop
usage, and you can tell it to be "just like this other file here".
Find it in one of the sumex-aim archives/mirrors in Utilities
directory.

Cheers,
-Dick

Dick Jackson djackson@ibd.nrc.ca Institute for Biodiagnostics
Opinions are mine alone. National Research Council Canada, Winnipeg
Re: Transferring files to a Mac [message #3237 is a reply to message #3178] Wed, 30 November 1994 10:57 Go to previous message
meadogc is currently offline  meadogc
Messages: 2
Registered: November 1994
Junior Member
In article ru4@hacgate2.hac.com, 8015@sbsun0010.sbrc.hac.com (Mike Schienle) writes:
> In article <1994Nov17.154355.13275@wuphys.wustl.edu>,
> Larry Roger Nittler <lrn@howdy.wustl.edu> wrote:
>> Hi y'all,
>>
>> I have tried to use the PICT display driver in PV-WAVE (SGI) to make
>> plots to transfer to a Macintosh computer. When I transfer the pict
>> file to tha Mac, using FTP, the Mac thinks it's a text file. (This is
>> true of all files I have tried to transfer, TIFF etc). Can anyone tell
>> me how to tell the Mac that a file is PICT (TIFF, . . .)? Macs are so
>> "user-friendly", thy are impossible to use!!!
>>
>
> Well that last statement kinda screams "I love my PC", doesn't it?
> Actually, I think your problem is with your FTP software not your Mac,
> but then again I'm not at your Mac. Anyway, you need to put your ftp
> software into binary mode using the binary or image command at the ftp
> prompt. If you're using Fetch from the Mac, select the "Binary" button
> at the bottom of the Fetch window. If you're not using Fetch, I suggest
> you get a copy from one of the Mac archives. Now, get the file from the
> Unix system. Your Mac application should now be able to import the file
> as a PICT or whatever format you have output from the SGI.
>
> Mike Schienle Hughes Santa Barbara Research Center
> 8015@sbsun0010.sbrc.hac.com 75 Coromar Drive, M/S B28/87
> Voice: (805)562-7466 Fax: (805)562-7881 Goleta, CA 93117


You must of course use the binary file trasnfer. You can still use the file with
your MAC. Just load the application first and then open the PICT or TIFF file.
If you don't want to do that then you can use ResEdit on the MAC to change the
resource fork.

Double-Click ResEdit, then File Open and select your file,
then select File Get Info for
under TYPE for a tiff file use TIFF in uppercase, for a PICT use PICT in uppercase
under creator use 8BIM for Adobe Photoshop or DAD2 for Canvas then click OK.

If you don't have either of these programs then use ResEdit to find out what the
creator "code" is for one of the files from a program that you do have and plug
that in.

Hope this helps,

Happy Computing,

Greg C. Meador
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: MP code for IDL
Next Topic: Princip Components, Factor Analysis software available?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 02:51:52 PDT 2025

Total time taken to generate the page: 0.80105 seconds