1.\" Copyright (c) 1999 Daniel C. Sobral 2.\" Copyright 2019 OmniOS Community Edition (OmniOSce) Association. 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright 9.\" notice, this list of conditions and the following disclaimer. 10.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" notice, this list of conditions and the following disclaimer in the 12.\" documentation and/or other materials provided with the distribution. 13.\" 14.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" 26.Dd January 25, 2022 27.Dt LOADER 7 28.Os 29.Sh NAME 30.Nm loader 31.Nd kernel bootstrapping final stage 32.Sh DESCRIPTION 33The 34.Nm 35is the final stage of 36.Nm illumos Ns 's 37kernel bootstrapping process. 38The actual name for the stage depends on the platform. 39On IA32 (i386) architectures with BIOS firmware, it is a 40.Pa BTX 41client and named 42.Nm loader . 43It is linked statically to libstand and usually located in the directory 44.Pa /boot . 45.Pp 46.Nm 47supports booting from 48.Cm ZFS , 49.Cm UFS , 50.Cm PCFS , 51.Cm HSFS 52and 53.Cm NFS 54file systems. 55Additionally, 56.Nm 57can load files from the 58.Cm TFTP 59file service. 60The NFS and TFTP based boot is enabled via 61.Xr pxeboot 7 . 62The 63.Nm 64also does support uncompressing gzip files while reading. 65The uncompression will happen automatically if the compressed file is stored 66without .gz suffix or if the file is accessed by leaving out the .gz suffix from 67the name. 68If the file is referred by full name, including .gz suffix, then the file 69content is read as is and the uncompression is not performed. 70.Pp 71.Nm 72provides a scripting language that can be used to 73automate tasks, do pre-configuration or assist in recovery 74procedures. 75This scripting language is roughly divided in 76two main components. 77The smaller one is a set of commands 78designed for direct use by the casual user, called "builtin 79commands" for historical reasons. 80The main drive behind these commands is user-friendliness. 81The bigger component is an 82.Tn ANS 83Forth compatible Forth interpreter based on FICL, by 84.An John Sadler . 85.Pp 86During initialization, 87.Nm 88will probe for a console and set the 89.Va console 90variable, or set it to serial console 91.Pq Do Li ttya Dc - Dq Li ttyd 92if the previous boot stage used that. 93If multiple consoles are selected, they will be listed separated by commas. 94Then, devices are probed, 95.Va currdev 96and 97.Va loaddev 98are set, and 99.Va screen-#cols , 100.Va screen-#rows , 101and 102.Va ISADIR 103are set. 104Next, 105.Tn FICL 106is initialized, the builtin words are added to its vocabulary. 107The inner interpreter 108.Nm 109will use with 110.Tn FICL 111is then set to 112.Ic interpret , 113which is 114.Tn FICL Ns 's 115default. 116After that, 117.Pa /boot/loader.rc 118is processed if available. 119These files are processed through the 120.Ic include 121command, which reads all of them into memory before processing them, 122making disk changes possible. 123.Pp 124At this point, if an 125.Ic autoboot 126has not been tried, and if 127.Va autoboot_delay 128is not set to 129.Dq Li NO 130(not case sensitive), then an 131.Ic autoboot 132will be tried. 133If the system gets past this point, 134.Va prompt 135will be set and 136.Nm 137will engage interactive mode. 138Please note that historically even when 139.Va autoboot_delay 140is set to 141.Dq Li 0 142user will be able to interrupt autoboot process by pressing some key 143on the console while kernel and modules are being loaded. 144In some 145cases such behaviour may be undesirable, to prevent it set 146.Va autoboot_delay 147to 148.Dq Li -1 , 149in this case 150.Nm 151will engage interactive mode only if 152.Ic autoboot 153has failed. 154.Ss Builtin Commands 155In 156.Nm , 157builtin commands take parameters from the command line. 158If an error condition occurs, an exception will be generated, 159which can be intercepted using 160.Tn ANS 161Forth exception handling 162words. 163If not intercepted, an error message will be displayed and 164the interpreter's state will be reset, emptying the stack and restoring 165interpreting mode. 166.Pp 167The builtin commands available are: 168.Pp 169.Bl -tag -width Ds -compact 170.It Ic autoboot Op Ar seconds Op Ar prompt 171Proceeds to bootstrap the system after a number of seconds, if not 172interrupted by the user. 173Displays a countdown prompt 174warning the user the system is about to be booted, 175unless interrupted by a key press. 176The kernel will be loaded first if necessary. 177Defaults to 10 seconds. 178.Pp 179.It Ic bcachestat 180Displays statistics about disk cache usage. 181For debugging only. 182.Pp 183.It Ic boot 184.It Ic boot Ar kernelname Op Cm ... 185.It Ic boot Fl flag Cm ... 186Immediately proceeds to bootstrap the system, loading the kernel 187if necessary. 188Any flags or arguments are passed to the kernel, but they 189must precede the kernel name, if a kernel name is provided. 190.Pp 191.Em WARNING : 192The behavior of this builtin is changed if 193.Xr loader.4th 7 194is loaded. 195.Pp 196.It Ic chain Ar device 197Chain load another boot loader from the specified device. 198Device can be either disk name or partition. 199.Pp 200.It Ic echo Xo 201.Op Fl n 202.Op Aq message 203.Xc 204Displays text on the screen. 205A new line will be printed unless 206.Fl n 207is specified. 208.Pp 209.It Ic heap 210Displays memory usage statistics. 211For debugging purposes only. 212.Pp 213.It Ic help Op topic Op subtopic 214Shows help messages read from 215.Pa /boot/loader.help . 216The special topic 217.Em index 218will list the topics available. 219.Pp 220.It Ic include Ar file Op Ar 221Process script files. 222Each file, in turn, is completely read into memory, 223and then each of its lines is passed to the command line interpreter. 224If any error is returned by the interpreter, the include 225command aborts immediately, without reading any other files, and 226returns an error itself (see 227.Sx ERRORS ) . 228.Pp 229.It Ic load Xo 230.Op Fl t Ar type 231.Ar file Cm ... 232.Xc 233Loads a kernel or file of opaque contents tagged as being of the type 234.Ar type . 235Kernel and modules can be either in a.out or ELF format. 236Any arguments passed after the name of the file to be loaded 237will be passed as arguments to that file. 238.Pp 239.It Ic ls Xo 240.Op Fl l 241.Op Ar path 242.Xc 243Displays a listing of files in the directory 244.Ar path , 245or the root directory if 246.Ar path 247is not specified. 248If 249.Fl l 250is specified, file sizes will be shown too. 251.Pp 252.It Ic lsdev Op Fl v 253Lists all of the devices from which it may be possible to load modules. 254In addition to disks and partitions, ZFS pools are also listed. 255If 256.Fl v 257is specified, more details are printed. 258For ZFS pools the output resembles 259.Nm zpool Cm status 260output. 261.Pp 262.It Ic lsmod Op Fl v 263Displays loaded modules. 264If 265.Fl v 266is specified, more details are shown. 267.Pp 268.It Ic lszfs Ar filesystem 269A ZFS extended command that can be used to explore the ZFS filesystem 270hierarchy in a pool. 271Lists the immediate children of the 272.Ar filesystem . 273The filesystem hierarchy is rooted at a filesystem with the same name 274as the pool. 275.Pp 276.It Ic more Ar file Op Ar 277Display the files specified, with a pause at each 278.Va screen-#rows 279displayed. 280.Pp 281.It Ic read Xo 282.Op Fl t Ar seconds 283.Op Fl p Ar prompt 284.Op Va variable 285.Xc 286Reads a line of input from the terminal, storing it in 287.Va variable 288if specified. 289A timeout can be specified with 290.Fl t , 291though it will be canceled at the first key pressed. 292A prompt may also be displayed through the 293.Fl p 294flag. 295.Pp 296.It Ic reboot 297Immediately reboots the system. 298.Pp 299.It Ic set Ar variable 300.It Ic set Ar variable Ns = Ns Ar value 301Set loader's environment variables. 302.Pp 303.It Ic show Op Va variable 304Displays the specified variable's value, or all variables and their 305values if 306.Va variable 307is not specified. 308.Pp 309.It Ic unload 310Remove all modules from memory. 311.Pp 312.It Ic unset Va variable 313Removes 314.Va variable 315from the environment. 316.Pp 317.It Ic \&? 318Lists available commands. 319.El 320.Ss ZFS Features 321.Nm 322supports the following format for specifying ZFS filesystems which 323can be used wherever 324.Nm 325refers to a device specification: 326.Pp 327.Ar zfs:pool/filesystem: 328.Pp 329where 330.Pa pool/filesystem 331is a ZFS filesystem name as described in 332.Xr zfs 8 . 333.Ss Builtin Environment Variables 334The 335.Nm 336has actually two different kinds of 337.Sq environment 338variables. 339There are ANS Forth's 340.Em environmental queries , 341and a separate space of environment variables used by builtins, which 342are not directly available to Forth words. 343It is the latter type that this section covers. 344.Pp 345Environment variables can be set and unset through the 346.Ic set 347and 348.Ic unset 349builtins, and can have their values interactively examined through the 350use of the 351.Ic show 352builtin. 353Their values can also be accessed as described in 354.Sx BUILTIN PARSER . 355.Pp 356Notice that these environment variables are not inherited by any shell 357after the system has been booted. 358.Pp 359A few variables are set automatically by 360.Nm . 361Others can affect the behavior of either 362.Nm 363or the kernel at boot. 364Some options may require a value, 365while others define behavior just by being set. 366Both types of builtin variables are described below. 367.Bl -tag -width bootfile 368.It Va autoboot_delay 369Number of seconds 370.Ic autoboot 371will wait before booting. 372If this variable is not defined, 373.Ic autoboot 374will default to 10 seconds. 375.Pp 376If set to 377.Dq Li NO , 378no 379.Ic autoboot 380will be automatically attempted after processing 381.Pa /boot/loader.rc , 382though explicit 383.Ic autoboot Ns 's 384will be processed normally, defaulting to 10 seconds delay. 385.Pp 386If set to 387.Dq Li 0 , 388no delay will be inserted, but user still will be able to interrupt 389.Ic autoboot 390process and escape into the interactive mode by pressing some key 391on the console while kernel and 392modules are being loaded. 393.Pp 394If set to 395.Dq Li -1 , 396no delay will be inserted and 397.Nm 398will engage interactive mode only if 399.Ic autoboot 400has failed for some reason. 401.It Va boot_ask 402Will set 403.Xr kernel 8 404.Fl a 405option. 406.It Va boot_debug 407Will set 408.Xr kernel 8 409.Fl d 410option. 411.It Va boot_kmdb 412Will set 413.Xr kernel 8 414.Fl k 415option. 416.It Va boot_reconfigure 417Will set 418.Xr kernel 8 419.Fl r 420option. 421.It Va boot_single 422Will set 423.Xr kernel 8 424.Fl s 425option. 426.It Va boot_verbose 427Will set 428.Xr kernel 8 429.Fl v 430option. 431.It Va boot-args 432Will set custom arguments for the kernel. 433If set in 434.Nm 435configuration, the 436.Nm 437startup will parse the 438.Va boot-args 439value to set boot prefixed variables listed above, any unrecognized options 440are added to kernel command line verbatim. 441.It Va bootfile 442The name of the kernel. 443.It Va console 444Defines the current console or consoles. 445Multiple consoles may be specified. 446In that case, the first listed console will become the default console for 447the 448.Xr kernel 8 . 449.It Va currdev 450Selects the default device. 451Syntax for devices is odd. 452.It Va interpret 453Has the value 454.Dq Li ok 455if the Forth's current state is interpreting. 456.It Va screen-#rows 457Define the number of lines on the screen, to be used by the pager. 458.It Va module_path 459Sets the list of directories which will be searched for modules 460named in a load command or implicitly required by a dependency. 461The default value for this variable is 462.Dq Li /platform/i86pc/${ISADIR} 463.It Va prompt 464Value of 465.Nm Ns 's 466prompt. 467Defaults to 468.Dq Li "${interpret}" . 469If variable 470.Va prompt 471is unset, the default prompt is 472.Ql > . 473.It Va os_console 474If set, the value is used to set 475.Xr kernel 8 476.Va console 477property. 478.El 479.Pp 480Other variables are used for loader or to set kernel properties or for 481informational purposes. 482.Ss Builtin Parser 483When a builtin command is executed, the rest of the line is taken 484by it as arguments, and it is processed by a special parser which 485is not used for regular Forth commands. 486.Pp 487This special parser applies the following rules to the parsed text: 488.Bl -enum 489.It 490All backslash characters are preprocessed. 491.Bl -bullet 492.It 493\eb , \ef , \er , \en and \et are processed as in C. 494.It 495\es is converted to a space. 496.It 497\ev is converted to 498.Tn ASCII 49911. 500.It 501\ez is just skipped. 502Useful for things like 503.Dq \e0xf\ez\e0xf . 504.It 505\e0xN and \e0xNN are replaced by the hex N or NN. 506.It 507\eNNN is replaced by the octal NNN 508.Tn ASCII 509character. 510.It 511\e" , \e' and \e$ will escape these characters, preventing them from 512receiving special treatment in Step 2, described below. 513.It 514\e\e will be replaced with a single \e . 515.It 516In any other occurrence, backslash will just be removed. 517.El 518.It 519Every string between non-escaped quotes or double-quotes will be treated 520as a single word for the purposes of the remaining steps. 521.It 522Replace any 523.Li $VARIABLE 524or 525.Li ${VARIABLE} 526with the value of the environment variable 527.Va VARIABLE . 528.It 529Space-delimited arguments are passed to the called builtin command. 530Spaces can also be escaped through the use of \e\e . 531.El 532.Pp 533An exception to this parsing rule exists, and is described in 534.Sx Builtins And FORTH . 535.Ss Builtins And FORTH 536All builtin words are state-smart, immediate words. 537If interpreted, they behave exactly as described previously. 538If they are compiled, though, 539they extract their arguments from the stack instead of the command line. 540.Pp 541If compiled, the builtin words expect to find, at execution time, the 542following parameters on the stack: 543.D1 Ar addrN lenN ... addr2 len2 addr1 len1 N 544where 545.Ar addrX lenX 546are strings which will compose the command line that will be parsed 547into the builtin's arguments. 548Internally, these strings are concatenated in from 1 to N, 549with a space put between each one. 550.Pp 551If no arguments are passed, a 0 552.Em must 553be passed, even if the builtin accepts no arguments. 554.Pp 555While this behavior has benefits, it has its trade-offs. 556If the execution token of a builtin is acquired (through 557.Ic ' 558or 559.Ic ['] ) , 560and then passed to 561.Ic catch 562or 563.Ic execute , 564the builtin behavior will depend on the system state 565.Bf Em 566at the time 567.Ic catch 568or 569.Ic execute 570is processed! 571.Ef 572This is particularly annoying for programs that want or need to 573handle exceptions. 574In this case, the use of a proxy is recommended. 575For example: 576.Dl : (boot) boot ; 577.Ss FICL 578.Tn FICL 579is a Forth interpreter written in C, in the form of a forth 580virtual machine library that can be called by C functions and vice 581versa. 582.Pp 583In 584.Nm , 585each line read interactively is then fed to 586.Tn FICL , 587which may call 588.Nm 589back to execute the builtin words. 590The builtin 591.Ic include 592will also feed 593.Tn FICL , 594one line at a time. 595.Pp 596The words available to 597.Tn FICL 598can be classified into four groups. 599The 600.Tn ANS 601Forth standard words, extra 602.Tn FICL 603words, extra 604.Fx 605words, and the builtin commands; 606the latter were already described. 607The 608.Tn ANS 609Forth standard words are listed in the 610.Sx STANDARDS 611section. 612The words falling in the two other groups are described in the 613following subsections. 614.Ss FICL Extra Words 615.Bl -tag -width wid-set-super 616.It Ic .env 617.It Ic .ver 618.It Ic -roll 619.It Ic 2constant 620.It Ic >name 621.It Ic body> 622.It Ic compare 623This is the STRING word set's 624.Ic compare . 625.It Ic compile-only 626.It Ic endif 627.It Ic forget-wid 628.It Ic parse-word 629.It Ic sliteral 630This is the STRING word set's 631.Ic sliteral . 632.It Ic wid-set-super 633.It Ic w@ 634.It Ic w! 635.It Ic x. 636.It Ic empty 637.It Ic cell- 638.It Ic -rot 639.El 640.Ss Loader Extra Words 641.Bl -tag -width XXXXXXXX 642.It Ic \&$ Pq -- 643Evaluates the remainder of the input buffer, after having printed it first. 644.It Ic \&% Pq -- 645Evaluates the remainder of the input buffer under a 646.Ic catch 647exception guard. 648.It Ic .# 649Works like 650.Ic \&. 651but without outputting a trailing space. 652.It Ic fclose Pq Ar fd -- 653Closes a file. 654.It Ic fkey Pq Ar fd -- char 655Reads a single character from a file. 656.It Ic fload Pq Ar fd -- 657Processes a file 658.Em fd . 659.It Ic fopen Pq Ar addr len mode Li -- Ar fd 660Opens a file. 661Returns a file descriptor, or \-1 in case of failure. 662The 663.Ar mode 664parameter selects whether the file is to be opened for read access, write 665access, or both. 666The constants 667.Dv O_RDONLY , O_WRONLY , 668and 669.Dv O_RDWR 670are defined in 671.Pa /boot/forth/support.4th , 672indicating read only, write only, and read-write access, respectively. 673.It Xo 674.Ic fread 675.Pq Ar fd addr len -- len' 676.Xc 677Tries to read 678.Em len 679bytes from file 680.Em fd 681into buffer 682.Em addr . 683Returns the actual number of bytes read, or -1 in case of error or end of 684file. 685.It Ic heap? Pq -- Ar cells 686Return the space remaining in the dictionary heap, in cells. 687This is not related to the heap used by dynamic memory allocation words. 688.It Ic inb Pq Ar port -- char 689Reads a byte from a port. 690.It Ic isvirtualized? Pq -- Ar addr len flag | Ar flag 691Returns 692.Ic true 693and string with virtualization engine name or 694.Ic false . 695.It Ic key Pq -- Ar char 696Reads a single character from the console. 697.It Ic key? Pq -- Ar flag 698Returns 699.Ic true 700if there is a character available to be read from the console. 701.It Ic ms Pq Ar u -- 702Waits 703.Em u 704microseconds. 705.It Ic outb Pq Ar port char -- 706Writes a byte to a port. 707.It Ic seconds Pq -- Ar u 708Returns the number of seconds since midnight. 709.It Ic tib> Pq -- Ar addr len 710Returns the remainder of the input buffer as a string on the stack. 711.El 712.Ss Loader Extra Framebuffer Words 713.Bl -tag -width XXXXXXXX 714.It Ic fb-bezier Pq Ar x1 y1 x2 y2 x3 y3 width -- 715Draws a quadratic Bezier curve in the current foreground color using the 716three provided points and specified line with. 717.It Ic fb-drawrect Pq Ar x1 y1 x2 y2 fill -- 718Draws a rectangle to the screen with the top left at 719.Em (x1,y1) 720and the bottom right at 721.Em (x2,y2) 722, using the current foreground color. 723If 724.Em fill 725is 726.Ic true 727then the rectangle will be filled in. 728.It Ic fb-line Pq Ar x1 y1 x2 y2 width -- 729Draws a line from 730.Em (x1,y1) 731to 732.Em (x2,y2) 733in the current foreground color and with the specified width. 734.It Ic fb-putimage Pq Ar flags x1 y1 x2 y2 addr len -- flag 735Outputs an image to the screen. 736Returns 737.Ic true 738if the image was able to be written and 739.Ic false 740otherwise. 741Only truecolor PNG images are supported and the path to the file 742must be provided through the 743.Em addr 744and 745.Em len 746arguments on the stack. 747The image will be displayed in the rectangular screen region with the top left 748at 749.Em (x1,y1) 750and the bottom right at 751.Em (x2,y2) 752. 753.Pp 754Either 755.Em x2 756or 757.Em y2 758can be set to "0" which causes it to be calculated to maintain the aspect 759ratio of the image. 760If both are "0" then the native resolution of the image will be used. 761.Pp 762If 763.Em x1 764is "0", then the image will be placed as far over to the right of the 765screen as possible. 766Similarly, if 767.Em y1 768is "0", then the image will be placed as far down the screen as possible. 769.Pp 770Flags is a bitfield; the following bits are defined: 771.Bl -tag -width XXXXX -offset indent 772.It 1 773Draw a single pixel border around the image in the current foreground color. 774.It 2 775Do not scroll the image with the rest of the screen. 776.It 128 777Output diagnostic information (for debugging). 778.El 779.It Ic fb-setpixel Pq Ar x y -- 780Colors the pixel at 781.Em (x,y) 782with the current foreground color. 783.It Ic term-drawrect Pq Ar x1 y1 x2 y2 -- 784Draws a rectangle with rounded corners using terminal coordinates and the 785current foreground color. 786.El 787.Ss Loader Defined Environmental Queries 788.Bl -tag -width Ds 789.It arch-i386 790.Ic TRUE 791if the architecture is IA32. 792.It loader_version 793.Nm 794version. 795.El 796.Ss Errors 797The following values are thrown by 798.Nm : 799.Bl -tag -width XXXXX -offset indent 800.It 100 801Any type of error in the processing of a builtin. 802.It -1 803.Ic Abort 804executed. 805.It -2 806.Ic Abort" 807executed. 808.It -56 809.Ic Quit 810executed. 811.It -256 812Out of interpreting text. 813.It -257 814Need more text to succeed -- will finish on next run. 815.It -258 816.Ic Bye 817executed. 818.It -259 819Unspecified error. 820.El 821.Sh FILES 822.Bl -tag -width /boot/defaults/loader.conf -compact 823.It Pa /boot/defaults/loader.conf 824.It Pa /boot/conf.d/* 825.It Pa /boot/loader.conf 826.It Pa /boot/loader.conf.local 827.Nm 828configuration files, as described in 829.Xr loader.conf 5 . 830.It Pa /boot/loader.help 831Loaded by 832.Ic help . 833Contains the help messages. 834.It Pa /boot/loader.rc 835.Nm 836bootstrapping script. 837.It Pa /boot/forth/loader.4th 838Extra builtin-like words. 839.It Pa /boot/forth/support.4th 840.Pa loader.conf 841processing words. 842.It Pa /boot/loader 843.Nm 844itself. 845.El 846.Sh EXAMPLES 847Boot in single user mode: 848.Pp 849.Dl boot -s 850.Pp 851Load the kernel, a boot_archive, and then autoboot in five seconds. 852Notice that a kernel must be loaded before any other 853.Ic load 854command is attempted. 855.Bd -literal -offset indent 856load /platform/i86pc/kernel/amd64/unix 857load -t rootfs /platform/i86pc/amd64/boot_archive 858autoboot 5 859.Ed 860.Pp 861Set the default device used for loading a kernel from a ZFS filesystem: 862.Bd -literal -offset indent 863set currdev=zfs:rpool/ROOT/knowngood: 864.Ed 865.Sh NOTES 866Although setting the 867.Va currdev 868as shown in the example above is supported, it is advisable to use loader 869beadm command or boot environment menu instead. 870The reason is, the beadm or menu selection will also instruct loader to clean up 871the currently set configuration and load configuration from the new boot 872environment. 873.Sh SEE ALSO 874.Xr btxld 1onbld , 875.Xr loader.conf 5 , 876.Xr boot 8 877.Sh STANDARDS 878For the purposes of ANS Forth compliance, loader is an 879.Bf Em 880ANS Forth System with Environmental Restrictions, Providing 881.Ef 882.Bf Li 883.No .( , 884.No :noname , 885.No ?do , 886parse, pick, roll, refill, to, value, \e, false, true, 887.No <> , 888.No 0<> , 889compile\&, , erase, nip, tuck 890.Ef 891.Em and 892.Li marker 893.Bf Em 894from the Core Extensions word set, Providing the Exception Extensions 895word set, Providing the Locals Extensions word set, Providing the 896Memory-Allocation Extensions word set, Providing 897.Ef 898.Bf Li 899\&.s, 900bye, forget, see, words, 901\&[if], 902\&[else] 903.Ef 904.Em and 905.Li [then] 906.Bf Em 907from the Programming-Tools extension word set, Providing the 908Search-Order extensions word set. 909.Ef 910