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

Home » Public Forums » archive » Re: Readline and/or easy command line history access
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Readline and/or easy command line history access [message #66248 is a reply to message #66245] Mon, 27 April 2009 08:42 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
Gins wrote:
> On Apr 27, 7:30 am, sav...@nsidc.org wrote:
>> Adam,
>>
>> Keflavich <keflav...@gmail.com> writes:
>>> Is there any sort of readline support in IDL more advanced
>>> than a simple command history? I can hit 'up' at the command line to
>>> retrieve old commands, but this is tedious and sometimes difficult in
>>> large interactive sessions.
>> I'm not sure what you're using either the IDE or idlwave-shell, but JD Smith
>> wrote idlwave-shell routines for exactly this. Just drop these into you
>> .emacs file.
>>
>> Hope this helps.
>>
>> Matt
>
> Thanks Matt, but I use the command line only. I'm a VI user in
> general, so the learning curve to get emacs running would be a bit
> extreme.
>
>
>
> Mike, the link you posted didn't have any code posted, but it linked
> to something called 'tecla' that appeared to have something like what
> I wanted. However, I tried it and it doesn't work as advertised. It
> also dies on a keyboard interrupt, making it pretty useless.
>
> Where can I find out more about callable IDL? It sounds pretty
> interesting, but a quick through the help only told me what it was,
> not how to use it. Do you think it's feasible to use, e.g., the bash
> command line as a frontend for IDL using callable idl? That seems
> like the ideal situation, though I'm not sure it makes sense in terms
> of keeping variables accessible to a session.
>
> And yes, my intent is to have an IPython equivalent for IDL, though
> even the default python terminal includes readline support.
>
> Adam

Callable IDL is the internal C API for IDL for writing a C program that
calls into IDL. This goes the opposite direction of a DLM; a DLM is a C
module using the internal API called from IDL.

Check the External Developer Guide in the online help for more information.

Mike
--
www.michaelgalloy.com
Associate Research Scientist
Tech-X Corporation
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: slope_intercept
Next Topic: Re: slope_intercept

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

Current Time: Sat Nov 29 17:13:24 PST 2025

Total time taken to generate the page: 0.47775 seconds