In normal stack operation sm_script will open a window, that allows you to abort in a controlled way. However sometimes it may be necessary to run a stack in the background, where we have to dispense with this widget. 2 cases come to mind:
% at hh:mm
% at now
Then at the prompt type:
at> start_stack
at> Ctrl-D
If you now want to abort the stack prematurely, you have to edit the file sm_script.abort with the desired abort flag:
0: keep going 1: restart from beginning 2: restart from last start 3: restart form current positionA fast way of doing this is:
% echo flag > sm_script.abortThis also works, if the stack is running in the foreground. (Let's say you want to abort it logged in from some remote machine for example.)
Holger Fleckenstein 2008-07-08