summaryrefslogtreecommitdiffstats
path: root/sys/boot/forth
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2016-05-18 05:58:57 +0000
committerimp <imp@FreeBSD.org>2016-05-18 05:58:57 +0000
commit09779a5229cf3e88e2b21800f48ccfc6c762d0fd (patch)
tree747759ca04895a3905488b87e057c7034bd51dea /sys/boot/forth
parent4b1c0469538d06f69fe697f6e3746e44d027702e (diff)
downloadFreeBSD-src-09779a5229cf3e88e2b21800f48ccfc6c762d0fd.zip
FreeBSD-src-09779a5229cf3e88e2b21800f48ccfc6c762d0fd.tar.gz
Explain why extra sutff always outputs even when it shouldn't for the
'?' command. Wasted a bunch of time tracking it down tonight.
Diffstat (limited to 'sys/boot/forth')
-rw-r--r--sys/boot/forth/loader.4th7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/boot/forth/loader.4th b/sys/boot/forth/loader.4th
index 8df8cbb..a18fa1e 100644
--- a/sys/boot/forth/loader.4th
+++ b/sys/boot/forth/loader.4th
@@ -230,6 +230,13 @@ only forth definitions also support-functions
: .? 2 spaces 2swap 15 #type 2 spaces type cr ;
+\ Execute the ? command to print all the commands defined in
+\ C, then list the ones we support here. Please note that this
+\ doesn't use pager_* routines that the C implementation of ?
+\ does, so these will always appear, even if you stop early
+\ there. And they may cause the commands to scroll off the
+\ screen if the number of commands modulus LINES is close
+\ to LINEs....
: ?
['] ? execute
s" boot-conf" s" load kernel and modules, then autoboot" .?
OpenPOWER on IntegriCloud