DELAY.4TH(7) Standards, Environments, and Macros DELAY.4TH(7)

NAME


delay.4th - loader debugging boot module

DESCRIPTION


The file that goes by the name of delay.4th is a set of commands designed
to add debugging capabilities to loader(7). The commands of delay.4th by
themselves are not enough for most uses. Please refer to the examples
below for the most common situations, and to loader(7) for additional
commands.

Before using any of the commands provided in delay.4th, it must be included
through the command:

include delay.4th

This line is present in /boot/forth/beastie.4th file, so it is not needed
(and should not be re-issued) in a normal setup.

The commands provided by it are:

delay_execute Executes the [string] procedure stored in the
delay_command environment variable after
loader_delay seconds.

If the optional delay_showdots environment
variable is set, a continuous series of dots
is printed.

During the duration, the user can either press
Ctrl-C (or Esc) to abort or ENTER to proceed
immediately.

The environment variables that effect its behavior are:

delay_command
The command to be executed by delay_execute.

loader_delay
The duration (in seconds) to delay before executing
delay_command.

delay_showdots
If set, will cause delay_execute to print a continuous
series of dots during the delay duration.

FILES


/boot/loader The loader(7).
/boot/forth/delay.4th delay.4th itself.
/boot/loader.rc loader(7) bootstrapping script.

EXAMPLES


Introducing a 5-second delay before including another file from
/boot/loader.rc:

include /boot/forth/delay.4th
set delay_command="include /boot/forth/other.4th"
set delay_showdots
set loader_delay=5
delay_execute

SEE ALSO


loader.conf(5), beastie.4th(7), loader(7), loader.4th(7)

illumos July 20, 2018 illumos