From owner-freebsd-stable@FreeBSD.ORG Sun Jan 31 03:49:27 2010 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8306C1065670 for ; Sun, 31 Jan 2010 03:49:27 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-gx0-f212.google.com (mail-gx0-f212.google.com [209.85.217.212]) by mx1.freebsd.org (Postfix) with ESMTP id 35F1D8FC1A for ; Sun, 31 Jan 2010 03:49:26 +0000 (UTC) Received: by gxk4 with SMTP id 4so2780055gxk.13 for ; Sat, 30 Jan 2010 19:49:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:in-reply-to:message-id:references:user-agent :x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; bh=b0AVvHgQQTUDVq20waZ5p/WHqlGCEV/ZUx7AUGBk/Zg=; b=HkUA3jp8yIuGsZgdDOzgg2UtBDx7GkXjH/ljAaUAZYFvOYXFByilhumSrekSlwyk+n 8cgArd1riO2jaKtXEfUQmur9O/sCggRdLF6cOMdqbEJfUNaTtN5auYkhFk81e13B3kRd TjROgL+JSCe8LFYiuaMWeABWHjFP/S9Agob2Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; b=YQA87WMxo5a7eGiBmtu25oFJDuhXZjHBgcEAKT17kxbHVdQfHxjQm3q5iBcaMDbRID VHjlD/9hM8V+nr1N1DoMZStlkBnSaFt7G1b0gdurLZl6onmfEn3eBmYKhA0ELD6/3IV4 v7F2rjNvA4KV2n8FmnP7GK7HJdKzzIDrvSPkc= Received: by 10.91.42.39 with SMTP id u39mr2565707agj.26.1264909764562; Sat, 30 Jan 2010 19:49:24 -0800 (PST) Received: from centel.dataix.local (ppp-21.129.dialinfree.com [209.172.21.129]) by mx.google.com with ESMTPS id 22sm1241436yxe.39.2010.01.30.19.49.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 30 Jan 2010 19:49:23 -0800 (PST) Sender: "J. Hellenthal" Date: Sat, 30 Jan 2010 22:49:19 -0500 From: jhell To: Antony Mawer In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: stable@freebsd.org Subject: Re: [patch] New splash_txt module - support for ASCII splash(4) boot screens X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jan 2010 03:49:27 -0000 On Fri, 29 Jan 2010 10:37, lists@ wrote: > Hi all, > > I recently dusted off an old patch I put together years ago which adds > a new splash_txt decoder module for the splash(4) boot splash screen. > The module allows you to use a binary-format ASCII drawing (80x25) as > a boot splash screen rather than the graphical modes offered by > splash_bmp and splash_pcx. We have been and still are using it, but I > finally got around to adding the relevant changes to the splash(4) man > page and putting together some examples for wider testing. If it seems > of use to others it would be nice if someone would be interested in > committing it at some stage. > > In case the list eats the patch, you can grab a copy of it here: > > http://www.mawer.org/freebsd/splash_txt.patch > > To give you an idea of what it looks like, here is a screenshot of a > quick generic FreeBSD splash screen I put together: > > http://www.mawer.org/freebsd/splash_txt.png > > If you'd like to try it for yourself then the process to build it > should be something like this: > > 1. Download the attached patch > 2. Create the required folders before applying the patch -- cd > /usr/src && mkdir sys/modules/splash/txt > 3. Apply the patch -- patch < splash_txt.patch > 4. Build the module -- cd sys/modules/splash/txt && make && make install > > Once that's completed, you can configure it by adding the following to > loader.conf: > > splash_txt_load="YES" > bitmap_load="YES" > bitmap_name="/boot/freebsd.bin" > > I have uploaded a sample boot splash screen at > http://www.mawer.org/freebsd/freebsd.bin . The files can be produced > using TheDraw and saving in its Binary file format, which consists of > a sequence of 2 byte pairs. The first byte in a pair is the character > to draw on the screen, and the second is the colour/display attributes > to draw the character with. > > If anyone else would like to try this out and has any feedback, or if > someone thinks it may be of interest to integrate into the tree please > let me know ... > > -- Antony > If this was a vote I would have to vote YES! Very cool contribution! -- jhell