[Thread Prev][Thread Next][Index]
Re: Running jnl files from a Unix command line
This topic comes up from time to time, usually on a linux system. I can't
remember the exact cause of the problem, something to do with the pager or
something. Anyway, the easy way to get around the problem is with the
-server -batch options. I've used this to run scripts that are 10
thousand+ lines long. So
ferret -batch -server < scriptname.jnl hopefully should fix the problem.
Hope this helps.
--Brent
On Thu, 10 Oct 2002, Bruce or Jennifer Ford wrote:
> I'm having problems running SOME jnl files from the command line.
>
> I have jnl files that run fine if I run them from within Ferret with a "go"
> command.
>
> However, I run the very same jnl file with "ferret -gif < jnlfile.jnl" and
> Ferret seems to pick up running the script midway through the script and of
> course errors out.
>
> It appears to have something to do with the script size (about 17 lines)
> because I ran smaller, very similar scripts of 8 lines and they work fine.
>
> I've tried:
>
> - Putting in a -memsize switch which seems to have an effect on where in
> the script ferret starts interpretting. The higher the memsize number, the
> later in the script it start running. No number let it run successfully
> though.
>
> - I tried bogusing in lines at the top of the script, but that too causes
> Ferret to start interpretting later in the script.
>
> If there's something in the archives about this, I can't find it.
>
> Any thoughts? Ideas for a work-around?
>
> Bruce
>
> ------------------------
> Bruce W. Ford
>
--
Brent A. McDaniel
Dept of Earth and Atmospheric Sciences
Georgia Institute of Technology
Atlanta, Ga. USA
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement