From help-octave-request at bevo dot che dot wisc dot edu Thu Feb 26 22:01:24 1998 Subject: Re: an octave unix execution question From: lash at tellabs dot com To: brannon at surf dot usc dot edu (Terrence Brannon) Cc: help-octave at bevo dot che dot wisc dot edu Date: Thu, 26 Feb 1998 22:00:17 -0600 (CST) > > > 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: > > brannon at sand ~/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 Did you put the command in the background by typing "bg" here? In csh, what she is doing should work ok, at least until the background job trys to read input, or produce output to the now non-existant controlling tty. I am not sure about other shells. Back when I was doing development on a project where it took several hours to build the code, it was common practice for me to type: make >& make.out & right before logging out for the night. The next morning I could come in and start the day with a fresh load that had been built over night. Bill Lash lash at tellabs dot com