Re: IDLWAVE Mac OS X [message #49245] |
Wed, 12 July 2006 10:53  |
JD Smith
Messages: 850 Registered: December 1999
|
Senior Member |
|
|
On Wed, 12 Jul 2006 01:00:52 -0700, jgc wrote:
> Hi there,
>
> (This is a question for a non-computer expert. I am sorry but if you are
> an expert, I believe your good intentions, but you will shower me with a
> megaton of computer bablespeak that I will be unable to understand, even
> if I ca read Sanskrit backwards)
>
> Has any of you idlwave running smoothly on a Mac OS X?
>
> Idlde in X11 deserves the price of MrMs universe ugliest and greyest, so I
> am trying idlwave.
>
> I get emacs to recognise idl .pro files, and it attempt to show the idl
> toolbars, but then, everything dissapear, when I invoque the idl shell (or
> C-c C-s) two terminals open up separately, no inside buffer on emacs. I
> wonder if you will be willing to share some hints on the instruccions in
> your .emacs file, how many .emacs and .profiles and where (where by
> default, I know that you can customise everything).
>
> It looks to me that macs are rather pseudo-unix, and idl for macs does not
> run with /../../bin/idl
> but rather with /applcations/rsi/idl_6.2/idl.app, which seems to be in
> rather bad terms with emacs
>
> Many many thanks in advance for your answer, and many thanks to the cube
> if it is in plain English.
IDLWAVE works fine on OSX, though it sometimes requires a little bit
more setup, for the reasons you have found: IDL isn't always in a
known location. There is an FAQ regarding the specific problem of
IDLWAVE not knowing where to find idl:
http://idlwave.org/idlwave.html#TROUBLE. See #2. I believe newest
versions of IDL for Mac get installed in the old way:
/usr/local/rsi/idl.
I'm not sure, but it sounds like your "two terminal" problem could
relate to the setting `idlwave-shell-use-dedicated-frame', which makes
the *idl* buffer appear in a separate window, instead of the same
window as your ".pro" file.
In a ".pro" file, choose menu item IDLWAVE->Customize->Browse IDLWAVE
Group, click on Shell General Setup, and scroll down to "use dedicated
frame". Turn it off, scroll back to the top and hit "save for future
sessions". This is the easiest way to change settings in your .emacs
file (it does everything for you).
By the way, I strongly recommend using GNU Emacs (instead of
XEmacs/etc.) under OSX. It seems to work the best. When GNU Emacs 22
is (finally) released, hopefully this summer sometime, it will contain
a recent version of IDLWAVE, and will eliminate many of the
installation woes. It will also support working directly under Aqua
as a real Mac app (or via X11... my preference).
JD
|
|
|
Re: IDLWAVE Mac OS X [message #49255 is a reply to message #49245] |
Wed, 12 July 2006 03:04   |
Karsten Rodenacker
Messages: 98 Registered: July 1997
|
Member |
|
|
Try to open a Terminal.app and type
open -a /Applications/Utilities/X11.app
export DISPLAY=:0.0
emacs ttt.pro
^C^S in ttt.pro should bring up the second buffer with IDL!
Regards
KR
Am Wed, 12 Jul 2006 10:00:52 +0200 schrieb jgc <javier_corripio@yahoo.fr>:
> Hi there,
>
> (This is a question for a non-computer expert. I am sorry but if you
> are an expert, I believe your good intentions, but you will shower me
> with a megaton of computer bablespeak that I will be unable to
> understand, even if I ca read Sanskrit backwards)
>
> Has any of you idlwave running smoothly on a Mac OS X?
>
> Idlde in X11 deserves the price of MrMs universe ugliest and greyest,
> so I am trying idlwave.
>
> I get emacs to recognise idl .pro files, and it attempt to show the idl
> toolbars, but then, everything dissapear, when I invoque the idl shell
> (or C-c C-s) two terminals open up separately, no inside buffer on
> emacs. I wonder if you will be willing to share some hints on the
> instruccions in your .emacs file, how many .emacs and .profiles and
> where (where by default, I know that you can customise everything).
>
> It looks to me that macs are rather pseudo-unix, and idl for macs does
> not run with /../../bin/idl
> but rather with /applcations/rsi/idl_6.2/idl.app, which seems to be in
> rather bad terms with emacs
>
> Many many thanks in advance for your answer, and many thanks to the
> cube if it is in plain English.
>
> Javier
>
--
Erstellt mit Operas revolutionᅵrem E-Mail-Modul: http://www.opera.com/m2/
|
|
|
Re: IDLWAVE Mac OS X [message #49332 is a reply to message #49245] |
Wed, 12 July 2006 23:09  |
jgc
Messages: 10 Registered: July 2006
|
Junior Member |
|
|
Great!
Many thanks to all of you for your support. Even the experts made it
clear
(some of you -JD- must be extremely bussy with such useless users as my
self)
Everything is running smoothly now. The problem was a very messy
.emacs file, which when built from inside the customisation option of
idlwave is much clearer than what I could do.
I must also admit with embarrassment that I linked to idl.app and not
to /bin/idl but the confussion is in part due to that schizophrenic
dichotomy between the Darwin terminal and the x11 terminal. /bin/idl
works fine in the latter but is unknown in the former. I learnt my
little unix on an old sun solaris, which wasn't that fussy.
Thanks again,
Javier
|
|
|
Re: IDLWAVE Mac OS X [message #49335 is a reply to message #49245] |
Wed, 12 July 2006 19:56  |
William Daffer
Messages: 34 Registered: February 1999
|
Member |
|
|
JD Smith <jdsmith@as.arizona.edu> writes:
[snip]
>> It looks to me that macs are rather pseudo-unix, and idl for macs does not
>> run with /../../bin/idl
>> but rather with /applcations/rsi/idl_6.2/idl.app, which seems to be in
>> rather bad terms with emacs
[snip]
> I'm not sure, but it sounds like your "two terminal" problem could
> relate to the setting `idlwave-shell-use-dedicated-frame', which makes
> the *idl* buffer appear in a separate window, instead of the same
> window as your ".pro" file.
Or, perhaps it has to do with him starting .../idl.app, which opens
its own X-term window instead of .../rsi/idl/bin/idl?
Or, maybe both apply?
whd
--
INSURRECTION, n. An unsuccessful revolution. Disaffection's failure
to substitute misrule for bad government.
-- Ambrose Bierce: _The Devil's Dictionary_
|
|
|