Subject: Re: X11
To: None <leo@wau.mis.ah.nl>
From: maximum entropy <entropy@zippy.bernstein.com>
List: port-atari
Date: 12/15/1998 19:29:14
>Date: Tue, 15 Dec 1998 09:58:21 +0100
>From: Leo Weppelman <leo@wau.mis.ah.nl>
>
>I would appreciate it, if someone who recently tried to install X tries
>to write up the correct steps so it can be added to the FAQ...

OK, here's what I did:

--- faq.html-orig	Tue Dec 15 17:28:03 1998
+++ faq.html	Tue Dec 15 19:26:52 1998
@@ -543,43 +543,63 @@
 
 <ol>
 
-<li> Get the Amiga X11R6.1 distribution from <a href="ftp://ftp.uni-regensburg.de/pub/NetBSD-Amiga/contrib/X11/X11R6.1/bin12/">Regensburg, Germany</a>:
+<li> You need a kernel with 3 views (or at least one more than there are ite's).
+     (The <code>BOOTX</code> kernel of release 1.3 has 4 views.)
+   
+<li> Make sure the &quot;ST-mem pool&quot; message doesn't appear during system startup.
+     (See question <a href="#q3.1">3.1</a>.)
+
+<li> Get the following <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.3.2/atari/binary/sets">binary installation sets</a> from the NetBSD/atari 1.3.2 distribution:
 
 <pre>
-     X11R6.1-01Oct96.README
-     X11R6.1-bin-01Oct96.tar.gz
-     X11R6.1-fonts-01Oct96.tar.gz
-     X11R6.1-include-01Oct96.tar
-     X11R6.1-lib-01Oct96.tar.gz
-     X11R6.1-man-01Oct96.tar.gz
+     <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.3.2/atari/binary/sets/xbase.tgz">xbase.tgz</a>
+     <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.3.2/atari/binary/sets/xfont.tgz">xfont.tgz</a>
+     <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.3.2/atari/binary/sets/xserver.tgz">xserver.tgz</a>
 </pre>
 
-  This site also has binaries for some popular programs that you might like
-  to download: <code>ghostview</code>, <code>gnuplot</code>, <code>mosaic</code>,
-  <code>xv</code>, <code>xfig</code>, and more...  Check out the
-  <a href="ftp://ftp.uni-regensburg.de/pub/NetBSD-Amiga/contrib/X11/">Amiga binary</a>
-  directory.
-
-<li> The Xserver is available from
-   <a href="ftp://ftp.netbsd.org/pub/NetBSD/arch/atari/progs/Xdaniver.gz">ftp.netbsd.org</a>.
-   There are both color and monochrome versions. If you have a monochrome
-   monitor, you need to use <code>Xdaniver-mfb</code> and call it with the option
-   <code>-FlipPixels</code>.
+<li> You may also want to get the xcomp set (you will need this if you want to compile any X11 software) and the xcontrib set (contains useful programs not part of the main X11 distribution).
 
-<li> If you want to fiddle with the X-server yourself, also get
-     <code>Xdaniver-1.01.readme</code> and <code>Xdaniver-1.01.src.tar.gz</code>.
+<pre>
+     <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.3.2/atari/binary/sets/xcomp.tgz">xcomp.tgz</a>
+     <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.3.2/atari/binary/sets/xcontrib.tgz">xcontrib.tgz</a>
+</pre>
 
-<li> You need a kernel with 3 views (or at least one more than there are ite's).
-     (The <code>BOOTX</code> kernel of release 1.3 has 4 views.)
-   
-<li> Make sure the &quot;ST-mem pool&quot; message doesn't appear during system startup.
-     (See question <a href="#q3.1">3.1</a>.)
+<li> If not already present, add the following line to <code>/etc/ld.so.conf</code>:
+<pre>
+     /usr/X11R6/lib
+</pre>
+
+<li> Run the command <code>ldconfig</code>.
+
+<li> Uncompress all the X11 fonts.  The current distribution contains
+fonts compressed with <code>gzip</code>, but the current atari X
+servers cannot read compressed fonts.
+
+<pre>
+     # cd /usr/X11R6/lib/X11/fonts
+     # sh -c 'for name in * ; do ( cd $name && gzip -d *.gz && mkfontdir ) ; done'
+</pre>
+
+<li> Make a symlink from <code>/usr/X11R6/bin/X</code>
+     to the correct X server for your video hardware.  For example:
+<pre>
+     # cd /usr/X11R6/bin
+     # rm X
+     # ln -s XF86_FBDev X
+</pre>
 
-<li> add a line to <code>\etc\rc.local</code> :
-     ldconfig /usr/local/X11R6/lib
+<li> (This entry needs work!)  Edit the file
+<code>/usr/X11R6/lib/X11/XF86Config</code>.  For a Falcon you probably
+won't need to do anything (is this true?)  For a TT, I did the
+following (not all may be necessary.)  Comment out all "Modeline"
+lines except the 640x480 mode labeled "Falcon vga modes".  Go down a
+bit to where it says 'Section "Screen"', and change the Device line to
+'Device "TT"'.  In the same section are several 'Subsection "Display"'
+subsections.  Only one of these subsections is not commented out.
+Comment out that one, and uncomment the one with a depth of 4 and
+modes "640x480" "320x200".
 
-<li> make a (sym)link from <code>/usr/local/X11R6/bin/X</code>
-     to wherever you put the Xserver.
+<li> Type the command <code>startx</code> to start X.
 
 <li> If you need more information about the X Window System, read the Usenet
      news group <a href="news://comp.windows.x">comp.windows.x</a> or visit the

--
entropy -- it's not just a good idea, it's the second law.