Perform miscellaneous instructions to control Tefigel operating mode
and state or to access the underlying operating system.
Execute an operating system shell command:
Print Tefigel version string:
Reset Tefigel internal state to initial state:
Dump Tefigel internal state:
Tune behavior of Tefigel:
"Hook" a user-defined Tefigel subroutine to a given processing event:
Remove association between a <hook-event> and a user-defined
A <command-string> can be any command for the command interpreter
(shell) of the underlying operating system.
Instruction reset resets all Tefigel variables and filters,
and sets special characters, markers, control switches and event hooks
to their default start-up state.
Instruction dump prints all available information
about Tefigel status, including variables and name spaces,
special characters, markers, filters, control switches, event hooks,
and library path.
Switch <control-variable>'s may be set to the <control-value>'s
described in the following list:
A <hook-subroutine> is a Tefigel script that can be associated
with one of the <hook-event>'s described in the following list:
0: do not automatically print a CR-LF sequence after each output line;
1: [default] print a CR-LF sequence after each output line.
0: Tefigel <instruction>'s are in upper case;
1: [default] Tefigel <instruction>'s are in lower case.
0: silently ignore attempts to process or call non-existent files;
1: print a warning message when attempting to process or call non-existent files;
2: [default] print a fatal error message and terminate processing on attempts to process or call non-existent files.
0: consider input lines starting with an instruction as command lines, even if a command marker has been defined;
1: [default] when a command marker is set, treat all input lines not starting with the current command marker as text lines.
0: [default] do not print tracing messages about Tefigel processing;
1: trace begin and end of file processing instruction execution;
2: same as 1, moreover trace execution of all instructions;
3: same as 2, moreover trace processing of all input lines, including text lines.
The <hook-subroutine> (if any) associated with this event will be called when processing of a new input file begins. The file name of the new input file will be passed as a parameter to the <hook-subroutine>.
The <hook-subroutine> (if any) associated with this event will be called when processing of the current input file ends. The file name of the input file will be passed as a parameter to the <hook-subroutine>.
[Back to top]