You can obtain help at any time on the various Forth commands supported in OpenBoot by using the help command. The syntax for using help from the ok prompt is any of the choices listed in Table 10.2.
Because of the large number of commands, help is available only for commands that are used frequently.
The following example shows the help command with no arguments:
ok help
The system responds with the following:
Enter 'help command-name' or 'help category-name' for more help (Use ONLY the first word of a category description) Examples: help select -or- help line Main categories are: Repeated loops Defining new commands Numeric output Radix (number base conversions) Arithmetic Memory access Line editor System and boot configuration parameters Select I/O devices Floppy eject Power on reset Diag (diagnostic routines) Resume execution File download and boot nvramrc (making new commands permanent) ok
If y ou want to see the help messages for all commands in the category diag, for example, type the following:
ok help diag
The system responds with this:
test <device-specifier> Run selftest method for specified device Examples: test floppy - test floppy disk drive test net - test net test scsi - test scsi test-all Execute test for all devices with selftest method watch-clock Show ticks of real-time clock watch-net Monitor network broadcast packets watch-net-all Monitor broadcast packets on all net interfaces probe-scsi Show attached SCSI devices probe-scsi-all Show attached SCSI devices for all host adapters ok
If you want help for a specific command, type the following:
ok help test
The system responds with the following:
test <device-specifier> Run selftest method for specified device Examples: test floppy - test floppy disk drive test net - test net test scsi - test scsi test-all Execute test for all devices with selftest method watch-clock Show ticks of real-time clock watch-net Monitor network broadcast packets watch-net-all Monitor broadcast packets on all net interfaces probe-scsi Show attached SCSI devices probe-scsi-all Show attached SCSI devices for all host adapters ok