From owner-freebsd-doc@FreeBSD.ORG Tue May 6 19:02:13 2003 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1463A37B405; Tue, 6 May 2003 19:02:13 -0700 (PDT) Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BCB843FD7; Tue, 6 May 2003 19:02:12 -0700 (PDT) (envelope-from rpratt1950@earthlink.net) Received: from user120.net607.fl.sprint-hsd.net ([65.41.28.120] helo=k6-2.weeble.com) by snipe.mail.pas.earthlink.net with smtp (Exim 3.33 #1) id 19DEG1-0000WU-00; Tue, 06 May 2003 19:02:09 -0700 Date: Tue, 6 May 2003 22:02:13 -0400 From: Randy Pratt To: Murray Stokely Message-Id: <20030506220213.36078dc4.rpratt1950@earthlink.net> X-Mailer: Sylpheed version 0.8.11 (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: Nik Clayton cc: freebsd-doc@FreeBSD.org Subject: Re: How to capture FreeBSD installation Screen - for review purpose X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 May 2003 02:02:13 -0000 On Tue, 6 May 2003 00:28:44 -0700, Murray Stokely wrote: > On Mon, May 05, 2003 at 12:51:21PM -0500, Eric Anderson wrote: > > >That's not how the screen shots in the Handbook were generated. Look at > > >the vidcontrol(1) man page, and the -p and -P options. Then look at > > >ports/graphics/scr2png and ports/textproc/scr2txt. > > > > Is vidcontrol available during install? > Hmm. I don't think so, but sysinstall tries to invoke it anyway in > mouse.c? If it was truly required then you could build a custom boot > floppy with it. > You can run a fake installation with sysinstall on an existing system > (for example, to populate a chroot directory hierarchy with release > bits). I suspect that is how Randy Pratt and others have generated > the release snapshots using the tools that Nik described (and wrote -- > thanks Nik!) That sounds like a more direct approach to get screenshots. Actually, I took a different route and used a combination of methods to get the screenshots since vidcontrol isn't available during install. I used a headless install over a null modem cable to creat screenshots prior to the Main Installation screen. This is described in the Handbook section "2.12.1 Installing FreeBSD on a System without a Monitor or Keyboard". I used vidcontrol on the running FreeBSD system to do the captures. This worked fine for the text screens but colors were not displayed properly on the serial console. The balance of the screenshots were made post-install by starting sysinstall and using vidcontrol to capture the console screen. There are some screens that are different after installation than during the installation. I used a hex editor (ports/editors/hexedit) to modify the screens to reflect the correct install screen content. I used two computers: one to do the install and another to create and/or verify screenshot content as I do installations. Its not too difficult to learn to edit the .scr screenshots with a little patience. Of course, this is more of a brute force approach and requires much more attention to detail but far less than the old html/tables approach I was using before Nik created the capture tools. Randy