TIMER

##
TIMER

            [SIC\]TIMER
            [SIC\]TIMER ON|OFF
            [SIC\]TIMER [Time [Unit]] [/COMMAND String]

        All  Gildas  programs  can be automatically closed (normal exit) after a
        defined period of inactivity at the prompt level. This period is defined
        by  the  Sic  timer.  The  timer starts as soon as the program prompt is
        available (i.e. inactivity). The timer is stopped when a command  starts
        running.  It  restarts  from  the beginning when the prompt is back. The
        timer is unset (i.e. no timer) by default.

        Without argument, display the timer status.

        With the keyword ON or OFF as argument, enable or disable the timer. The
        timer is enabled by default.

        With  a  Time argument, set the timer to the input value. Unit is a key-
        word which can be HOURS, MINUTES, or SECONDS (default HOURS).

        The command executed once the timer is done can be customized  with  the
        option  /COMMAND. The command string must be a single argument, possibly
        double-quoted if blanks are needed, e.g.
          SIC> TIMER /COMMAND EXIT
          SIC> TIMER /COMMAND "EXAMINE PI"
          SIC> TIMER /COMMAND "SAY ""Hello from timer"""
        Default command at startup is EXIT.

        The timer duration can be customized in a Sic  logical  named  SIC_TIMER
        (integer  value,  in hour unit). This value is evaluated once at startup
        from one of the Sic logical dictionaries. Later changes are ignored.