Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 May 2016 05:58:58 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r300115 - head/sys/boot/forth
Message-ID:  <201605180558.u4I5wwPD049295@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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" .?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605180558.u4I5wwPD049295>