Re: Unix->Mac transition [message #20677] |
Wed, 19 July 2000 00:00 |
Struan Gray
Messages: 178 Registered: December 1995
|
Senior Member |
|
|
Ben Tupper, tupper@seadas.bigelow.org writes:
> I use the remaining 90% of the time trying to figure
> out which way this *&^% round mouse is pointing.
Don't get me started. I use an old ADB dongle with an adapter
since we still pass it round between various machines here and I
didn't want a USB version that could only be used on some Macs. A
useful side effect is that I get to use my old keyboard and mouse.
One solution to the 'which way is up' problem is to pop the side
panels off the mouse. Or buy a better one elsewhere.
Struan
PS: the G4s are nice aren't they :-)
|
|
|
Re: Unix->Mac transition [message #20684 is a reply to message #20677] |
Wed, 19 July 2000 00:00  |
Dennis J. Boccippio
Messages: 6 Registered: July 2000
|
Junior Member |
|
|
In article <397489E3.7D6BABD7@seadas.bigelow.org>, Ben Tupper
<tupper@seadas.bigelow.org> wrote:
>
> Hundreds. Lots of folders/subfolders... bleh:(
>
Um, why not tar the files on the Sun, ftp the tar'd file, and use
Stuffit Expander to expand it? (Don't know if the free Expander will do
that, but registering the DropStuff component is very cheap). This will
minimize the opportunity for any apps to try to be "smart" about setting
file types/creators...
From a Sun you shouldn't need to do any CR/LF conversion, IIRC, and
Stuffit should just unpack the .pro files as flat documents or with the
correct creator/type.
I've never found explicitly setting mapping in File Exchange to be
necessary. Try taking that entry out, if its still in there.
If you still get .pro's showing up as applications, something may be
amiss with your Finder database. Try running TechTool Lite to check it.
- DJB
> It seems strange that the .pro files that were installed with the IDL
> distribution CD are recognized as File Type = 'IDL text'
> but these are File type = 'IDL application'
>
> Thanks,
>
> Ben
>
>
> --
> Ben Tupper
>
> Bigelow Laboratory for Ocean Science
> tupper@seadas.bigelow.org
>
> pemaquidriver@tidewater.net
>
>
>
|
|
|
Re: Unix->Mac transition [message #20693 is a reply to message #20677] |
Tue, 18 July 2000 00:00  |
Kenneth P. Bowman
Messages: 585 Registered: May 2000
|
Senior Member |
|
|
In article <3974AE36.225F194D@seadas.bigelow.org>, Ben Tupper
<tupper@seadas.bigelow.org> wrote:
> I use the remaining 90% of the time trying to figure
> out which way this *&^% round mouse is pointing.
The first thing I did with my new G4 was buy a mouse. There are a
number of good ones out there. I prefer one of the cheaper ones: I
bought a Kensington Scroll Mouse for ~$30. It has two buttons and a
clickable scroll wheel. All the buttons can be programmed globally and
for individual applications.
NB! Make sure you download the latest Kensington driver. The one that
shipped with the mouse would crash my whole system when using Eudora.
Ken
|
|
|
Re: Unix->Mac transition [message #20694 is a reply to message #20693] |
Tue, 18 July 2000 00:00  |
promashkin
Messages: 169 Registered: December 1999
|
Senior Member |
|
|
I have done code (.pro) transfering back and forth Unix - Mac a number
of times. I never had to either worry about line feeds not file type. I
guess my FTP defaults are set better than yours. However, I think that
feature called "Suffix mapping" in Fetch can help in this case. Create a
rule for extension .PRO to set creator to "MIDL" and type to "TEXT".
.SAV files have SIDL type, MIDL creator. This is how IDL sets the fork.
I don't even bother with this, as my default transfer type is TEXT, and
IDL opens TEXT type easily, although the icons on files in Finder aren't
as cute for non-IDL text files.
Once you get the files to the Mac, wait until you get "widget must be
realized before you can..." compiler message. I had a bunch of those
from the code that worked perfectly on Unix, once I tried to use it on
the same version of IDL on the Mac. Add to that the different-looking
GUI, and I am sure you will be pleased with the overall experience :-)
Good luck,
Pavel
Ben Tupper wrote:
>
> Hello,
>
> We are transferring some IDL work from a UNIX (IDL5.2, SunOS Release 5.7
> Generic) to a Mac (IDL5.3, MacOS 9). I had cleverly thought that I
> could simply ftp the bazillion .pro files from one to the other and
> away-we-go! Hope springs eternal and fools are born each day. The
> Mac IDLDE is not recognizing the .pro files. We have set the file type
> to IDL text (just as the RSI example code is set) using the Mac's file
> exchange control panel. No luck. The OS seems to be insisting that
> the .pro text files are actually 'applications'. I'm beginning to
> suspect that the UNIX flavor of text must be changed in some way to fool
> the Mac.
>
> Any suggestions welcome. Thanks.
>
> Ben
>
> P.S. For what it's worth, the last Mac (a Mac PLUS) I spent time with
> had 4kb of memory, ran OS 6.01, had a mouse that looked like one, and
> didn't look so much like a tropical fish. Oh ,Toto, I don't think we
> are in Kansas anymore!
>
> --
> Ben Tupper
>
> Bigelow Laboratory for Ocean Science
> tupper@seadas.bigelow.org
>
> pemaquidriver@tidewater.net
|
|
|
Re: Unix->Mac transition [message #20697 is a reply to message #20693] |
Tue, 18 July 2000 00:00  |
Ben Tupper
Messages: 186 Registered: August 1999
|
Senior Member |
|
|
Ben Tupper wrote:
>
>
> Speaking of rapid... the Mac (G4, MacOS 9) performs a particular cell
> detection routine in about 10% of the time it takes the Unix to perform
> the same task. I use the remaining 90% of the time trying to figure
> out which way this *&^% round mouse is pointing. This must be a very
> fine demonstration of the Peter Principal.
>
>
Peter Principle!
--
Ben Tupper
Bigelow Laboratory for Ocean Science
tupper@seadas.bigelow.org
pemaquidriver@tidewater.net
|
|
|
Re: Unix->Mac transition [message #20698 is a reply to message #20693] |
Tue, 18 July 2000 00:00  |
Ben Tupper
Messages: 186 Registered: August 1999
|
Senior Member |
|
|
Struan Gray wrote:
> Ben Tupper, tupper@seadas.bigelow.org writes:
>
>> It seems strange that the .pro files that were
>> installed with the IDL distribution CD are
>> recognized as File Type = 'IDL text'
>> but these are File type = 'IDL application'
>
> I've seen something similar but could never find a way to fix it
> during transfer and was never sure if it was a problem with the text
> file (pretty unlikely) or with the file types the IDL application
> registers with the Finder through it's resource fork (I'm suspicious).
>
> BBEdit does a nice job of working with other program's text files
> without mucking up their Finder information, and it will save in Unix,
> Mac and PC text formats. It only opens a file when reading/writing,
> so IDL can compile from the same file that you're editing with BBEdit.
> The full version will even edit files over an ftp link if this is of
> interest. http://web.barebones.com has info and downloads.
>
> There's another utility called BunchTyper which I use for
> mass-converting file types and creators. If you don't want to re-do
> the downloads it might help.
>
> Struan
Whew!
The solution was (is) BunchTyper (Shareware = $10). Each file had a
type code of APPL with creator MIDL.
BunchTyper rapidly.... very rapidly... converted each file to
TEXT:MIDL. Where's my checkbook? I owe that guy $10 and many thanks.
Speaking of rapid... the Mac (G4, MacOS 9) performs a particular cell
detection routine in about 10% of the time it takes the Unix to perform
the same task. I use the remaining 90% of the time trying to figure
out which way this *&^% round mouse is pointing. This must be a very
fine demonstration of the Peter Principal.
Thanks again for all your help,
Ben
--
Ben Tupper
Bigelow Laboratory for Ocean Science
tupper@seadas.bigelow.org
pemaquidriver@tidewater.net
|
|
|
Re: Unix->Mac transition [message #20700 is a reply to message #20693] |
Tue, 18 July 2000 00:00  |
Paul Woodford
Messages: 43 Registered: June 2000
|
Member |
|
|
In article <397489E3.7D6BABD7@seadas.bigelow.org>, Ben Tupper
<tupper@seadas.bigelow.org> wrote:
> It seems strange that the .pro files that were installed with the IDL
> distribution CD are recognized as File Type = 'IDL text'
> but these are File type = 'IDL application'
Yes, very odd. I would suggest that you get a utility that shows the
actual type and creator codes associated with a file. I use ResEdit,
which can be found in lots of places - here's one:
http://www.resexcellence.com/resedit.shtml
Go under the File menu, select Get File/Folder Info..., and then select
one of the offending files. I would expect a type of APPL if the system
thinks it's an application.
By the way, you can do lots of dangerous things with ResEdit, so be
careful if you actually start using it to make changes.
> I noticed that FETCH is actually shareware (according to the Dartmouth
> site.)
But I think it's free for educational and maybe non-profit institutions.
--
Paul Woodford, Ph.D.
Essex Corporation
For faster email response, replace us dot net with essexcorp dot com
|
|
|
Re: Unix->Mac transition [message #20702 is a reply to message #20693] |
Tue, 18 July 2000 00:00  |
Paul Woodford
Messages: 43 Registered: June 2000
|
Member |
|
|
In article <8l1vui$g16$1@news.lth.se>, Struan Gray
<struan.gray@sljus.lu.se> wrote:
> 2. use BBEdit Lite to do a global switch of CR to CRLF
Definitely get BBEdit Lite, but I don't think that the CR - CRLF
switching is actually necessary. We use the Unix standard for our .pro
files, and are able to use them on Windows, Mac, and Unix.
--
Paul Woodford, Ph.D.
Essex Corporation
For faster email response, replace us dot net with essexcorp dot com
|
|
|
Re: Unix->Mac transition [message #20704 is a reply to message #20693] |
Tue, 18 July 2000 00:00  |
Struan Gray
Messages: 178 Registered: December 1995
|
Senior Member |
|
|
Ben Tupper, tupper@seadas.bigelow.org writes:
> It seems strange that the .pro files that were
> installed with the IDL distribution CD are
> recognized as File Type = 'IDL text'
> but these are File type = 'IDL application'
I've seen something similar but could never find a way to fix it
during transfer and was never sure if it was a problem with the text
file (pretty unlikely) or with the file types the IDL application
registers with the Finder through it's resource fork (I'm suspicious).
BBEdit does a nice job of working with other program's text files
without mucking up their Finder information, and it will save in Unix,
Mac and PC text formats. It only opens a file when reading/writing,
so IDL can compile from the same file that you're editing with BBEdit.
The full version will even edit files over an ftp link if this is of
interest. http://web.barebones.com has info and downloads.
There's another utility called BunchTyper which I use for
mass-converting file types and creators. If you don't want to re-do
the downloads it might help.
Struan
|
|
|
Re: Unix->Mac transition [message #20705 is a reply to message #20693] |
Tue, 18 July 2000 00:00  |
Ben Tupper
Messages: 186 Registered: August 1999
|
Senior Member |
|
|
Struan Gray wrote:
> 1. use Fetch to do the ftp transfer. It's well behaved, doesn't
> try to be 'helpful' behind your back and works nicely when
> backgrounded by other applications without crashing. It can set the
> file type/creator correctly (TEXT/MIDL).
>
Yes, we have been using Fetch 3.03 (most recent version.) We even
extended our capacity for cleverness by
forcing FETCH
>
> 2. use BBEdit Lite to do a global switch of CR to CRLF
>
We'll try this.
We did try a UNIX2DOS on a text file. That didn't help.
>
> Both programs are free and widely available on the net. Ask if
> you have trouble tracking them down.
I noticed that FETCH is actually shareware (according to the Dartmouth
site.)
>
>
> For single files you should be able to open them manually from
> within IDL and "Save As" to get something which opens by double
> clicking. A royal pain with a whole library though.
Hundreds. Lots of folders/subfolders... bleh:(
It seems strange that the .pro files that were installed with the IDL
distribution CD are recognized as File Type = 'IDL text'
but these are File type = 'IDL application'
Thanks,
Ben
--
Ben Tupper
Bigelow Laboratory for Ocean Science
tupper@seadas.bigelow.org
pemaquidriver@tidewater.net
|
|
|
Re: Unix->Mac transition [message #20707 is a reply to message #20705] |
Tue, 18 July 2000 00:00  |
Struan Gray
Messages: 178 Registered: December 1995
|
Senior Member |
|
|
Ben Tupper, tupper@seadas.bigelow.org writes:
> Any suggestions welcome.
1. use Fetch to do the ftp transfer. It's well behaved, doesn't
try to be 'helpful' behind your back and works nicely when
backgrounded by other applications without crashing. It can set the
file type/creator correctly (TEXT/MIDL).
2. use BBEdit Lite to do a global switch of CR to CRLF
Both programs are free and widely available on the net. Ask if
you have trouble tracking them down.
For single files you should be able to open them manually from
within IDL and "Save As" to get something which opens by double
clicking. A royal pain with a whole library though.
Struan
|
|
|