-------------------------------------------
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 tkmedit 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/tkmedit.log

N.B.: every time recording is enabled, the
previous tkmedit.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 tkmedit.log

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

  Preferences -> Log tkmedit actions as tcl cmds
