-------------------------------------------
tcl function: enabledisablelog -- toggle log
-------------------------------------------
default: OFF

Record Tcl Commands for Interface Actions

To get a file containing all the tcl commands
that have been executed as tksurfer interface
buttons and entries were interactively
manipulated, simply click the "tcl:" label.

The "tcl:" label turns bold to indicate that tcl
command recording is enabled.  Clicking it again
unbolds it and closes the log file.  The tcl
commands will be dumped into:

  $FUNCTIONALS_DIR/$session/image/scripts/tksurfer.log

N.B.: every time recording is enabled, the
previous tksurfer.log in the scripts dir in this
session is erased and a new clean log is begun.

On clicking "tcl:", an xterm will also pop-up,
which echoes the commands as they are written into
the script.  The xterm runs:

  cd $FUNCTIONALS_DIR/$session/image/scripts
  tail -f tksurfer.log

The tcl logging function can be turned on or off
(default off) for each new tksurfer started by
the current csurf session with:

  Preferences -> Log tksurfer actions as tcl cmds
