From owner-freebsd-chat@FreeBSD.ORG Wed Feb 6 09:14:34 2008 Return-Path: Delivered-To: freebsd-chat@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DECC16A419 for ; Wed, 6 Feb 2008 09:14:34 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (unknown [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id AB44313C442 for ; Wed, 6 Feb 2008 09:14:33 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.1/8.14.1) with ESMTP id m169EUVB056101; Wed, 6 Feb 2008 10:14:31 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.1/8.14.1/Submit) id m169EUAL056100; Wed, 6 Feb 2008 10:14:30 +0100 (CET) (envelope-from olli) Date: Wed, 6 Feb 2008 10:14:30 +0100 (CET) Message-Id: <200802060914.m169EUAL056100@lurza.secnetix.de> From: Oliver Fromme To: freebsd-chat@FreeBSD.ORG, des@des.no In-Reply-To: <8663x3wbm3.fsf@ds4.des.no> X-Newsgroups: list.freebsd-chat User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.2-STABLE-20070808 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Wed, 06 Feb 2008 10:14:31 +0100 (CET) Cc: Subject: Re: why is it called /boot/beastie.4th ? X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Feb 2008 09:14:34 -0000 Dag-Erling Smørgrav wrote: > Oliver Fromme writes: > > I don't think it can be done currently, but it would be possible to > > implement. I haven't looked at the syscons code in a long time, > > though. Right now my focus is on the loader. > > If you say the magic words (something like "I'm willing to work on > syscons once I'm done with the loader"), I'll have your application in > core@'s inbox in a New York minute :) I'm afraid I can't make any promises because I have a real job and other duties. I can certainly have a look at the syscons code. But it depends on the amount of my free time what I can do. It also depends on the current state of the code. Actually I was quite familiar with the syscons code in 4-current about 10 years ago (see PR kern/15436, for example). However, I think the code has undergone some significant changes in the meantime. So I can say that I'm willing to look at the syscons code, but right now I can't promise to actually do any useful work. :-) > > In fact my PCX decoder supports that; runs crossing planes (standard) > > as well as runs crossing scan line boundaries (non-standard). In fact > > I have to admit that it currently doesn't support padding at all. > > Well, ppmtopcx never generates any padding, so I didn't care. I'll > > try to fix that, though. > > Hmm, the spec calls for padding each scan line to the nearest multiple > of 16 bits IIRC, but it's been a long time. The spec is a little vague in several places. I think it says that padding is allowed but not required. Certainly the ppmtopcx tool never generates any padding: $ ppmmake black 1 1 | ppmtopcx | wc -c 129 That's 128 bytes for the header and 1 byte for the actual bitmap. Gimp is the same, it doesn't generate padding, but it's not able to create 16 color PCX files; it always creates files with a 256 color palette or truecolor, so you have to cycle the file through pcxtoppm|ppmtopcx if you want to use the image in a 16 color mode. The smallest PCX file gimp can produce is 898 bytes: 128 for the header, 1 byte for the bitmap, 1 marker byte (0x0c) for the extended palette, and 768 bytes for the 256-color palette (256 * 3 bytes RGB). Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd (On the statement print "42 monkeys" + "1 snake":) By the way, both perl and Python get this wrong. Perl gives 43 and Python gives "42 monkeys1 snake", when the answer is clearly "41 monkeys and 1 fat snake". -- Jim Fulton