From owner-freebsd-doc Fri May 18 16: 5:32 2001 Delivered-To: freebsd-doc@freebsd.org Received: from melete.ch.intel.com (chfdns02.ch.intel.com [143.182.246.25]) by hub.freebsd.org (Postfix) with ESMTP id 817FA37B422; Fri, 18 May 2001 16:05:29 -0700 (PDT) (envelope-from jreynold@sedona.ch.intel.com) Received: from sedona.intel.com (sedona.ch.intel.com [143.182.218.21]) by melete.ch.intel.com (8.9.1a+p1/8.9.1/d: relay.m4,v 1.39 2001/05/18 00:47:02 root Exp $) with ESMTP id XAA17647; Fri, 18 May 2001 23:05:24 GMT Received: from hip186.ch.intel.com (hip186.ch.intel.com [143.182.225.68]) by sedona.intel.com (8.9.1a/8.9.1/d: sendmail.cf,v 1.14 2001/01/02 18:39:59 steved Exp $) with ESMTP id QAA28240; Fri, 18 May 2001 16:05:23 -0700 (MST) X-Envelope-From: jreynold@sedona.ch.intel.com Received: (from jreynold@localhost) by hip186.ch.intel.com (8.9.1a/8.9.1/d: client.m4,v 1.3 1998/09/29 16:36:11 sedayao Exp sedayao $) id TAA26637; Fri, 18 May 2001 19:05:24 -0400 (EDT) X-Authentication-Warning: hip186.ch.intel.com: jreynold set sender to jreynold@sedona.ch.intel.com using -f From: John Reynolds~ MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15109.43699.126204.944263@hip186.ch.intel.com> Date: Fri, 18 May 2001 16:05:23 -0700 To: Nik Clayton Cc: doc@freebsd.org Subject: Re: Policy on image source files in the CVS tree In-Reply-To: <20010518224728.C1757@catkin.nothing-going-on.org> References: <20010517122744.B3349@catkin.nothing-going-on.org> <20010517113103.A25222@Odin.AC.HMC.Edu> <200105180028.f4I0Snn05073@bmah-freebsd-0.cisco.com> <20010518013645.A8358@catkin.nothing-going-on.org> <15109.16691.817238.944467@hip186.ch.intel.com> <20010518184813.B12846@catkin.nothing-going-on.org> <15109.25794.690992.994411@hip186.ch.intel.com> <20010518224728.C1757@catkin.nothing-going-on.org> X-Mailer: VM 6.92 under Emacs 20.7.2 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org [ On Friday, May 18, Nik Clayton wrote: ] > > D'oh. shot2png. > > Sounds reasonable. Try the attached, which is controlled by the "-l" > flag. I've also included a dump of sysinstall's startup screen -- try > running shot2.scr through shot2png and the attached shot2txt, with and > without the -l flag. > > N yeah--that looks good Nik! Though, I spotted one foobar in the code. I just saw you created a port so I betcha you already saw this and asynchronously fixed it, but you had: if(!strcmp(MAGIC, header)) err(1, "Expecting '%s', read '%s'", MAGIC, header); but I belive you meant: if(strcmp(MAGIC, header)) err(1, "Expecting '%s', read '%s'", MAGIC, header); otherwise, the SCRSHOT_ header is read successfully but we bail incorrectly: dolphin [~]<77>% ./shot2txt < shot2.scr shot2txt: Expecting 'SCRSHOT_', read 'SCRSHOT_': Undefined error: 0 But yeah, your mappings make things look good! -Jr -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | John Reynolds WCCG, CCE, (space for rent, cheap!) | | Intel Corporation MS: CH6-210 Phone: 480-554-9092 pgr: 602-868-6512 | | jreynold@sedona.ch.intel.com http://www-aec.ch.intel.com/~jreynold/ | =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message