Re: ascii templates & also IDL from emacs [message #15797] |
Sun, 13 June 1999 00:00  |
steinhh
Messages: 260 Registered: June 1994
|
Senior Member |
|
|
In article <37613B83.D976FEA6@dfanning.com> Dick Jackson
<djackson@dfanning.com> writes:
> noymer@my-deja.com wrote:
[...]
>> Also: Has anyone had success calling IDL for Windows as a sub-process
>> of NT-Emacs?
> If you mean the way that you can run idlwave-shell (formerly
> idl-shell) in an Emacs buffer with Unix-Emacs, I'm afraid not. Some
> time back, IDL for Windows *did* work as a command-line program, but
> alas, this has been lost with the advent of IDLDE. I have requested
> from RSI that this be reinstated if possible, but to no effect as yet.
> Of course you can still use Emacs as your editor, then ask IDLDE to
> reload it after each save you do from Emacs. But it *sure* would be
> nice to have idlwave-shell...
It looks like running IDL as an RPC server isn't possible for
non-unix platforms, but Callable IDL should be ok, no?
What I normally do is to run a slightly modified version of the
idl/external/rpc/example.c program as a command line input loop,
passing all input on to the idlrpc process. For most practical
purposes (other than interrupting operation with Ctrl-C, and
using multi-line commands) it looks as if I'm running the
normal, tty input IDL under idlwave-shell).
Now, it shouldn't be too difficult to make a Callable IDL
version of this setup, simply writing a main program that
initializes IDL, and sends all input to the IDL_ExecuteStr
(instead of IDL_RPCExecuteStr). Voila, and you've created your
own tty-input version of IDL.... I think.
Regards,
Stein Vidar
|
|
|