|
From: Joe K. <jko...@co...> - 2006-10-10 02:32:46
|
on 10/9/06 8:15 PM, Ethan A Merritt at merritt@u.washington.edu wrote: > On Monday 09 October 2006 05:59 pm, Joe Koski wrote: >> >> First, the script doesn't pause for a carriage return at pause -1 > > That is correct. > You cannot control the execution of a script using 'pause -1'. > > Here is why: > 'pause -1' means "wait until more input is available". > In a keyboard session, this means in effect "wait until the > guy behind the keyboard types something". But in a scripted > session, more input is *always* available, right up until you > run off the end of the script. > >> Shouldn't pause -1 work, even in script input mode? > > No. What would it mean? Pause until....what, exactly? > You can tell it "pause mouse" instead, if you like. > Then it will wait for a mouse click, even if you are > in a script. > >> Tell me if I should submit this as a bug report. > > Nope. Ethan, OK, the reason I had never worried about this was because I had always used aquaterm with gnuplot, maxima and octave. The aquaterm terminal separately pops up the plot window and keeps it until it is later closed or aquaterm is quit. If I had used X11, I would have seen this behavior before. I guess having a separate application as the terminal has at least one minor advantage to slow learners. Thanks. Joe |