home *** CD-ROM | disk | FTP | other *** search
/ ftp.sunet.se/pub/OS2/ / 2014.11.ftp.sunet.se_pub_OS2.tar / ftp.sunet.se / pub / OS2 / hobbes / os2 / system / x11 / XFree86 / v3.2 / readme.os2 < prev    next >
Text File  |  1996-11-02  |  24KB  |  621 lines

  1.   README for XFree86 3.2 on OS/2
  2.   Holger Veit
  3.   Last modified on: 21 Oct 1996
  4.   
  5.   1.  Introductory Note about the release 3.2
  6.   
  7.   Before looking into this file, please check for any LATEST.OS2 files
  8.   that may come with the binary distribution.
  9.   
  10.   This version of the code is called XFree86/OS2 3.2. This means it is
  11.   a public release for which also the source code is provided. In
  12.   contrast, a version with a letter, such as in ``3.1.2D'', for instance, is a beta
  13.   version which has certain restrictions.
  14.   
  15.   Previous beta versions have been tested in a large number of configurations
  16.   and have been found to be working, with some bugs left, rather flawlessly.
  17.   This code is released for public use by an end user, not only for developers, 
  18.   although this does not necessarily mean that it is easy to use or user 
  19.   friendly, or using a popular term, ``plug & play''. Emphasis is on
  20.   functionality, not simple installation.
  21.   
  22.   This release is complete (with one exception) regarding
  23.   the X11R6.1 ``core'' distribution. The ``contrib'' distribution containing
  24.   some of the more interesting tools for the end user, will be issued together
  25.   with a later release (no need to start porting it independently).
  26.   
  27.   In the past beta testing, it has been found that the software itself is
  28.   rather stable and does not damage hardware - provided the user does not
  29.   try to push the builtin limits and change certain configuration parameters
  30.   which could operate the video hardware out of specs.
  31.   
  32.   However,
  33.     o    there is no explicit or implicit warranty that certain code works
  34.          correctly or works at all
  35.     o    although no damage reports are known, it does not mean that it is
  36.          impossible to damage hardware with this code; some deeply hidden
  37.          bugs may still be present in the software.
  38.   
  39.   It is recommended that you backup essential data of your system before
  40.   installing this software, but this should be your general precautions 
  41.   before ANY installation. No reports exist that a crashing X server itself
  42.   actively destroys or modifies data, but it is possible in rare cases
  43.   that the system is left in an unusable state (video display mode garbled
  44.   or system unresponsive, not reacting to mouse or keyboard actions).
  45.   If you then hard reset or switch off the system, file caches of the operating
  46.   system might not be written correctly back to disk, thus causing data loss.
  47.   
  48.   2.  What and Where is XFree86?
  49.   
  50.   
  51.   XFree86 is a port of X11R6 that supports several versions of
  52.   Intel-based Unix.  It is derived from X386 1.2, which was the X server
  53.   distributed with X11R5.  This release consists of many new features
  54.   and performance improvements as well as many bug fixes.  The release
  55.   is available as source patches against the X Consortium X11R6 code, as
  56.   well as binary distributions for many architectures.
  57.   XFree86/OS2 is the name of the implementation of XFree86
  58.   on OS/2 based systems.
  59.   
  60.   See the Copyright Notice <COPYRIGHT.HTML>
  61.   
  62.   The sources for XFree86/OS2 are available by anonymous ftp from:
  63.   
  64.   ftp.XFree86.org:/pub/XFree86 <ftp://ftp.XFree86.org/pub/XFree86>
  65.   
  66.   Binaries for OS/2 Warp and Merlin are available from:
  67.   ftp.XFree86.org:/pub/XFree86/binaries/OS2
  68.   <ftp://ftp.XFree86.org/pub/XFree86/binaries/OS2>
  69.   
  70.   The WWW page
  71.   borneo.gmd.de:/~veit/os2/xf86os2.html
  72.   <http://borneo.gmd.de/~veit/os2/xf86os2.html>
  73.   usually show more references to FTP or WWW sites to retrieve
  74.   sources or binaries.
  75.   
  76.   
  77.   Other versions:
  78.   
  79.   XFree86/OS2 will run on all dialects of Warp, including Warp "red spine box",
  80.   Warp "blue spine box", Warp Connect, Warp Server, and Merlin. 
  81.   For Warp fixpack level 17 is mandatory, a later fixpack level (e.g. FP22) 
  82.   is recommended. In some future, a more recent fixpack might be necessary.
  83.   Please check a LATEST.OS2 file.
  84.   
  85.   OS/2 2.11 is no longer supported beginning with this release, due to lack
  86.   of a working test environment. Consequently, OS/2 SMP is not supported either,
  87.   because this is currently based on OS/2 2.11.
  88.   OS/2 versions 1.X are definitely not supported and will never be.
  89.   
  90.   It is possible to build XFree86/OS2 from the sources.  Read about this
  91.   in some section below.
  92.   
  93.  
  94.   3.  Bug Reports for This Document
  95.   
  96.   Send email to Holger.Veit@gmd.de (Holger Veit) or
  97.   XFree86@XFree86.org if you have comments or suggestions about
  98.   this file and we'll revise it.
  99.  
  100.   
  101.   4.  Hardware and Software Requirements
  102.  
  103.   4.1  Supported, Required, and Recommended Hardware
  104.  
  105.      o   At least a 486DX33 with 16MB RAM is required. A Pentium or Pentium Pro
  106.          and more main memory is recommended. A 386 or a system with 8MB or less
  107.          memory is an insufficient configuration.
  108.  
  109.      o   There are no specific requirements concerning network cards, disk types,
  110.          or CD ROM equipment; of course the more powerful, the better.
  111.  
  112.      o   Depending on the packages installed, a disk space of 20-55MB on a
  113.          HPFS formatted partition (or a NFS partition natively allowing long 
  114.          filenames) is required. XFree86/OS2 will not run on FAT partitions.
  115.  
  116.      o   You need a video card that is supported by XFree86. Refer to the general
  117.          README document for a list of supported cards. Note that the sets
  118.          of video cards supported by XFree86 on one hand and OS/2 on the other 
  119.          hand overlap, but do not match exactly, i.e. the fact that your card
  120.          is supported by OS/2 does not mean it works with XFree86 as well, and
  121.          vice versa. XFree86 does not use the video services of the OS/2
  122.          operating system.
  123.   
  124.   4.2  Required Software
  125.   
  126.   
  127.      o   Any version of Warp with at least fixpack 17, or Merlin is required
  128.  
  129.      o   XFree86/OS2-3.2 may use a local named-pipe connection or a TCP/IP 
  130.          based network connection.
  131.  
  132.            1.   Warp comes with the Internet Access Kit (IAK), which is
  133.                 sufficient. Warp Connect and Warp Server come with a full
  134.                 version of TCP/IP (3.0). Use of this software is preferred over
  135.                 IAK then.
  136.  
  137.            2.   Merlin comes with TCP/IP 4.0 which should also work.
  138.  
  139.            3.   The old IBM TCP/IP 2.0, that comes with the IBM PMX product
  140.                 may be used with Warp as well.
  141.  
  142.          Other versions of TCP/IP, such as FTP's, DEC's, or Hummingbird's 
  143.          TCP/IP versions, as well as IBM TCP/IP 1.X are not supported. Nor does
  144.          any networking support from DOS (packet drivers, winsock), Netware,
  145.          or NetBIOS work, and I won't to provide support for that in the future.
  146.  
  147.      o   If you want to write or port applications for XFree86, you are
  148.          encouraged to do so. You will need a complete installation of
  149.          EMX/gcc 0.9C or later for doing so. Neither the second (obsolete)
  150.          implementation of gcc, nor any commercial package, including
  151.          Cset/2, VAC++, Borland C++/OS2, Watcom C++, Metaware C, and others,
  152.          is suitable for porting, because various parts of the X DLLs rely
  153.          on certain features only present with EMX.
  154.  
  155.   
  156.   5.  Installing the System
  157.   
  158.   The binary distribution is composed of a number of zip archives
  159.   which are the executables, servers, fonts, libraries, include files,
  160.   man pages, and config files.  The full distribution requires about 
  161.   40-55MB of disk space.  
  162.   
  163.   All archives of this alpha version are packed with the info-zip utility, 
  164.   which is available under the name UNZ512X2.EXE from many OS/2 archives.
  165.   Please obtain a native OS/2 version of this unpacker. DOS PKUNZIP does
  166.   not work, because it cannot unpack long file names and extended attributes.
  167.   
  168.   At this moment, the distribution covers only the ``core'' distribution
  169.   which somewhat reduces the usability. Refer to WWW sites and archives listed 
  170.   in the XFree86/OS2 FAQ and elsewhere to obtain prebuilt X clients which
  171.   were ported to XFree86.
  172.   
  173.       The contents of the packages are:
  174.   
  175.   REQUIRED:
  176.  
  177.       XF32base    A special device driver and the SuperProbe program
  178.  
  179.       XF32doc    READMEs and XFree86 specific man pages.
  180.  
  181.       XF32bin    all of the executable X client applications and shared libs
  182.  
  183.       XF32fnts    the misc and 75dpi fonts
  184.  
  185.       emxrt    Runtime libraries of EMX
  186.  
  187.       Choose at least one of the following to match your hardware:
  188.   
  189.       XF328514    the X server for IBM 8514/A and compatible boards
  190.  
  191.       XF32AGX    the X server for AGX boards
  192.  
  193.       XF32I128    the X server for #9 Imagination 128 boards
  194.  
  195.       XF32Ma32    the X server for ATI Mach32 graphics boards
  196.  
  197.       XF32Ma64    the X server for ATI Mach64 graphics boards
  198.  
  199.       XF32Ma8    the X server for ATI Mach8 graphics boards
  200.  
  201.       XF32Mono    the Monochrome X Server
  202.  
  203.       XF32P9K    the X server for P9000 based boards
  204.  
  205.       XF32S3     the X server for S3 based boards (excluding S3 ViRGE)
  206.  
  207.       XF32S3V     the X server for S3 ViRGE based boards
  208.  
  209.       XF32Svga    the 8-bit pseudo-color X server for Super VGA cards
  210.  
  211.       XF32vg16    the 4-bit pseudo-color X server for VGA & SVGA cards.
  212.  
  213.       XF32w32    the X server for et4000w32 based boards
  214.   
  215.   OPTIONAL:
  216.   
  217.       XF32man     pre-formatted man pages for the X11 interface and clients
  218.  
  219.       XF32f100    100dpi fonts
  220.  
  221.       XF32fscl    Speedo and Type1 fonts
  222.  
  223.       XF32fnon     Japanese, Chinese and other fonts
  224.  
  225.       XF32fcyr    Cyrillic fonts
  226.  
  227.       XF32fsrv    the font server with man pages.
  228.  
  229.       XF32prog    the X11 header files and programmer's utilities
  230.         for compiling other X applications
  231.  
  232.       XF32pex    PEX fonts and libraries required for PEX applications
  233.  
  234.       XF32nest    the experimental Xnest X server
  235.  
  236.       XF32vfb    the experimental VFB X server
  237.   
  238.   In order to save space on your disk and reduce net bandwidth, choose the
  239.   software to obtain carefully. Each X server is an archive of about 1.2MB
  240.   and occupies 3.0MB on the disk. You won't normally need more than the
  241.   single Xserver tailored to your video card.
  242.   
  243.   If it is your first time install, get the XF32base archive before any
  244.   of the other packages. This package contains a driver and a test program,
  245.   which analyzes your video hardware. If this program fails or reports an
  246.   incompatible hardware, it makes no sense to obtain the other packages in
  247.   the hope that they would magically work.
  248.   
  249.  
  250.   6.  Checking Compatibility of Video Hardware
  251.   
  252.   
  253.   In the following, we assume that you want to install XFree86/OS2 on a disk
  254.   drive with the letter Y: (which you probably don't have). Change the letter
  255.   in all commands accordingly.
  256.   
  257.     1.   Obtain the package XF32base and install it from the root directory
  258.          of the Y: drive, by entering the following commands:
  259.   
  260.      [C:\] Y:
  261.      [Y:\] cd \
  262.      [Y:\] unzip \path_of_package\XF32base.zip
  263.   
  264.   
  265.     2.   Edit your CONFIG.SYS file to contain the following line somewhere:
  266.   
  267.      DEVICE=Y:\XFree86\lib\xf86sup.sys
  268.   
  269.          Of course replace ``Y:'' with the correct drive letter.
  270.   
  271.     3.   At this point, you may consider to add the variables required for
  272.          XFree86/OS2 as well, which will save you from one additional reboot.
  273.          Refer to section "Adding Variables to CONFIG.SYS" below.
  274.   
  275.     4.   After adding the device driver entry to the CONFIG.SYS file, you must
  276.          reboot to install the driver. XFree86/OS2 will not work without this
  277.          driver.
  278.   
  279.     5.   Start a full screen OS/2 CMD session and enter the following
  280.          command:
  281.   
  282.      [C:\] Y:\XFree86\bin\SuperProbe
  283.   
  284.     6.   This command will (normally) report important information about your
  285.          video configuration, i.e. the type of chipset, the available video
  286.          memory and the RAMDAC circuit available. Please write this down or
  287.          redirect the output of ``SuperProbe'' into a file by entering:
  288.   
  289.      [C:\] Y:\XFree86\bin\SuperProbe >filename
  290.    
  291.     7.   SuperProbe can identify many more video cards than are supported by
  292.          XFree86. In some cases, Superprobe unfortunately detects a wrong
  293.          card, often it claims to have seen a MCGA card which is some sort of
  294.          a fallback. Generally, if it is approximately right, there are only
  295.          few reasons for doubts; if it is totally off (e.g. saying it has
  296.          seen a ET4000, and you have a Cirrus card), you should report a
  297.          misdetection as a bug to the given address. In all cases, please
  298.          take the few minutes and check the accompanying README.* files to
  299.          check for special precautions, options, or features of the card.
  300.   
  301.     8.   If the README files tell you that your hardware is supported, please
  302.          obtain the rest of the software.
  303.   
  304.   
  305.   7.  Installing the packages
  306.   
  307.   XFree86/OS2 assumes a directory hierarchy starting from drive:\XFree86.
  308.   This can be changed, but is strictly discouraged.
  309.   
  310.     1.   Choose a HPFS partition with sufficient free space.
  311.  
  312.     2.   For each package to install, go to the root directory of this
  313.          drive, and type:
  314.   
  315.      drive:> cd \
  316.      drive:> unzip \path_of_packages\XF32xxxx.zip
  317.   
  318.  
  319.   8.  Adding Variables to CONFIG.SYS
  320.   
  321.   
  322.   XFree86/OS2 requires a number of settings in the CONFIG.SYS file to work
  323.   correctly. Please add the following settings:
  324.   
  325.   TERM
  326.       Set the preferred terminal type for the xterm or editor to be used.
  327.       Some programs need this setting. I have my type set to
  328.  
  329.     SET TERM=ansi
  330.  
  331.       \XFree86\lib\X11\etc\termcap.x11 contains a suitable termcap which
  332.       can be used in place of termcap files that come with EMX, EMACS, or
  333.       other ported software.
  334.  
  335.   TERMCAP
  336.       This variable must be set to the location where the termcap file
  337.       used for the above TERM variable is searched. My setting, for
  338.       instance, is:
  339.  
  340.     SET TERMCAP=D:/EMX/ETC/TERMCAP.X11
  341.  
  342.       Note that forward ``/'' is used as a directory separator.
  343.  
  344.   ETC
  345.       Set to an ETC directory. Normally, this is already set to the ETC
  346.     directory of the TCP/IP code, such as
  347.  
  348.     SET ETC=C:\TCPIP\ETC
  349.  
  350.   TMP
  351.       Set to an TMP directory. Normally, this is already set to the TMP
  352.     directory of the TCP/IP code, such as
  353.  
  354.     SET TMP=C:\TCPIP\TMP
  355.  
  356.   HOSTNAME
  357.       Set to the internet hostname. Normally, this is already set by the
  358.       TCP/IP installation program, such as
  359.  
  360.     SET HOSTNAME=myhost
  361.  
  362.       With IAK, you would normally run a loopback configuration 
  363.       and would then set this to
  364.  
  365.     SET HOSTNAME=localhost
  366.  
  367.   USER
  368.   LOGNAME
  369.       Set both to a username. Currently, they are there just to make some
  370.       programs happy; in the future, this variable might be set by a
  371.       login shell of a multiuser configuration. My variable, for instance,
  372.       is set to
  373.   
  374.     SET USER=holger
  375.     SET LOGNAME=holger
  376.   
  377.   HOME
  378.       Set this to an existing directory that is supposed to be a home directory
  379.       of a user. Some utilities place temporary and init files here. This
  380.       is also future investment for a multiuser configuration, but must still
  381.       be there. For instance, this variable might be set to
  382.  
  383.     SET HOME=H:\user\holger
  384.  
  385.   X11ROOT
  386.       This is one of the most important settings, it determines the root
  387.       of the XFree86 directory tree. Normally, you will set this to the
  388.       drive letter of the partition where the \XFree86 tree resides,
  389.       such as in
  390.  
  391.     SET X11ROOT=Y:
  392.  
  393.       You may try to move the tree to another subdirectory, e.g. to
  394.       K:\OS2\X11\XFree86... and would then have
  395.       to change this to
  396.  
  397.     SET X11ROOT=K:/OS2/X11
  398.  
  399.       but this is discouraged, since some utilities might not accept this.
  400.       Note the forward ``/'' as a directory separator here.
  401.  
  402.   DISPLAY
  403.       This variable may be set to the display to be used for displaying
  404.       clients. Normally you will set this variable to the same value as
  405.       the HOSTNAME variable and simply add a :0.0 after it, such as
  406.  
  407.     SET DISPLAY=myhost:0.0
  408.  
  409.       Read the X11 man page on the exact meaning of these postfixes and
  410.       other options.
  411.  
  412.   XSERVER
  413.       Set this to the executable name of the X server to be used. This
  414.       must be a complete path. My setting is as follows:
  415.  
  416.     SET XSERVER=D:/XFree86/bin/XF86_Mach64.exe
  417.  
  418.   PATH
  419.       Add the binary directory for the X11 utilities to your search PATH.
  420.       This is normally the directory (adjust the letter)
  421.  
  422.     Y:\XFree86\bin
  423.  
  424.       It is possible to move the binaries to another directory in the
  425.       search path; for maintenance reasons and clarity of the structure, this
  426.       is not recommended, though.
  427.  
  428.   LIBPATH
  429.       Add the DLL directory for the X11 utilities to the LIBPATH.
  430.       This is normally the directory (adjust the letter)
  431.  
  432.     Y:\XFree86\lib
  433.  
  434.       It is possible to move the DLLs to another directory in the
  435.       library path; for maintenance reasons and clarity of the structure, 
  436.       this is not recommended, though. Note that
  437.  
  438.       Y:\XFree86\lib
  439.  
  440.       has several other subdirectories; these may not be moved elsewhere,
  441.       rather they must stay there, because most utilities form a path to
  442.       these directories by using %X11ROOT%\XFree86\lib
  443.       as a base.
  444.   
  445.   The recent version of XFree86/OS2 has a REXX script named checkinstall.cmd
  446.   which you can (and should) use to check whether you have entered most things
  447.   correctly. This is not bullet-proof, but prevents the most obvious 
  448.   setup problems.
  449.   
  450.  
  451.   9.  Remarks on the Network Configuration
  452.   
  453.   
  454.   It is beyond the scope of this document to even give an introduction about
  455.   the correct installation of the TCP/IP networking system. You must do this
  456.   yourself or seek assistance elsewhere. It is only possible to say here that
  457.   a PC working well in a TCP/IP based LAN network will also work with 
  458.   XFree86/OS2 (when all other prerequisites are matched as well). 
  459.   
  460.   With IAK, there is a special configuration necessary, unless you want 
  461.   to use XFree86/OS2 only during a hot link to your Internet provider, 
  462.   the so called ``localhost'' or ``loopback'' configuration. This is
  463.   a local network interface which ``loops'' back to the same host. The 
  464.   following settings are necessary for this:
  465.   
  466.     1.  Create a file \tcpip\etc\hosts with the
  467.       following content:
  468.  
  469.     127.0.0.1  localhost
  470.  
  471.     2.  Add the following line to your
  472.       \tcpip\bin\tcpstart.cmd:
  473.  
  474.     ifconfig lo 127.0.0.1 up
  475.  
  476.     3.  Set the HOSTNAME environment variable to localhost as described
  477.         in the last section.
  478.  
  479.     4.  Add the following line to CONFIG.SYS:
  480.  
  481.     SET USE_HOSTS_FIRST=1
  482.  
  483.     5.  After rebooting, verify that the following command works:
  484.  
  485.     [C:\] ping localhost
  486.   
  487.   The checkinstall.cmd script coming with XFree86/OS2 gives some advice
  488.   here as well.
  489.   
  490.   If you have problems to get this or other basic networking things running,
  491.   seek assistance elsewhere.
  492.   
  493.  
  494.   10.  Configuring X for Your Hardware
  495.     
  496.   After you have added the required settings and setup a working network,
  497.   run the xf86config program to create a standard configuration file
  498.   in Y:\XFree86\lib\X11\XConfig from a windowed or full screen OS/2 
  499.   text session:
  500.  
  501.   [C:\] xf86config
  502.   
  503.   The xf86config program will ask a number of questions. You will need 
  504.   the information obtained from the SuperProbe program here. The program
  505.   should be self explanatory; if you have problems to understand something
  506.   though, seek assistance in the newsgroups.
  507.   
  508.   Alternatively, but not recommended for the non-expert, you can edit the 
  509.   XConfig file manually with a text editor. A sample file is in
  510.  
  511.   Y:\XFree86\lib\X11\XConfig.eg
  512.  
  513.   which can be used as a starting point.
  514.   
  515.   For details about the XF86Config file format, refer to the
  516.   XF86Config(4/5) manual page.
  517.   
  518.   By the time this README file is written, a more sophisticated and user
  519.   friendly setup program named XF86Setup, which is the now preferred
  520.   configuration software for XFree86, was not yet functioning, but
  521.   this might change in the final version. Please check the LATEST.OS2 file.
  522.   
  523.   If you know the configuration process from Linux or other XFree86 platform, 
  524.   you will encounter a few differences:
  525.  
  526.     o    The configuration file is named XF86Config in Unix environments.
  527.  
  528.     o   There is no configuration for the mouse type or device. The mouse
  529.     device name is fixed to OSMOUSE, and this cannot be changed.
  530.     If you have a three-button-mouse, install the correct OS/2 driver 
  531.     for it, such as
  532.   
  533.     DEVICE=D:\OS2\BOOT\PCLOGIC.SYS SERIAL=COM1
  534.     DEVICE=D:\OS2\BOOT\MOUSE.SYS TYPE=PCLOGIC$
  535.   
  536.     for a MouseSystems compatible mouse, for instance.
  537.  
  538.     o   The X server supports the XKEYBOARD extension, so it can take
  539.     advantage from a number of precompiled national keyboard layouts.
  540.     Enable the XKB option and choose an appropriate keyboard in the 
  541.     xf86config dialog. For special purposes, you can also configure
  542.     the XKB files in Y:\XFree86\lib\X11\xkb, or use an xmodmap file.
  543.  
  544.     o   There is no support for the Wacom and Elographics input devices yet.
  545.   
  546.   In most cases, an existing XF86Config file for the same XFree86 version
  547.   from Linux or another platform may be used without changes. There is one 
  548.   prominent exception: some S3 805 based VLB cards put their video memory
  549.   in odd locations. The X server can search for this memory by experimentally
  550.   mapping and unmapping possible memory regions. In XFree86/OS2, the OS may
  551.   run out of memory tiles during this process. If this happens, you must
  552.   find out the location of the memory yourself and add it as an option
  553.   
  554.       MemBase 0x12345678
  555.   
  556.   to the XConfig file.
  557.   
  558.   Once you've set up a XF86Config file, you can fine tune the video
  559.   modes with the xvidtune utility. 
  560.   
  561.  
  562.   11.  Running X
  563.  
  564.   16mb of memory is a recommended minimum for running the network software,
  565.   X and the presentation manager in parallel.  The server, window manager and 
  566.   an xterm take about 4-6 Mb of memory themselves.  X will start up on a
  567.   system with 8MB or less, but the performance will severely suffer from
  568.   heavy disk swapping. Your mileage may vary, though, so some people might
  569.   consider this still tolerable.
  570.   
  571.   The easiest way for new users to start X windows is to type: 
  572.  
  573.   [C:\] startx.
  574.   
  575.   To get out of X windows, select the ``exit'' function of the window manager.
  576.   You can customize your X by creating .xinitrc, .xserverrc,
  577.   and .twmrc files in the directory that the HOME environment variable
  578.   points to. These files are described in the xinit and startx man pages.
  579.   
  580.  
  581.   12.  Rebuilding the XFree86 Distribution
  582.     
  583.   Do you really want to rebuild XFree86/OS2 from source? Read the file OS2.Notes
  584.   on details to recompile XFree86/OS2 from scratch.
  585.  
  586.  
  587.   13.  Building New X Clients
  588.     
  589.   The easiest way to build a new client (X application) is to use
  590.   xmkmf if an Imakefile is included in the sources.  Type
  591.   ``xmkmf -a'' to create the Makefiles, check the configuration if
  592.   necessary and type ``xmake''. ``xmake'' is a wrapper for the
  593.   GNU make program which defeats the improper SHELL setting typically found
  594.   in a Makefile generated from an Imakefile. Also see the XFree86/OS2 FAQ 
  595.   for more hints about porting X clients.
  596.   
  597.  
  598.   14.  Acknowledgements
  599.   
  600.   Many thanks to:
  601.  
  602.     o   Sebastien Marineau for his great work on getting the server code
  603.         debugged
  604.  
  605.     o   Eberhard Mattes for the wonderful base platform EMX which this
  606.         port heavily relies on
  607.  
  608.     o   ME - no, no, forget this: I won't praise myself :-)
  609.   
  610.  
  611.   
  612.   $XFree86$
  613.   
  614.   
  615.   
  616.   
  617.   
  618.   $XConsortium$
  619.   
  620.   
  621.