From owner-doc-jp@jp.freebsd.org  Wed Sep  8 23:58:57 1999
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id XAA70110;
	Wed, 8 Sep 1999 23:58:57 +0900 (JST)
	(envelope-from owner-doc-jp@jp.FreeBSD.org)
Received: from mns2.c.u-tokyo.ac.jp (mns2.c.u-tokyo.ac.jp [157.82.62.6])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id XAA70105
	for <doc-jp@jp.freebsd.org>; Wed, 8 Sep 1999 23:58:56 +0900 (JST)
	(envelope-from arasaki@mns2.c.u-tokyo.ac.jp)
Received: from bifur (arasaki@bifur [192.168.88.16])
	by mns2.c.u-tokyo.ac.jp (8.8.8/8.8.8) with SMTP id XAA13610
	for <doc-jp@jp.freebsd.org>; Wed, 8 Sep 1999 23:56:12 +0900 (JST)
	(envelope-from arasaki@mns2.c.u-tokyo.ac.jp)
Message-ID: <37D67958.5906@mns2.c.u-tokyo.ac.jp>
Date: Wed, 08 Sep 1999 23:57:28 +0900
From: Yasuki Arasaki <arasaki@mns2.c.u-tokyo.ac.jp>
Organization: GSAS, Univ. Tokyo, Japan
X-Mailer: Mozilla 3.01 (X11; I; HP-UX B.10.20 9000/780)
MIME-Version: 1.0
To: doc-jp@jp.freebsd.org
References: <14294.21768.757669.26482Z@localhost.sky.rim.or.jp> <37D6628D.6F7C@mns2.c.u-tokyo.ac.jp>
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Reply-To: doc-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+990727
X-Sequence: doc-jp 6600
Subject: [doc-jp 6600] Re: <FAQ> x.sgml
Errors-To: owner-doc-jp@jp.freebsd.org
Sender: owner-doc-jp@jp.freebsd.org
X-Originator: arasaki@mns2.c.u-tokyo.ac.jp

