Re: history of command prompt [message #54503] |
Tue, 19 June 2007 07:07  |
Vince Hradil
Messages: 574 Registered: December 1999
|
Senior Member |
|
|
On Jun 19, 8:44 am, hradilv <hrad...@yahoo.com> wrote:
> On Jun 19, 8:33 am, Ingo von Borstel <newsgro...@planetmaker.de>
> wrote:
>
>
>
>> Hi there,
>
>> a question that bothers me for quite some time: is there a way in IDL to
>> have a history that exceeds the 32 entries that I currently have with
>> the default? Something like 500 would be nice :)
>
>> Should it matter: IDL 6.1 running on SuSE linux, using Emacs as an editor.
>
>> Best regards,
>> Ingo
>> --
>> Ingo von Borstel <newsgro...@planetmaker.de>
>> Public Key:http://www.planetmaker.de/ingo.asc
>
>> If you need an urgent reply, replace newsgroups by vgap.
>> From the "HELP" help:
>
> RECALL_COMMANDS
> Set this keyword to display the saved commands in the command input
> buffer. By default, IDL saves the last 20 lines of input in a buffer
> from which they can be recalled for command line editing. Arguments to
> HELP are ignored when RECALL is specified.
> The number of lines saved can be changed by assigning the desired
> number of lines to the IDL_RBUF_SIZE preference. For more information,
> see IDL_RBUF_SIZE.
Also, if you are using emacs with idlwave then you can change the size
of the history by changing the variable 'comint-input-ring-size' - see
"Idlwave Shell Command History File" in Customize->Idlwave Shell
Command Setup.
|
|
|
|
|
|
Re: history of command prompt [message #54633 is a reply to message #54503] |
Wed, 20 June 2007 00:36  |
Ingo von Borstel
Messages: 54 Registered: September 2006
|
Member |
|
|
Hi,
> Also, if you are using emacs with idlwave then you can change the size
> of the history by changing the variable 'comint-input-ring-size' - see
> "Idlwave Shell Command History File" in Customize->Idlwave Shell
> Command Setup.
Thanks for your advice. But it's the same as with Mark's one: Seems like
my idlwave / emacs-combination doesn't know that particular
configuration option. Upon your hint (being not very familiar with the
zillions of emacs configuration options), I found the IDLwave group in
the configuration menue and checked every single one within that
category and its subcategories, but without success. There doesn't seem
to be an option relating to the command history :(
I'm starting to think there's something weired, but all is basically the
defaults, both IDL and emacs. :(
Best regards,
Ingo
--
Ingo von Borstel <newsgroups@planetmaker.de>
Public Key: http://www.planetmaker.de/ingo.asc
If you need an urgent reply, replace newsgroups by vgap.
|
|
|
Re: history of command prompt [message #54636 is a reply to message #54507] |
Tue, 19 June 2007 18:36  |
Michael Galloy
Messages: 1114 Registered: April 2006
|
Senior Member |
|
|
On Jun 19, 7:44 am, hradilv <hrad...@yahoo.com> wrote:
> On Jun 19, 8:33 am, Ingo von Borstel <newsgro...@planetmaker.de>
> wrote:
>
>
>
>> Hi there,
>
>> a question that bothers me for quite some time: is there a way in IDL to
>> have a history that exceeds the 32 entries that I currently have with
>> the default? Something like 500 would be nice :)
>
>> Should it matter: IDL 6.1 running on SuSE linux, using Emacs as an editor.
>
>> Best regards,
>> Ingo
>> --
>> Ingo von Borstel <newsgro...@planetmaker.de>
>> Public Key:http://www.planetmaker.de/ingo.asc
>
>> If you need an urgent reply, replace newsgroups by vgap.
>> From the "HELP" help:
>
> RECALL_COMMANDS
> Set this keyword to display the saved commands in the command input
> buffer. By default, IDL saves the last 20 lines of input in a buffer
> from which they can be recalled for command line editing. Arguments to
> HELP are ignored when RECALL is specified.
> The number of lines saved can be changed by assigning the desired
> number of lines to the IDL_RBUF_SIZE preference. For more information,
> see IDL_RBUF_SIZE.
To be pedantic:
IDL> print, pref_get('IDL_RBUF_SIZE')
20
IDL> pref_set, 'IDL_RBUF_SIZE', 200, /commit
IDL> print, pref_get('IDL_RBUF_SIZE')
200
IDL> exit
$ idl
IDL> print, pref_get('IDL_RBUF_SIZE')
200
Mike
--
www.michaelgalloy.com
|
|
|