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

Home » Public Forums » archive » Re: history of command prompt
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: history of command prompt [message #54503] Tue, 19 June 2007 07:07 Go to next message
Vince Hradil is currently offline  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 #54505 is a reply to message #54503] Tue, 19 June 2007 06:50 Go to previous messageGo to next message
aleks.franca@gmail.co is currently offline  aleks.franca@gmail.co
Messages: 33
Registered: March 2007
Member
On 19 jun, 10:33, 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.

Go on "FILE > PREFERENCES..."
In "COMMAND RECALL BUFFER" you can change it.
Re: history of command prompt [message #54507 is a reply to message #54505] Tue, 19 June 2007 06:44 Go to previous messageGo to next message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
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.
Re: history of command prompt [message #54632 is a reply to message #54505] Wed, 20 June 2007 00:45 Go to previous message
Ingo von Borstel is currently offline  Ingo von Borstel
Messages: 54
Registered: September 2006
Member
Hi,
> Go on "FILE > PREFERENCES..."
> In "COMMAND RECALL BUFFER" you can change it.
While this changes the buffer size in the IDLDE, it doesn't change it
for command line usage. Unfortunately that's what I'd rather have...

Thanks anyway & 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 #54633 is a reply to message #54503] Wed, 20 June 2007 00:36 Go to previous message
Ingo von Borstel is currently offline  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 Go to previous message
Michael Galloy is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: How to retrieve information from an event to use it in another event?
Next Topic: main or procedure

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

Current Time: Wed Oct 08 15:05:57 PDT 2025

Total time taken to generate the page: 0.00659 seconds