comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: history of command prompt
items: Re: history of command prompt

history of command prompt
type: item
description: 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 <newsgroups@planetmaker.de> Public Key: http://www.planetmaker.de/ingo.asc If you need an urgent reply, replace newsgroups by vgap.
creator: Ingo von Borstel
date: 2007-06-19T13:33:30-00:00

Re: history of command prompt
type: item
description: Hi, > > IDL> print, pref_get('IDL_RBUF_SIZE') Hm,... looks like my IDL doesn't know any function like pref_get() Is it something introduced after version 6.1? 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.
creator: Ingo von Borstel
date: 2007-06-20T07:31:19-00:00

Re: history of command prompt
type: item
description: On Jun 20, 3:45 am, Ingo von Borstel <newsgro...@planetmaker.de> wrote: > 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... In older versions of IDL, one changed the command line recall buffer by setting the !EDIT_INPUT system variable in the startup file, e.g. place !EDIT_INPUT = 600 in your startup file to get a recall buffer of 600 lines.
creator: wlandsman
date: 2007-06-20T11:04:42-00:00

Re: history of command prompt
type: item
description: On Jun 20, 1:36 am, Ingo von Borstel <newsgro...@planetmaker.de> wrote: > 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. > I'm starting to think there's something weired, but all is basically the > defaults, both IDL and emacs. :( > Sorry, I didn't see that you were using emacs. I belive JD has answered this before, but why don't you try. customizing you comint-input-ring-size variable in emacs. This is what I use for idlwave. (setq comint-input-ring-size 1024) This is what I use. -- Matthew Savoie - Scientific Programmer National Snow and Ice Data Center (303) 735-0785 http://nsidc.org
creator: Matt[2]
date: 2007-06-20T15:07:41-00:00

Re: history of command prompt
type: item
description: On Wed, 20 Jun 2007 09:36:41 +0200, Ingo von Borstel wrote: > Hi, > >> [quoted text muted] > > 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 :( This config variable is a generic option for setting the history length for any "comint" mode, including shell, idlwave, and many others. That's why you didn't find it under the IDLWave group (all those variables will start with "idlwave-"). Since by default the history save length is much greater than 32 lines, I assume you are running IDL outside of Emacs? Note that IDLWAVE's callback history is completely separate from IDL's. For a long time, it was the only way to have "persistent" command history between sessions (but I guess IDL 6.4 fixed that ?). It wasn't at all clear if you are using the IDLWAVE shell (i.e. an *idl* buffer will be present in your Emacs session), or just using Emacs + IDLWAVE to edit your ".pro" files. JD
creator: JD Smith
date: 2007-06-20T21:32:55-00:00

Re: history of command prompt
type: item
description: On Jun 20, 1:31 am, Ingo von Borstel <newsgro...@planetmaker.de> wrote: > Is it something introduced after version 6.1? Sorry, I didn't think of that. Yes, this was introduced in IDL 6.2. Mike -- www.michaelgalloy.com
creator: Michael Galloy
date: 2007-06-20T23:51:36-00:00