From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 1 09:40:24 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BA3E16A4CE for ; Wed, 1 Dec 2004 09:40:24 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2728C43D66 for ; Wed, 1 Dec 2004 09:40:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iB19eOBT033179 for ; Wed, 1 Dec 2004 09:40:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iB19eOq8033178; Wed, 1 Dec 2004 09:40:24 GMT (envelope-from gnats) Resent-Date: Wed, 1 Dec 2004 09:40:24 GMT Resent-Message-Id: <200412010940.iB19eOq8033178@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, hampi@rootshell.be Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F03FD16A4CE for ; Wed, 1 Dec 2004 09:39:33 +0000 (GMT) Received: from smtp.hispeed.ch (mxout.hispeed.ch [62.2.95.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF36A43D66 for ; Wed, 1 Dec 2004 09:39:32 +0000 (GMT) (envelope-from hampi@rootshell.be) Received: from gicco.homeip.net (217-162-157-43.dclient.hispeed.ch [217.162.157.43])iB19dVil010502 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 1 Dec 2004 10:39:31 +0100 Received: from goofy.here (localhost.here [127.0.0.1]) by gicco.homeip.net (8.13.1/8.13.1) with ESMTP id iB19dUKT002697 for ; Wed, 1 Dec 2004 10:39:31 +0100 (CET) (envelope-from idefix@goofy.here) Received: (from idefix@localhost) by goofy.here (8.13.1/8.13.1/Submit) id iB19dU7J002696; Wed, 1 Dec 2004 10:39:30 +0100 (CET) (envelope-from idefix) Message-Id: <200412010939.iB19dU7J002696@goofy.here> Date: Wed, 1 Dec 2004 10:39:30 +0100 (CET) From: Hanspeter Roth To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: misc/74577: [patch] decorating space in Beastie menu X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: hampi@rootshell.be List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Dec 2004 09:40:24 -0000 >Number: 74577 >Category: misc >Synopsis: [patch] decorating space in Beastie menu >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Dec 01 09:40:23 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Hanspeter Roth >Release: FreeBSD 5.3-RELEASE i386 >Organization: >Environment: System: FreeBSD goofy.here 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: The Beastie menu makes it convenient choosing boot options. The Beastie decorating space right to the menu reflects the preference of the majority or all of the FreeBSD developers. Their opinion is documented in http://www.freebsd.org/copyright/daemon.html . However there are users which have a different opinion and which don't like the Beastie mascot to be displayed during boot time. The question is: are such users - welcome - tolerated - disliked. In case they are more or less tolerated what should they do in order to switch the Beastie splash screen? - renounce of the Beastie menu (beastie_disable="YES") ? - spend some hours to dig in mailing lists or dig in http://www.forth.org/tutorials.html ? - or have an convenient flag in loaders.conf that allows to run Beastie menu but display some other decoration? This patch is related to PR 70231. Just the default behavior is different. The Beastie is still displayed by default. But it allows to turn the Beastie splash off more easily. diff -ru sys.orig/boot/forth/beastie.4th sys/boot/forth/beastie.4th --- sys.orig/boot/forth/beastie.4th Sat Oct 30 15:45:13 2004 +++ sys/boot/forth/beastie.4th Wed Dec 1 10:08:16 2004 @@ -94,7 +94,33 @@ at-xy ." `--{__________)" ; +: print-banner ( x y -- ) + 2dup at-xy ." " 1+ + 2dup at-xy ." " 1+ + 2dup at-xy ." ______" 1+ + 2dup at-xy ." / ____/_______ ___" 1+ + 2dup at-xy ." / /_ / ___/ _ \/ _ \" 1+ + 2dup at-xy ." / __/ / / / __/ __/" 1+ + 2dup at-xy ." /_/ /_/ \___/\___/" 1+ + 2dup at-xy ." " 1+ + 2dup at-xy ." ____ _____ ____" 1+ + 2dup at-xy ." / __ ) ___// __ \" 1+ + 2dup at-xy ." / __ \__ \/ / / /" 1+ + 2dup at-xy ." / /_/ /__/ / /_/ /" 1+ + at-xy ." /_____/____/_____/" + exit +; + : print-beastie ( x y -- ) + s" loader_banner" getenv + dup -1 = if + drop + else + s" YES" compare-insensitive 0= if + print-banner + exit + then + then s" loader_color" getenv dup -1 = if drop diff -ru sys.orig/boot/forth/loader.conf sys/boot/forth/loader.conf --- sys.orig/boot/forth/loader.conf Sun Nov 7 18:01:08 2004 +++ sys/boot/forth/loader.conf Wed Dec 1 10:06:24 2004 @@ -36,6 +36,7 @@ bitmap_name="splash.bmp" # Set this to the name of the bmp or pcx file bitmap_type="splash_image_data" # and place it on the module_path loader_color="NO" # Set this to YES to enable splash screen colors +loader_banner="NO" # Set thie to YES to display banner else Beastie ############################################################## >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: