From owner-freebsd-questions@FreeBSD.ORG Sun Nov 23 19:15:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6708A106564A for ; Sun, 23 Nov 2008 19:15:27 +0000 (UTC) (envelope-from andreas.xanke@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id F31258FC13 for ; Sun, 23 Nov 2008 19:15:26 +0000 (UTC) (envelope-from andreas.xanke@edvax.de) Received: from r55.edvax.de (port-92-196-26-78.dynamic.qsc.de [92.196.26.78]) by mx01.qsc.de (Postfix) with ESMTP id 4634A50653; Sun, 23 Nov 2008 19:57:43 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id mANIvhgS001545; Sun, 23 Nov 2008 19:57:43 +0100 (CET) (envelope-from andreas.xanke@edvax.de) Date: Sun, 23 Nov 2008 19:57:42 +0100 From: Andreas Xanke To: patrick.van.ratingen@web.de Message-Id: <20081123195742.dd6e0d0c.andreas.xanke@edvax.de> In-Reply-To: <932463700@web.de> References: <932463700@web.de> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Changing default colors of syscons / kernel messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andreas Xanke List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2008 19:15:27 -0000 On Sun, 23 Nov 2008 17:42:03 +0100, patrick.van.ratingen@web.de wrote: > hey again ... > ive asked, if somebody could help me with making the bootmanager, > the kernel.-booting and shutdown-process green/black colored > (like netbsd) ive get no answer yet, i hope, you can still help me ... It isn't the answer to your question, but: 1. Try do use a subject that is in relationship to your question. 2. Try to wrap your lines at approx. column 70, this makes correct quoting easier. I was free to correct them both. :-)=09 Now regarding your question: It is possible to change the color attributes for the kernel messages which FreeBSD usually displays white on black, and OpenBSD grey on blue. As far as I remember - I tried it once -, there are makeoptions in the kernel configuration file to be set. See the handbook section about how to build a custom kernel for the correct procedures. The correct settings are mentioned in /usr/src/sys/conf/NOTES, lines 1339 cont. (1343 cont): # The following options will let you change the default colors of syscons. options SC_NORM_ATTR=3D(FG_GREEN|BG_BLACK) options SC_NORM_REV_ATTR=3D(FG_YELLOW|BG_GREEN) options SC_KERNEL_CONS_ATTR=3D(FG_RED|BG_BLACK) options SC_KERNEL_CONS_REV_ATTR=3D(FG_BLACK|BG_RED) But I'm not sure you can change the settings for the boot manager itself in an easy way. Maybe a modification of the boot loader's source code makes it possible... >=20 > yours > ____________________________________________________________________ > Psssst! Schon vom neuen WEB.DE MultiMessenger geh=F6rt?=20 > Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3D3123 >=20 >=20 --=20 "Die Rechtschreibreform ist v=F6llig in Ordnung, wenn man weder lesen noch schreiben kann." (Loriot)