Re: Multiple journal files on linux [message #31305 is a reply to message #31108] |
Mon, 24 June 2002 06:59  |
R.Bauer
Messages: 1424 Registered: November 1998
|
Senior Member |
|
|
Mark McGrath wrote:
>
> Hey all,
>
> Is there a way of creating a different journal file for each IDL
> session that I start? I tend to do a lot of command line editing first
> before I am happy to put code in a procedure/function and I tend to
> forget what I have done after several weeks. Journal files are usually
> small so storing them would not really be a problem (though a simple
> script could be written to remove old files or even archive them!).
>
> I know about the history recall available in IDLWAVE, but here we have
> a linux cluster, so I could be running IDL on several different
> machines over a period of time (or several sessions on the same
> machine) and from experience I think it is the last IDLWAVE session
> that is ended that becomes the history file.
>
> Obviously if the fisrt bit could be sorted then it would be trivial to
> incorpoate it into IDLWAVE (I guess)!
>
> Sl�n, Mark.
Dear Mark,
I am not sure if it would help to have several different journals
To begin journaling to the file myjournal.pro, enter:JOURNAL,
'myjournal.pro'
To show on which machine it is done you can use the hostname and the
clock.
I believe this is different enough.
Myself I am working many times interactive too. All what I am evaluating
becomes a procedure or function with a lot of comments.
The Journal has no comments how did you remember later what's you like
to
have and what's not?
Normally I start in idlde or emacs with a procedure declaration and a
stop.
All what's I like to do are defined interactively. If it works I copy
this
to the procedure. The procedure runs again and stops somewhere else
where I like to add some lines and so on. After the routine is finished
I take a look on it if it is better a function or a procedure.
Reimar
--
Reimar Bauer
Institut fuer Stratosphaerische Chemie (ICG-I)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
------------------------------------------------------------ -------
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml
============================================================ =======
|
|
|