$B?7:j(J@$BElBg1!Am9g$G$9!#(J

$B85$NJ8LL$N%Q%i%0%i%U$4$H$K86J8$N8e$KLuJ8$rF~$l$F$"$j$^$9!#(J
$B$3$s$J7A<0$G$h$+$C$?$G$7$g$&$+(J?
-- 
$B?7:j(J@$BElBg1!Am9g(J
arasaki@mns2.c.u-tokyo.ac.jp


Index: preface.sgml
===================================================================
RRCS file: /home/ncvs/doc/FAQ/Attic/x.sgml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- x.sgml	1999/04/10 00:03:58	1.8
+++ x.sgml	1999/07/19 22:23:23	1.9
@@ -1,4 +1,4 @@
-<!-- $Id: x.sgml,v 1.7 1999/03/24 22:00:13 obrien Exp $ -->
+<!-- $Id: x.sgml,v 1.8 1999/04/10 00:03:58 dwhite Exp $ -->
 <!-- The FreeBSD Documentation Project -->
 
   <sect>
@@ -367,6 +367,92 @@
  
    <p>Run the command <tt/ xmodmap -e "pointer = 3 2 1"/ from your
.xinitrc or .xsession.
    </p>
+  </sect1>
+
+  <sect1>
+    <heading>How do I install a splash screen and where do I find them?

<heading>$B%9%W%i%C%7%e%9%/%j!<%s$N%$%s%9%H!<%k$O$I$&$9$k$N$G$9$+(J.
$B$I$3$G8+$D$1$k$3$H$,$G$-$^$9$+(J?
</heading>

+    </heading>
+
+    <p>Just prior to the release of FreeBSD 3.1, a new feature was
+      added to allow the display of &quot;splash&quot; screens during
+      the boot messages. The splash screens currently must be a 256
+      color bitmap (<tt>*.BMP</tt>) or ZSoft PCX
+      (<tt>*.PCX</tt>) file.  In addition, they must have a
+      resolution of 320x200 or less to work on standard VGA adapters.
+      If you compile VESA support into your kernel, then you can use
+      larger bitmaps up to 1024x768. Note that VESA support requires
+      the <tt>VM86</tt> kernel option to be compiled into the
+      kernel.  The actual VESA support can either be compiled directly
+      into the kernel with the <tt>VESA</tt> kernel config option
+      or by loading the VESA kld module during bootup.</p>

<p>FreeBSD 3.1 $B$N%j%j!<%9D>A0$K(J, $B%V!<%H%a%C%;!<%8$NI=<(4|4V$K(J
$B$$$o$f$k%9%W%i%C%7%e%9%/%j!<%s$rI=<($5$;$k$3$H$,$G$-$k?7$7$$(J
$B5!G=$,DI2C$5$l$^$7$?(J. $B$$$^$N$H$3$m%9%W%i%C%7%e%9%/%j!<%s$O(J
256$B?'$N%S%C%H%^%C%W(J (<tt>*.BMP</tt>) $B$+(J ZSoft PCX (<tt>*.PCX</tt>)
$B%U%!%$%k$G$9(J. $B$=$l$K2C$($F(J, $BI8=`$N(JVGA$B%"%@%W%?$G$NF0:n$5$;$k$K$O(J
320x200 $B0J2<$N2rA|EY$G$"$kI,MW$,$"$j$^$9(J. $B%+!<%M%k$K(J VESA $B%5%]!<%H(J
$B$rDI2C$9$l$P(J 1024x768 $B$^$G$N$h$jBg$-$$%S%C%H%^%C%W$r;HMQ$G$-$^$9(J.
VESA $B%5%]!<%H$K$O(J <tt>VM86</tt> $B%+!<%M%k%*%W%7%g%s$r2C$($F(J
$B%+!<%M%k$r%3%s%Q%$%k$9$kI,MW$,$"$k$3$H$KCm0U$7$F$/$@$5$$(J.
VESA $B%5%]!<%H$=$N$b$N$O(J <tt>VESA</tt> $B%+!<%M%k%3%s%U%#%0%*%W%7%g%s(J
$B$K$h$C$FD>@\%+!<%M%kCf$K%3%s%Q%$%k$9$k$+(J, $B%V!<%H;~$K(J VESA kld
$B%b%8%e!<%k$rFI$_9~$^$;$k$3$H$,$G$-$^$9(J.</p>

+
+    <p>To use a splash screen, you need to modify the startup files
+      that control the boot process for FreeBSD.  The files for this
+      changed prior to the release of FreeBSD 3.2, so there are now
+      two ways of loading a splash screen:

<p>$B%9%W%i%C%7%e%9%/%j!<%s$r;H$&$K$O(J, FreeBSD$B$N%V!<%H%W%m%;%9$r(J
$B%3%s%H%m!<%k$9$k%9%?!<%H%"%C%W%U%!%$%k$r=q$-49$($kI,MW$,$"$j$^$9(J.
$B$3$l$i$N%U%!%$%k$O(J FreeBSD 3.2 $B$N%j%j!<%90JA0$KJQ99$5$l$^$7$?$N$G(J,
$B%9%W%i%C%7%e%9%/%j!<%s$rFI$_9~$`J}K!$O:#$OFs$D$"$j$^$9(J:

+      
+    <itemize>
+      <item>FreeBSD 3.1
+
+       <p>The first step is to find a bitmap version of your splash
+         screen.  Release 3.1 only supports Windows bitmap splash
+         screens.  Once you've found your splash screen of choice
+         copy it to <tt>/boot/splash.bmp</tt>.  Next, you need to
+         have a <tt>/boot/loader.rc</tt> file that contains the
+         following lines:

<p>$B$^$::G=i$N%9%F%C%W$O(J, $B%9%W%i%C%7%e%9%/%j!<%s$N%S%C%H%^%C%WHG$r(J
$BC5$7$F$/$k$3$H$G$9(J. 3.1 $B%j%j!<%9$G$O%&%#%s%I%&%:$N%S%C%H%^%C%W7A<0(J
$B$N%9%W%i%C%7%e%9%/%j!<%s$@$1$r%5%]!<%H$7$F$$$^$9(J. $B$*K>$_$N(J
$B%9%W%i%C%7%e%9%/%j!<%s$r8+$D$1$?$J$i(J, $B$=$l$r(J <tt>/boot/splash.bmp</tt>
$B$K%3%T!<$7$^$9(J. $B<!$K(J, $B$3$l$i$N9T$,=q$+$l$?(J <tt>/boot/loader.rc</tt>
$B%U%!%$%k$,I,MW$G$9(J:

+
+       <verb>
+           load kernel
+           load -t splash_image_data /boot/splash.bmp
+           load splash_bmp
+           autoboot
+       </verb>
+      </item>
+
+      <item>FreeBSD 3.2+
+
+       <p>In addition to adding support for PCX splash screens,
+         FreeBSD 3.2 includes a nicer way of configuring the boot
+         process.  If you wish, you can use the method listed above
+         for FreeBSD 3.1.  If you do and you want to use PCX, replace
+         <tt>splash_bmp</tt> with <tt>splash_pcx</tt>.  If,
+         on the other hand, you want to use the newer boot
+         configuration, you need to create a
+         <tt>/boot/loader.rc</tt> file that contains the
+         following lines:

<p>PCX $B%9%W%i%C%7%e%9%/%j!<%s$N%5%]!<%H$,DI2C$5$l$k$HF1;~$K(J,
FreeBSD 3.2 $B$K$O%V!<%H%W%m%;%9$r@_Dj$9$k$h$j$h$$J}K!$,(J
$B4^$^$l$F$$$^$9(J. $B$b$7$*K>$_$J$i(J, $B>e$G(J FreeBSD 3.1 $BMQ$K$"$2$?(J
$BJ}K!$r;H$&$3$H$b$G$-$^$9(J. $B$b$7$=$&$7$?$/$F(J, $B$+$D(J PCX $B$r;H$$$?$$(J
$B$J$i(J, <tt>splash_bmp</tt> $B$r(J <tt>splash_pcx</tt> $B$HFI$_49$($F(J
$B$/$@$5$$(J. $B$=$&$G$O$J$/$F(J, $B?7$7$$%V!<%H@_DjJ}K!$r;H$&$N$J$i(J,
$B<!$N?t9T$,=q$+$l$?(J <tt>/boot/loader.rc</tt> $B%U%!%$%k(J:

+
+       <verb>
+           include /boot/loader.4th
+           start
+       </verb>
+
+       <p>and a <tt>/boot/loader.conf</tt> that contains the
+         following:

<p>$B$=$7$F(J, $B<!$N?t9T$,4^$^$l$?(J <tt>/boot/loader.conf</tt>
$B%U%!%$%k$r:n$k$3$H$,I,MW$G$9(J:

+
+       <verb>
+           splash_bmp_load="YES"
+           bitmap_load="YES"
+       </verb>
+                 
+       <p>This assumes you are using <tt>/boot/splash.bmp</tt>
+         for your splash screen.  If you'd rather use a PCX file,
+         copy it to <tt>/boot/splash.pcx</tt>, create a
+         <tt>/boot/loader.rc</tt> as instructed above, and
+         create a <tt>/boot/loader.conf</tt> that contains:

$B$3$3$G$O%9%W%i%C%7%e%9%/%j!<%s$H$7$F(J <tt>/boot/splash.bmp</tt>
$B$r;H$C$F$$$k$H2>Dj$7$^$7$?(J. PCX $B%U%!%$%k$NJ}$r;H$&$J$i(J,
<tt>/boot/splash.pcx</tt> $B$K%3%T!<$7$F(J, $B>e$G;X<($7$?$h$&$J(J
<tt>/boot/loader.rc</tt> $B$r:n$C$F(J, $B<!$N?t9T$r4^$`(J
<tt>/boot/loader.conf</tt> $B$r:n$C$F$/$@$5$$(J:

+
+       <verb>
+           splash_pcx_load="YES"
+           bitmap_load="YES"
+           bitmap_name="/boot/splash.pcx"
+       </verb>
+      </item>
+    </itemize>
+
+    <p>Now all you need is a splash screen.  For that you can surf
+      on over to the gallery at <htmlurl
+      url="http://www.cslab.vt.edu/~jobaldwi/splash/"
+      name="http://www.cslab.vt.edu/~jobaldwi/splash/">.</p>

<p>$B$5$F(J, $B$"$H$O%9%W%i%C%7%e%9%/%j!<%s$rMQ0U$9$k$@$1$G$9(J.
$B$=$l$K$O(J <htmlurl
      url="http://www.cslab.vt.edu/~jobaldwi/splash/"
      name="http://www.cslab.vt.edu/~jobaldwi/splash/">
$B$N%.%c%i%j!<$r%5!<%U$7$F$_$F$/$@$5$$(J.</p>

+
   </sect1>
   </sect>
