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

delay.4thloader debugging boot module

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:

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:

The command to be executed by delay_execute.
The duration (in seconds) to delay before executing delay_command.
If set, will cause delay_execute to print a continuous series of dots during the delay duration.

The loader(7).
delay.4th itself.
loader(7) bootstrapping script.

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

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

July 20, 2018 OmniOS