Explain why extra sutff always outputs even when it shouldn't for the

'?' command. Wasted a bunch of time tracking it down tonight.
This commit is contained in:
Warner Losh 2016-05-18 05:58:57 +00:00
parent a74bf02069
commit 0f897f87b9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=300115

View File

@ -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" .?