National Oceanic and
Atmospheric Administration
United States Department of Commerce

Controlling ferret.jnl files

Controlling ferret.jnl files

Question:

How do I avoid the creation of ferret.jnl files?

Solution:

Within any Ferret script you can "cancel mode journal" to turn off journaling; however a Ferret journal file will have been created when you started Ferret. To avoid this altogether, you can add commands to your .ferret startup file.

Insert into $HOME/.ferret:

 \cancel mode verify
cancel mode journal ! turn off journaling
sp rm -f ferret.jnl
set mode/last verify

The rm command deletes the journal file created upon entering Ferret. Withina Ferret session you can always start recording commands in a journal filewith

yes? set mode journal

or name your journal files with

yes? set mode journal:myjnl.jnl