Batch Manager
Ferdi Franceschini
2006-08-17 15:46
Commands
The batch buffer manager handles the execution of batch files.
It can execute batch files directly. Additionally, batch files can be added into a queue
for later processing. The batch buffer manager supports the following commands described
below. The command for controlling the batch manager is called exe
exe
buffername
directly load the buffer stored in the file
buffername and execute it. The file is searched
in the batch buffer search path.
exe batchpath
newpath
Without an argument, this command lists the directories which are searched
for batch files.
newpath sets a new search path. It is possible
to specify multiple directories by separating them with colons.
exe syspath
newpath
Without an argument, this command lists the system directories which are
searched for batch files.
newpath sets a new system search path. It is
possible to specify multiple directories by separating them with colons.
exe info
prints the name of the currently executing batch buffer
exe info stack
prints the stack of nested batch files (i.e. batch files calling each
other).
exe info range
name
Without an argument prints the range of code currently being executed.
name prints the range of code executing in
named buffer within the stack of nested buffers. The reply looks like:
number of start character = number of end character = line
number
exe info text
name
Without an argument prints the code text currently being executed.
name prints the range of code text executing
in the named buffer within the stack of nested buffers.
exe enqueue
buffername
Appends buffername to the queue of batch
buffers to execute.
exe clear
Clears the queue of batch buffers
exe queue
Prints the content of the batch buffer queue.
exe run
Starts executing the batch buffers in the queue.
exe print
buffername
Prints the content of the batch buffer
buffername to the screen.
exe interest
Switches on automatic notification about starting batch files, executing a
new bit of code or for finishing a batch file. This is most useful for SICS
clients watching the progress of the experiment.
exe upload
Prepare the batch manager to upload a new set of commands from the
client
exe append
'tcl commands'
don't know the syntax. nha
Append some tcl commands.
exe save
filename
Save the commands to a batch file. Returns an error if you try to
overwrite an existing batch file
exe forcesave
filename
Will overwrite an existing batch file without warning.