home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / sysv386 / 14340 < prev    next >
Encoding:
Text File  |  1992-09-11  |  11.1 KB  |  294 lines

  1. Newsgroups: comp.unix.sysv386
  2. Path: sparky!uunet!cs.utexas.edu!torn!skule.ecf!steve
  3. From: steve@ecf.toronto.edu (Steve Kotsopoulos)
  4. Subject: Frequently Asked Questions About X386 (with answers)
  5. Message-ID: <BuFBvt.9MJ@ecf.toronto.edu>
  6. Organization: University of Toronto, Engineering Computing Facility
  7. Date: Fri, 11 Sep 1992 17:14:17 GMT
  8. Expires: Thu, 1 Oct 1992 04:00:00 GMT
  9. Lines: 283
  10.  
  11. [Last changed: 11 Sept 1992]
  12.  
  13. If you have anything to add or change on the FAQ just let me know.
  14. Send changes to steve@ecf.toronto.edu, please put 'X386' somewhere
  15. in the subject line so that my mail filter will put it in the correct
  16. mail folder.
  17.  
  18.     Frequently Asked Questions About X386 (with answers)
  19.     ----------------------------------------------------
  20.  
  21. 1. What is X386?
  22.  
  23.     X386 is the port of the X11 server to System V/386 that was
  24.     done by Thomas Roell (roell@informatik.tu-muenchen.de).
  25.     It supports a wide variety of VGA boards.
  26.  
  27.     There are 2 major versions: X386 1.1 is based on X11R4,
  28.     X386 1.2 is included in MIT's X11R5 distribution (ie. you
  29.     don't need to patch it into the MIT source anymore).
  30.  
  31. 1a. What is X386 1.2E?
  32.  
  33.     X386 1.2E is an enhanced version of X386 1.2. This release consists
  34.     of many bug fixes, speed improvements, and other enhancements.
  35.     Here are the highlights of the enhancements:
  36.  
  37.     1) The SpeedUp package from Glenn Lai is an integral part of
  38.        X386 1.2E, selectable at run-time via the Xconfig file.
  39.        SpeedUp requires an ET4000-based SVGA card, and a virtual
  40.        screen width of 1024.  SpeedUp is selected by default when
  41.        these requirements are satisfied.
  42.     2) The fX386 packages from Jim Tsillas are included as the
  43.        default operating mode if SpeedUp is not selected.  This
  44.        mode is now slightly better than X386 1.1b (X11R4) in terms 
  45.        of overall performance.
  46.     3) Support for LOCALCONN, compile-time selectable for server,
  47.        clients, or both.  This support is for both SVR3 and SVR4.
  48.        For SVR4.0.4 with the 'Advanced Compatibility Package',
  49.        local connections from SCO XSight/ODT clients are supported.
  50.     4) Support for the newer ET4000-based SVGAs which have high clocks
  51.        and reported incorrect clock values for the standard version. 
  52.     5) Support for serial mice connected for Fas serial ports on
  53.        SVR4 (although the STREAMS-based SAS is a better alternative;
  54.        the Fas option may not be supported in later versions).
  55.     6) A command line option has been added to allow the selection
  56.        of which VT the server will use, rather than having it try
  57.        to find one on its own.
  58.     7) Support for compressed bitmap fonts has been added (Thomas
  59.        Eberhardt's code from the contrib directory on export.lcs.mit.edu)
  60.  
  61.     Source Patches based on X11R5 PL16, from MIT, as well as patches
  62.     from earlier versions of X386 1.2E, are available via anonymous
  63.     FTP from:
  64.  
  65.         export.lcs.mit.edu (under /contrib/X386-1.2E)
  66.         ftp.physics.su.oz.au (under /pub/X386)
  67.         ftp.win.tue.nl (under /pub/X386)
  68.  
  69.     in the file 'X386-1.2E-1.0.2.diff.Z'.   For Linux, 386BSD, BSD/386
  70.     and Mach386, additional patch kits are (currently) required.
  71.     Send mail to x386@physics.su.oz.au if you need these additional
  72.     patch kits; we will try to make them generally available in the
  73.     near future.
  74.  
  75.     Binaries are available via anonymous FTP from:
  76.  
  77.         ftp.physics.su.oz.au        - SVR4 binaries
  78.             under /pub/X386/SVR4
  79.         ftp.win.tue.nl            - SVR4 binaries
  80.             under /pub/X386/SVR4
  81.         f.ms.uky.edu            - SVR4 binaries
  82.             under /pub2/Xwindows/X386
  83.         stasi.bradley.edu        - SVR4 binaries
  84.             under /pub/X386
  85.         banjo.concert.net        - Linux binaries
  86.             under /pub/Linux/X11
  87.  
  88.     Each binary distribution will contain a README file that
  89.     describes the compile-time option selections that were made.
  90.  
  91. 2a. Where can I get X386 1.2 (X11R5)?
  92.  
  93.     The X386 1.2 sources are available at any site that distributes
  94.     the X11R5 source (too numerous to list here, but includes
  95.     export.lcs.mit.edu)
  96.  
  97.     The version 1.2E binaries (from David Dawes) are available at:
  98.         ftp.physics.su.oz.au       in  Esix_4/x11r5/Binaries
  99.         nic.funet.fi               in  pub/unix/386ix/svr4/x11r5
  100.         ftp.win.tue.nl           in  pub/X11R5-esix
  101.  
  102. 2b. Where can I get X386 1.1 (X11R4)?
  103.  
  104.     X386 1.1 is available both as a binary release or as source
  105.     patches (apply patches to MIT's X11R4 source tree).
  106.     The fonts are available separately, since they are common
  107.     for all operating systems.
  108.  
  109.     The official ftp site is flop.informatik.tu-muenchen.de
  110.     (131.159.8.35), /pub/i386/X11R4
  111.          808424 bytes X386.1.1b.tar.Z        source patches
  112.         3566993 bytes X386core.SVR4.tar.Z    binaries for SVR4
  113.         7348521 bytes X11R4core.tar.Z        1.1a binaries
  114.          395521 bytes X386.1.1b.isc.Z        1.1b server binary
  115.         3307520 bytes X11R4fonts.tar        fonts 
  116.  
  117.     It is also available on the following machines:
  118.  
  119.     - piggy.ucsb.edu (128.111.72.50), /pub/X386.
  120.          808424 bytes X386.1.1b.tar.Z        source patches
  121.         3566993 bytes X386core.SVR4.tar.Z    binaries for SVR4
  122.         3307520 bytes X11R4fonts.tar        fonts
  123.       Please use after 6pm Pacific, as these are large files.
  124.  
  125.     - ftp.win.tue.nl:/pub/X11R4_386
  126.  
  127.     - NSTAR Public Access Unix 219-289-0287
  128.       {larry@news.rn.com, ..!uunet!news.rn.com!larry}
  129.  
  130. 3. What operating systems does it run under?
  131.  
  132.     X386 1.2E supports:
  133.     SVR4: Microport, Dell, Esix, ISC, AT&T, MST, Consensys, UHC
  134.     SVR3: ISC 2.2 & 3.0, AT&T 2.2 (Esix 3.2D and SCO 3.2.2 are being tested)
  135.     Linux, Mach386, BSD/386, 386BSD
  136.  
  137. 4. What VGA boards are supported?
  138.  
  139.     ET3000                  (for ex. GENOA 5300/5400)
  140.     ET4000                  (Tricom, STB PWR Graph, Sigma Legend, etc.)
  141.     GVGA                    (Genoa 6400)
  142.     PVGA1A            (Paradise VGA Professional)
  143.  
  144. 5. Why won't my xterm run properly?
  145.  
  146.     If your kernel is not built with the consem module, you should define
  147.     CONSEM=no in you enviornment. Otherwise xterm won't run.
  148.     csh users should use 'setenv CONSEM no'
  149.  
  150. 6. I can't compile X programs. Am I missing a library?
  151.  
  152.     you must include the BSD (Sockets) API by including -linet in your link
  153.     list. Also, for anything that uses the /dev/ptmx 'clone' devices,
  154.     use -lpt. 
  155.     SCO Unix uses -lsocket for the socket library.
  156.  
  157.     In summary, add '-linet -lpt'
  158.     after the -lX11. (It won't work if it is not AFTER the -lX11)
  159.  
  160.     Or use instead -linet '/usr/lib/X11/X386/etc/inetemul.o' which
  161.     includes some dummy functions, which always will return an error,
  162.     but are *very* good for linking.
  163.  
  164. 7. Everything works fine if I use xinit, but I can't use xdm.
  165.    It gives me an error that it can't open the mouse.
  166.    Why would the server work fine under xinit, but not xdm?
  167.    How do I fix it? (I am using the Xque* drivers under SVR4)
  168.  
  169.     This is caused by a bug with the Xque drivers in SVR4.
  170.     Dell's SVR4 has fixed this problem (which exists only
  171.     with X386 1.1, not X386 1.2).
  172.  
  173.     dwex@mtgzfs3.att.com (David E Wexelblat) is using the following
  174.     xdm (X11R4pl18) patch successfully:
  175.  
  176.         *** Save/util.c Tue Nov 12 20:24:17 1991
  177.         --- util.c      Tue Nov 12 20:25:37 1991
  178.         ***************
  179.         *** 165,175 ****
  180.         --- 165,177 ----
  181.         
  182.           CleanUpChild ()
  183.           {
  184.         + #ifndef SYSV386
  185.           #ifdef SYSV
  186.                 setpgrp ();
  187.           #else
  188.                 setpgrp (0, getpid ());
  189.                 sigsetmask (0);
  190.         + #endif
  191.           #endif
  192.           #ifdef SIGCHLD
  193.                 (void) signal (SIGCHLD, SIG_DFL);
  194.  
  195. 8. How do I find out what clock frequencies are on my VGA board?
  196.  
  197.     X386 1.1 includes a DOS program, /usr/lib/X11/X386/etc/clock.exe, that
  198.     you can run (under DOS of course!). It will report all the clock
  199.     frequencies that it can find. You can then use this information
  200.     when setting up your Xconfig file.
  201.     X386 1.2 will automatically find this information when it boots.
  202.  
  203.     David E Wexelblat (dwex@mtgzfs3.att.com) maintains a database of known
  204.     clock settings for VGA cards and monitor settings.  This database is
  205.     available from him (for the latest copy), and is kept on
  206.     export.lcs.mit.edu in ~/contrib/X386.modeDB.Z, which is updated
  207.     occasionally.  Obtain a copy of this database.  It just might have the
  208.     settings you need.  If you create new settings, please send them to
  209.     David for inclusion in the database.
  210.  
  211. 8a. OK.  I have my VGA clocks, and my monitor specifications.  How do I
  212.     generate mode lines for Xconfig?
  213.  
  214.     First check out the mode database described for question 8.  It has lots
  215.     of monitor timings contributed by X386 users.  It also has the VESA
  216.     standard definitions.  If the database does not have definitions for
  217.     your monitor, try the VESA timings.
  218.  
  219.     If neither of these options work, the CONFIG file with the X386 contains
  220.     a tutorial on how to come up with these timings.  It may be helpful to
  221.     start with setting that almost work, and use this description to get
  222.     them right.  When you do, send the information to David Wexelblat for
  223.     inclusion in the database.
  224.  
  225. 9. How do I switch session under SCO? The normal sequence does not work.
  226.  
  227.     Try ALT-CTL-F{n}
  228.  
  229. 10. I can't get my bus mouse to work!
  230.  
  231.     I had a lot of trouble too! So far, the only way I could get a
  232.     bus mouse to work (on SVR4) was to use the Xque drivers and set
  233.     up my /usr/lib/mousetab for a bus mouse 'vt00    bmse'.
  234.     (This involved re-installing the mouse driver that came from the
  235.     OS vendor for bus mouse)
  236.  
  237.     People running ISC have reported that using an Xconfig of
  238.     'Busmouse "/dev/logi"' works too.
  239.  
  240. 11. Any tips on compiling the stock X11R5 (not X386 1.2E)?
  241.  
  242.     0. Save yourself a lot of headache.  Benefit from the experiences
  243.        of others, and get X386 1.2E (this is your last warning).
  244.  
  245.     1. You will need lots of disk space (around 150Meg for the MIT core).
  246.  
  247.     2. If using the standard C compiler, make sure that you don't have
  248.        /usr/ucb before /bin in your path.
  249.  
  250.     3. Follow the advice of Steve Hite (shite@sinkhole.unf.edu):
  251.            "DON'T use the C shell on Esix 4.0.3a.  The X library is HUGE and
  252.             csh complains about too long of an argument list.  The Korn shell
  253.             will work just dandy."
  254.  
  255.     4. Look at mit/server/ddx/x386/README and follow any instructions
  256.        for your particular platform.
  257.  
  258.     5. Change the line in server/Imakefile that reads:
  259.             SYSLIBS = -lm /usr/ucblib/libucb.a
  260.           to read:
  261.             SYSLIBS = -lm -lc /usr/ucblib/libucb.a
  262.  
  263.           This ensures that the directory reading routines from libc.a are
  264.           used intead of the ones in libucb.a (BSD version of readdir).
  265.  
  266.        You might want to extract ndbm.o, bcopy.o and bcmp.o from
  267.        libucb.a (ar x) into a private library instead (or use GNUdbm).
  268.        (also, X11/Xfuncs.h provides some replacement BSTRING routines)
  269.  
  270.  
  271.     6. There is an unofficial bug fix for the polygon drawing routine,
  272.        it is available for ftp from:
  273.  
  274.         ftp.win.tue.nl:/pub/X11R5/fixes/unofficial-X386fix
  275.         ftp.physics.su.oz.au:/Esix_4/x11r5/Unofficial_x386_fill_patch.Z
  276.  
  277.     7. You may want to disable building the PEX stuff, since it
  278.        runs miserably slow on most machines.
  279.  
  280.     --------------------------------------------------
  281.  
  282. Please send me anything else you want added to this FAQ.
  283. (especially if you had a problem that someone else was able to help you with)
  284.  
  285. Please do not send me questions that are not answered in the FAQ.  Instead,
  286. post your question to the net, and send me the answer when you get it.
  287.  
  288. Thanks to all the people who already sent me corrections or additions.
  289. -- 
  290. Steve Kotsopoulos                   mail:   steve@ecf.toronto.edu
  291. Systems Analyst                     bitnet: steve@ecf.UTORONTO.BITNET
  292. Engineering Computing Facility      uucp:   uunet!utai!ecf!steve
  293. University of Toronto               phone:  (416) 978-5898
  294.