svn commit: r300115 - head/sys/boot/forth

Warner Losh imp at FreeBSD.org
Wed May 18 05:58:59 UTC 2016


Author: imp
Date: Wed May 18 05:58:57 2016
New Revision: 300115
URL: https://svnweb.freebsd.org/changeset/base/300115

Log:
  Explain why extra sutff always outputs even when it shouldn't for the
  '?' command. Wasted a bunch of time tracking it down tonight.

Modified:
  head/sys/boot/forth/loader.4th

Modified: head/sys/boot/forth/loader.4th
==============================================================================
--- head/sys/boot/forth/loader.4th	Wed May 18 05:56:25 2016	(r300114)
+++ head/sys/boot/forth/loader.4th	Wed May 18 05:58:57 2016	(r300115)
@@ -230,6 +230,13 @@ only forth definitions also support-func
 
 : .? 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" .?


More information about the svn-src-head mailing list