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 #66254 is a reply to message #66251] Sun, 26 April 2009 19:56 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
Keflavich wrote:
> Hi IDL folks,
> I've asked a few experts but never received a satisfactory
> answer. 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. On the bash command line and in GNU-
> readline supporting interfaces (e.g. python), it's possible to do
> things like type the first few characters of a command and use 'up' to
> scroll through commands in history that begin with those characters.
>
> On the bash command line, <control-r>, or 'reverse-i-search', is
> approximately equivalent.
>
> The problem is that I use a lot of commands that are rather long -
> e.g. plot commands to subsets of structs - and would prefer not to
> retype them too often. Also, I often use multi-line commands for
> procedures and functions that require a lot of keyword inputs, and
> those are very painful to scroll through.

There was this work by Allan Whiteford:

http://bit.ly/Azxu7

I think it should be possible to make your own IDL command line now in
IDL 6.4+ using Callable IDL. Making something analogous to IPython for
Python would be very useful.

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 Oct 11 10:25:17 PDT 2025

Total time taken to generate the page: 1.75815 seconds