02.03.2014 Views

Tornado

Tornado

Tornado

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

C<br />

<strong>Tornado</strong> Tools Reference<br />

garonne% echo "i" | windsh vxsim1@garonne | grep tExcTask<br />

tExcTask _excTask 3b3fc0 0 PEND 9bee8 3b3dd8 0 0<br />

It is thus possible to execute a sequence of commands without entering interactive mode<br />

by redirecting input to a command file:<br />

garonne% windsh vxsim1@garonne < myOwnCommandFile<br />

C<br />

Completion and Synopsis facilities<br />

The shell supports target symbol completion and path completion using CTRL-D and<br />

TAB:<br />

– To complete a symbol (or a path), begin typing the symbol and then press CTRL-D to<br />

get the list of symbols matching the word entered:<br />

-> taskS CTRL-D<br />

taskSwitchHookAdd taskSpawn taskStackAllot<br />

taskSRSet taskSwitchTable taskSuspend<br />

taskSwitchHookDelete taskSRInit taskSwapHookAttach<br />

taskSwapHookAdd taskSwapHookDetach taskSwapReference<br />

taskSwapTable taskSwapHookDelete taskSrDefault<br />

taskSafe<br />

-> taskS<br />

– Select the symbol to complete by adding one or more characters and press CTRL-D or<br />

TAB to fully complete the symbol. Once the symbol is fully completed, the synopsis<br />

of the target function (or the WindSh command) can be printed by pressing CTRL-D.<br />

It is also possible do display the HTML help of the function by pressing CTRL-W.<br />

-> taskSp[TAB]<br />

-> taskSpawn CTRL-D<br />

taskSpawn() - spawn a task<br />

int taskSpawn<br />

(<br />

char *name, /* name of new task (stored at pStackBase) */<br />

int priority, /* priority of new task */<br />

/* task option word */<br />

int stackSize, /* size (bytes) of stack needed plus name */<br />

/* entry point of new task */<br />

int arg1, /* 1st of 10 req\xd5 d task args to pass to func */<br />

int arg2,<br />

int arg3,<br />

int arg4,<br />

int arg5,<br />

int arg6,<br />

int arg7,<br />

int arg8,<br />

int arg9,<br />

371

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!