Date: Thu, 28 Jan 1999 18:23:56 +0900 (JST) From: dcs@newsguy.com To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: docs/9744: share/examples/bootforth is outdated Message-ID: <199901280923.SAA00351@daniel.sobral>
next in thread | raw e-mail | index | archive | help
>Number: 9744 >Category: docs >Synopsis: The examples in bootforth have been outdated by bin/9663 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 28 01:30:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Daniel C. Sobral >Release: FreeBSD 4.0-CURRENT i386 >Organization: >Environment: Current, after bin/9663. >Description: bin/9663 changed semantics of loader's builtin words when compiled in. Change example accordingly. >How-To-Repeat: cp /usr/share/examples/bootforth/* /boot reboot 1 >Fix: Apply the following fix: --- src/share/examples/bootforth/menu.4th.orig Thu Jan 28 18:11:59 1999 +++ src/share/examples/bootforth/menu.4th Thu Jan 28 18:16:53 1999 @@ -61,6 +61,9 @@ 10 22 at-xy ." * Choose 3 in order to warm boot your machine." ; +: (boot) 0 boot ; +: (reboot) 0 reboot ; + : main_menu begin 1 while clear @@ -75,7 +78,7 @@ drop 1 25 at-xy cr ." Loading kernel. Please wait..." cr - boot + ['] (boot) catch abort" Error booting" then dup 50 = if drop @@ -85,7 +88,7 @@ dup 51 = if drop 1 25 at-xy cr - reboot + ['] (reboot) catch abort" Error rebooting" then 20 12 at-xy ." Key " emit ." is not a valid option!" >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901280923.SAA00351>