I\'ve been working on an embedded C/C++ project recently using the shell in Tornado 2 as a way of debugging what\'s going on in our kit. The only problem with this approach
The host shell has a recording capability built in. There are 3 environment variables available (in 6.x - not available in 5.x):
RECORD (on/off) : Controls recording of the shell
RECORD_TYPE (input/output/all): Determines what you will be recording
RECORD_FILE : Filename to save things to.
you use the ?shConfig command to configure the shell environment variable. ?shConfig by itself displays the variables. Here is how I set mine up:
-> ?shConfig
...
RECORD = off
RECORD_FILE = C:/test.txt
RECORD_TYPE = output
...
-> ?shConfig RECORD_TYPE all
-> ?shConfig RECORD_FILE myData.txt
-> ?shConfig RECORD on
Started recording commands in 'myData.txt'.