help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: an octave unix execution question


From: Heber Farnsworth
Subject: Re: an octave unix execution question
Date: Fri, 27 Feb 1998 12:45:39 -0500 (EST)

I am running 2.0.9 on and Alpha running  DEC Unix 4.0.  I get the warning
that there are suspended jobs when I do what you describe.  If your user
types bg afterward then of course the job will continue to run in the
background and depending on the shell you may or may not get a warning
about background jobs running.  With tcsh you don't get a warning but
background jobs continue to run.  The previous seggestion about putting
the command in a script and starting it as a background process from the
command line is the best way to go for big jobs.

_____________________________________________________
Heber K. Farnsworth             phone: (614) 292-3092          
Assistant Professor of Finance    FAX: (614) 292-2418
Fisher College of Business
the Ohio State University
_____________________________________________________
On 26 Feb 1998, Terrence Brannon wrote:

> 
> We have a user, who is having a situation on 3 different platforms
> with 2.0.9: alpha-linux, dec-osf-3.2, and libc6 pentium linux. She
> invokes octave from the shell and then types in the name of the file
> containing the code she wants to execute, sans `.m'
> 
> Then she does what I didnt think could be done: she types control-z,
> then types bg and then logs out of the machine. When she logs back in,
> the jobs is apparently still running (top displays its status as R).
> 
> When I tried this, I got the following scenario:
> 
> address@hidden ~/rs/octave : octave
> Octave, version 2.0.9 (alpha-dec-osf3.2).
> Copyright (C) 1996, 1997 John W. Eaton.
> This is free software with ABSOLUTELY NO WARRANTY.
> For details, type `warranty'.
> 
> octave.bin:1> simple
> 
> [1]+  Stopped                 octave
> address@hidden ~/rs/octave : exit
> exit
> There are stopped jobs.
> address@hidden ~/rs/octave :    
> 
> But she is not warned "There are stopped jobs." when she makes her
> first exit attempt.
> 
> Lately she has been saying that Octave has been dying on her when she
> does this, but, I did not think this was unusual, for I thought all
> child processes, bg'ed or not, would be killed upon exit.
> 
> -- 
> Terrence Brannon * address@hidden * http://lnc.usc.edu/~brannon
> USC, HNB, 3614 Watt Way, Los Angeles, CA 90089-2520 * (213) 740-3397
> Great Milk Debate...  http://www.milk.com vs. http://www.notmilk.com
> 
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]