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.3 / README.OS2 < prev    next >
Text File  |  1997-06-05  |  28KB  |  993 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.             README for XFree86 3.3 on OS/2
  11.  
  12.                   Holger Veit
  13.  
  14.              Last modified on: 17 May 1997
  15.  
  16.  
  17.  
  18. 1.  Introductory Note about the release 3.3
  19.  
  20. Before looking into this file, please check for any LATEST.OS2 files that may
  21. come with the binary distribution. Please also check out the following
  22. XFree86/OS2 WWW pages:
  23.  
  24.    o http://set.gmd.de/~veit/os2/xf86os2.html
  25.  
  26.    o http://set.gmd.de/~veit/os2/xf86bugs.html
  27.  
  28.    o http://set.gmd.de/~veit/os2/x11os2faq.html
  29.  
  30. before you claim to have found any problems.
  31.  
  32. This version of the code is called XFree86/OS2 3.3. This is a full, unre-
  33. stricted version which does not expire, and for which the complete source code
  34. is available. In contrast to beta versions, we consider this code as suffi-
  35. ciently stable for use by an end user. Since there have been numerous bugfixes,
  36. we recommend this version, even if you had XFree86/OS2 3.2 before and it worked
  37. satisfyingly with your hardware.
  38.  
  39. Previous versions have been tested in a large number of configurations and have
  40. been found to be working, with some bugs left, rather flawlessly.
  41.  
  42. This release is almost complete (with a few exceptions) regarding the X11R6.3
  43. ``core'' distribution. A subset of the ``contrib'' distribution is available
  44. from the ported software page http://set.gmd.de/~veit/os2/xf86ported.html
  45.  
  46. In the past beta testing, it has been found that the software itself is rather
  47. stable and does not damage hardware - provided the user does not try to push
  48. the builtin limits and change certain configuration parameters which could
  49. operate the video hardware out of specs.
  50.  
  51. However,
  52.  
  53.    o even with a code we consider stable there is no explicit or implicit war-
  54.      ranty that certain code works correctly or works at all
  55.  
  56.    o although no damage reports are known, it does not mean that it is impossi-
  57.      ble to damage hardware with this code; some deeply hidden bugs may still
  58.      be present in the software.
  59.  
  60. It is recommended that you backup essential data of your system before
  61. installing this software, but this should be your general precautions before
  62.  
  63.  
  64. README for XFree86 3.3 on OS/2
  65.  
  66.  
  67.  
  68.  
  69.  
  70. README for XFree86 3.3 on OS/2
  71.  
  72.  
  73.  
  74. ANY installation. No reports exist that a crashing X server itself actively
  75. destroys or modifies data, but it is possible in rare cases that the system is
  76. left in an unusable state (video display mode garbled or system unresponsive,
  77. not reacting to mouse or keyboard actions).  If you then hard reset or switch
  78. off the system, file caches of the operating system might not be written cor-
  79. rectly back to disk, thus causing data loss.
  80.  
  81.  
  82. 2.  What and Where is XFree86?
  83.  
  84. XFree86 is a port of X11R6 that supports several versions of Intel-based Unix.
  85. It is derived from X386 1.2, which was the X server distributed with X11R5.
  86. This release consists of many new features and performance improvements as well
  87. as many bug fixes.  The release is available as source patches against the X
  88. Consortium X11R6 code, as well as binary distributions for many architectures.
  89.  
  90. XFree86/OS2 is the name of the implementation of XFree86 on OS/2 based systems.
  91.  
  92. See the Copyright Notice.
  93.  
  94. Binaries for OS/2 Warp and Merlin are available from:
  95. ftp.XFree86.org:/pub/XFree86/beta/OS2
  96.  
  97. The WWW page http://borneo.gmd.de/~veit/os2/xf86os2.html will usually show more
  98. references to FTP or WWW sites to retrieve sources or binaries.
  99.  
  100. Other versions:
  101.  
  102. XFree86/OS2 will run on all dialects of Warp 3, including Warp "red spine box",
  103. Warp "blue spine box", Warp Connect, Warp Server, and Warp 4.
  104.  
  105. For Warp 3 installing fixpack level 17 is strongly recommended, newer fixpacks
  106. like 22 also work. There have been a few reports that the installation of FP26
  107. causes XFree86 no longer to work, but I am not sure about a real reason.
  108.  
  109. Warp 4 may be used with or without the recent public fixpack FP1.
  110.  
  111. Please check in all cases a LATEST.OS2 file.
  112.  
  113. OS/2 2.11 is not supported any longer with this release, due to lack of a work-
  114. ing test environment. Consequently, OS/2 SMP is not supported either, because
  115. this is currently based on OS/2 2.11. Warp Server SMP is supported, but SMP
  116. does not give significant advantage, other than the general speedup because of
  117. multiple processors working.  OS/2 versions 1.X are definitely not supported
  118. and will never be.
  119.  
  120. It is possible to build XFree86/OS2 from the sources.  Read about this in the
  121. document OS2.NOTES.
  122.  
  123.  
  124. 3.  Bug Reports for This Document
  125.  
  126. Send email to Holger.Veit@gmd.de (Holger Veit) or XFree86@XFree86.org if you
  127. have comments or suggestions about this file and we'll revise it.
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. README for XFree86 3.3 on OS/2
  137.  
  138.  
  139.  
  140. 4.  Hardware and Software Requirements
  141.  
  142. 4.1  Supported, Required, and Recommended Hardware
  143.  
  144.    o At least a 486DX33 with 16MB RAM is required. A Pentium or Pentium Pro and
  145.      more main memory is recommended. A 386 or a system with 8MB or less memory
  146.      is an insufficient configuration.
  147.  
  148.    o There are no specific requirements concerning network cards, disk types,
  149.      or CD ROM equipment; of course the more powerful, the better.
  150.  
  151.    o Depending on the packages installed, a disk space of 20-55MB on a HPFS
  152.      formatted partition (or a NFS partition natively allowing long filenames)
  153.      is required. XFree86/OS2 will not run on FAT partitions.
  154.  
  155.    o You need a video card that is supported by XFree86. Refer to the general
  156.      README document for a list of supported cards. Note that the sets of video
  157.      cards supported by XFree86 on one hand and OS/2 on the other hand overlap,
  158.      but do not match exactly, i.e. the fact that your card is supported by
  159.      OS/2 does not mean it works with XFree86 as well, and vice versa. XFree86
  160.      does not use the video services of the OS/2 operating system.
  161.  
  162. 4.2  Required Software
  163.  
  164.    o Any version of Warp 3 with at least fixpack 17, or Warp 4 is required
  165.  
  166.    o XFree86/OS2-3.3 may use a local named-pipe connection or a TCP/IP based
  167.      network connection.
  168.  
  169.        1.  Warp comes with the Internet Access Kit (IAK), which is sufficient.
  170.        Warp Connect and Warp Server come with a full version of TCP/IP
  171.        (3.0). Use of this software is preferred over IAK then.
  172.  
  173.        2.  Warp 4 comes with TCP/IP 4.0 which should also work.
  174.  
  175.        3.  The old IBM TCP/IP 2.0, that comes with the IBM PMX product may be
  176.        used with Warp as well, although it is no longer supported by IBM.
  177.        Please ensure that you have the latest CSDs installed.
  178.  
  179.      Other versions of TCP/IP, such as FTP's, DEC's, or Hummingbird's TCP/IP
  180.      versions, as well as IBM TCP/IP 1.X are not supported. Nor does any net-
  181.      working support from DOS (packet drivers, winsock), Netware, or NetBIOS
  182.      work, and I won't to provide support for that in the future.
  183.  
  184.    o If you want to write or port applications for XFree86, you are encouraged
  185.      to do so. You will need a complete installation of EMX/gcc 0.9C or later
  186.      for doing so. Neither the second (obsolete) implementation of gcc, nor any
  187.      commercial package, including Cset/2, VAC++, Borland C++/OS2, Watcom C++,
  188.      Metaware C, and others, is suitable for porting, because various parts of
  189.      the X DLLs rely on certain features only present with EMX.
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. README for XFree86 3.3 on OS/2
  203.  
  204.  
  205.  
  206. 5.  Installing the System
  207.  
  208. The binary distribution is composed of a number of zip archives which are the
  209. executables, servers, fonts, libraries, include files, man pages, and config
  210. files.    The full distribution requires about 40-55MB of disk space.
  211.  
  212. All archives of this alpha version are packed with the info-zip utility, which
  213. is available under the name UNZ512X2.EXE from many OS/2 archives.  Please
  214. obtain a native OS/2 version of this unpacker. DOS PKUNZIP does not work,
  215. because it cannot unpack long file names and extended attributes.
  216.  
  217. At this moment, the distribution covers only the ``core'' distribution which
  218. somewhat reduces the usability. Refer to WWW sites and archives listed in the
  219. XFree86/OS2 FAQ and elsewhere to obtain pre-built X clients which were ported
  220. to XFree86.
  221.  
  222. The contents of the packages are:
  223.  
  224.       REQUIRED:
  225.  
  226.           X33base
  227.             A special device driver and the SuperProbe program
  228.  
  229.           X33doc
  230.             READMEs and XFree86 specific man pages.
  231.  
  232.           X33bin
  233.             all of the executable X client applications and shared
  234.             libs
  235.  
  236.           X33fnts
  237.             the misc and 75dpi fonts
  238.  
  239.           emxrt
  240.             Runtime libraries of EMX
  241.  
  242.         Choose at least one of the following to match your hardware:
  243.  
  244.           X338514
  245.             the X server for IBM 8514/A and compatible boards
  246.  
  247.           X33AGX
  248.             the X server for AGX boards
  249.  
  250.           XA32AI128
  251.             the X server for #9 Imagination 128 boards
  252.  
  253.           X33Ma32
  254.             the X server for ATI Mach32 graphics boards
  255.  
  256.           X33Ma64
  257.             the X server for ATI Mach64 graphics boards
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268. README for XFree86 3.3 on OS/2
  269.  
  270.  
  271.  
  272.           X33Ma8
  273.             the X server for ATI Mach8 graphics boards
  274.  
  275.           X33Mono
  276.             the Monochrome X Server
  277.  
  278.           X33P9K
  279.             the X server for P9000 based boards
  280.  
  281.           X33S3
  282.             the X server for S3 based boards (excluding S3 ViRGE)
  283.  
  284.           X33S3V
  285.             the X server for S3 ViRGE based boards
  286.  
  287.           X33SVGA
  288.             the 8-bit pseudo-color X server for Super VGA cards
  289.  
  290.           X33VG16
  291.             the 4-bit pseudo-color X server for VGA & SVGA cards.
  292.  
  293.           X33W32
  294.             the X server for et4000w32 based boards
  295.  
  296.       OPTIONAL:
  297.  
  298.           X33man
  299.             pre-formatted man pages for the X11 interface and
  300.             clients
  301.  
  302.           X33f100
  303.             100dpi fonts
  304.  
  305.           X33fscl
  306.             Speedo and Type1 fonts
  307.  
  308.           X33fnon
  309.             Japanese, Chinese and other fonts
  310.  
  311.           X33fcyr
  312.             Cyrillic fonts
  313.  
  314.           X33fsrv
  315.             the font server with man pages.
  316.  
  317.           X33prog
  318.             the X11 header files and programmer's utilities for
  319.             compiling other X applications
  320.  
  321.           X33pex
  322.             PEX fonts and libraries required for PEX applications
  323.  
  324. In order to save space on your disk and reduce net bandwidth, choose the soft-
  325. ware to obtain carefully. Each X server is an archive of about 1.2MB and
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334. README for XFree86 3.3 on OS/2
  335.  
  336.  
  337.  
  338. occupies 3.0MB on the disk. You won't normally need more than the single
  339. Xserver tailored to your video card.
  340.  
  341. If it is your first time install, get the X33base archive before any of the
  342. other packages. This package contains a driver and a test program, which ana-
  343. lyzes your video hardware. If this program fails or reports an incompatible
  344. hardware, it makes no sense to obtain the other packages in the hope that they
  345. would magically work.
  346.  
  347.  
  348. 6.  Troubleshooting
  349.  
  350. Surprised to see this section directly in the beginning? We have put it here
  351. because chances are best here not to overlook it. This does not mean that you
  352. will necessarily encounter trouble when installing XFree86, but be warned: the
  353. following sections are IMPORTANT and neglecting one or more things out of impa-
  354. tience or sloppiness will leave you with a non-working X11 system and us with
  355. unnecessary problems.
  356.  
  357. Still, due to the incredibly large number of hardware configurations, there may
  358. be some special situations and configurations where the below description is
  359. not successful. If this happens, read - I repeat READ - the list of ``fre-
  360. quently asked questions'' (FAQ) which has meanwhile evolved to a troubleshoot-
  361. ing guide. The latest version is always at
  362. http://set.gmd.de/~veit/os2/x11os2faq.html .
  363.  
  364. Maybe - but we found you must be very creative - you find a bug. Consult the
  365. page http://set.gmd.de/~veit/os2/xf86bugs.html whether it is already known. If
  366. not, you have a case and should report it to XFree86 (xfree86@xfree86.org).
  367. Please refer to the FAQ about the information to be provided for a complete
  368. problem report.
  369.  
  370. The recommended newsgroup for setup questions is comp.os.os2.setup.misc.  I
  371. read this group, so it won't speed up the process or enforce anything if you
  372. post to other groups, or forward the report to my mail address as well or to
  373. xfree86@xfree86.org.
  374.  
  375. So, not to discourage you completely, the setup section begins:
  376.  
  377.  
  378. 7.  Checking Compatibility of Video Hardware
  379.  
  380. In the following, we assume that you want to install XFree86/OS2 on a disk
  381. drive with the letter Y: (which you probably don't have). Change the letter in
  382. all commands accordingly.
  383.  
  384.   1.  Obtain the package X33base and install it from the root directory of the
  385.       Y: drive, by entering the following commands:
  386.  
  387.        [C:\] Y:
  388.        [Y:\] cd \
  389.        [Y:\] unzip \path_of_package\X33base.zip
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400. README for XFree86 3.3 on OS/2
  401.  
  402.  
  403.  
  404.   2.  Edit your CONFIG.SYS file to contain the following line somewhere:
  405.  
  406.        DEVICE=Y:\XFree86\lib\xf86sup.sys
  407.  
  408.  
  409.       Of course replace ``Y:'' with the correct drive letter.
  410.  
  411.   3.  At this point, you may consider to add the variables required for
  412.       XFree86/OS2 as well, which will save you from one additional reboot.
  413.       Refer to section Adding Variables to CONFIG.SYS (section 9., page 8)
  414.       below.
  415.  
  416.   4.  After adding the device driver entry to the CONFIG.SYS file, you must
  417.       reboot to install the driver. XFree86/OS2 will not work without this
  418.       driver.
  419.  
  420.   5.  Start a full screen OS/2 CMD session and enter the following command:
  421.  
  422.        [C:\] Y:\XFree86\bin\SuperProbe
  423.  
  424.  
  425.  
  426.   6.  This command will (normally) report important information about your
  427.       video configuration, i.e. the type of chipset, the available video memory
  428.       and the RAMDAC circuit available. Please write this down or redirect the
  429.       output of ``SuperProbe'' into a file by entering:
  430.  
  431.        [C:\] Y:\XFree86\bin\SuperProbe >filename
  432.  
  433.  
  434.  
  435.   7.  SuperProbe can identify many more video cards than are supported by
  436.       XFree86. In some cases, SuperProbe unfortunately detects a wrong card,
  437.       often it claims to have seen a MCGA card which is some sort of a fall-
  438.       back. Generally, if it is approximately right, there are only few reasons
  439.       for doubts; if it is totally off (e.g. saying it has seen a ET4000, and
  440.       you have a Cirrus card), you should report a mis-detection as a bug to
  441.       the given address. In all cases, please take the few minutes and check
  442.       the accompanying README.* files to check for special precautions,
  443.       options, or features of the card.
  444.  
  445.   8.  If the README files tell you that your hardware is supported, please
  446.       obtain the rest of the software.
  447.  
  448.  
  449. 8.  Installing the packages
  450.  
  451. XFree86/OS2 assumes a directory hierarchy starting from drive:\XFree86.  This
  452. can be changed, but is strictly discouraged.
  453.  
  454.   1.  Choose a HPFS partition with sufficient free space.
  455.  
  456.   2.  For each package to install, go to the root directory of this drive, and
  457.       type:
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466. README for XFree86 3.3 on OS/2
  467.  
  468.  
  469.  
  470.        drive:> cd \
  471.        drive:> unzip \path_of_packages\X33xxxx.zip
  472.  
  473.   3.  You might encounter that some packages report duplicate files, e.g.  the
  474.       X server packages install corresponding README files, which are also in
  475.       the X33doc package. This is okay, the files are the same. Let unzip
  476.       replace the files.
  477.  
  478.   4.  There is no special sequence of installing packages required.
  479.  
  480.  
  481. 9.  Adding Variables to CONFIG.SYS
  482.  
  483. XFree86/OS2 requires a number of settings in the CONFIG.SYS file to work cor-
  484. rectly. Please add the following settings:
  485.  
  486.       TERM
  487.         Set the preferred terminal type for the xterm or editor to be used.
  488.         Some programs need this setting. I have my type set to
  489.  
  490.          SET TERM=ansi
  491.  
  492.  
  493.         \XFree86\lib\X11\etc\termcap.x11 contains a suitable termcap which
  494.         can be used in place of termcap files that come with EMX, EMACS, or
  495.         other ported software.
  496.  
  497.       TERMCAP
  498.         This variable must be set to the location where the termcap file
  499.         used for the above TERM variable is searched. My setting, for
  500.         instance, is:
  501.  
  502.          SET TERMCAP=D:/EMX/ETC/TERMCAP.X11
  503.  
  504.  
  505.         Note that forward ``/'' is used as a directory separator.
  506.  
  507.       ETC
  508.         Set to an ETC directory. Normally, this is already set to the ETC
  509.         directory of the TCP/IP code, such as
  510.  
  511.          SET ETC=C:\TCPIP\ETC
  512.  
  513.       TMP
  514.         Set to an TMP directory. Normally, this is already set to the TMP
  515.         directory of the TCP/IP code, such as
  516.  
  517.          SET TMP=C:\TCPIP\TMP
  518.  
  519.       HOSTNAME
  520.         Set to the internet hostname. Normally, this is already set by the
  521.         TCP/IP installation program, such as
  522.  
  523.          SET HOSTNAME=myhost
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532. README for XFree86 3.3 on OS/2
  533.  
  534.  
  535.  
  536.         With IAK, you would normally run a loopback configuration Network
  537.         configuration (section 10., page 10) and would then set this to
  538.  
  539.          SET HOSTNAME=localhost
  540.  
  541.       USER
  542.  
  543.       LOGNAME
  544.         Set both to a username. Currently, they are there just to make some
  545.         programs happy; in the future, this variable might be set by a
  546.         login shell of a multiuser configuration. My variable, for
  547.         instance, is set to
  548.  
  549.              SET USER=holger
  550.              SET LOGNAME=holger
  551.  
  552.       HOME
  553.         Set this to an existing directory that is supposed to be a home
  554.         directory of a user. Some utilities place temporary and init files
  555.         here. This is also future investment for a multiuser configuration,
  556.         but must still be there. For instance, this variable might be set
  557.         to
  558.  
  559.          SET HOME=H:\user\holger
  560.  
  561.       X11ROOT
  562.         This is one of the most important settings, it determines the root
  563.         of the XFree86 directory tree. Normally, you will set this to the
  564.         drive letter of the partition where the \XFree86 tree resides, such
  565.         as in
  566.  
  567.          SET X11ROOT=Y:
  568.  
  569.  
  570.         You may try to move the tree to another subdirectory, e.g. to
  571.         K:\OS2\X11\XFree86... and would then have to change this to
  572.  
  573.          SET X11ROOT=K:/OS2/X11
  574.  
  575.         , but this is discouraged, since some utilities might not accept
  576.         this.  Note the forward ``/'' as a directory separator here.
  577.  
  578.       DISPLAY
  579.         This variable may be set to the display to be used for displaying
  580.         clients. Normally you will set this variable to the same value as
  581.         the HOSTNAME variable and simply add a :0.0 after it, such as
  582.  
  583.          SET DISPLAY=myhost:0.0
  584.  
  585.  
  586.         Read the X11 man page on the exact meaning of these postfixes and
  587.         other options.
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598. README for XFree86 3.3 on OS/2
  599.  
  600.  
  601.  
  602.       XSERVER
  603.         Set this to the executable name of the X server to be used. This
  604.         must be a complete path. My setting is as follows:
  605.  
  606.          SET XSERVER=D:/XFree86/bin/XF86_Mach64.exe
  607.  
  608.       PATH
  609.         Add the binary directory for the X11 utilities to your search PATH.
  610.         This is normally the directory (adjust the letter)
  611.  
  612.          Y:\XFree86\bin
  613.  
  614.  
  615.         It is possible to move the binaries to another directory in the
  616.         search path; for maintenance reasons and clarity of the structure,
  617.         this is not recommended, though.
  618.  
  619.       LIBPATH
  620.         Add the DLL directory for the X11 utilities to the LIBPATH.  This
  621.         is normally the directory (adjust the letter)
  622.  
  623.          Y:\XFree86\lib
  624.  
  625.  
  626.         It is possible to move the DLLs to another directory in the library
  627.         path; for maintenance reasons and clarity of the structure, this is
  628.         not recommended, though. Note that Y:\XFree86\lib has several other
  629.         subdirectories; these may not be moved elsewhere, rather they must
  630.         stay there, because most utilities form a path to these directories
  631.         by using %X11ROOT%\XFree86\lib as a base.
  632.  
  633. The recent version of XFree86/OS2 has a REXX script named checkinstall.cmd
  634. which you can (and should) use to check whether you have entered most things
  635. correctly. This is not bullet-proof, but prevents the most obvious setup prob-
  636. lems. Also, the X server itself will do some checking and will refuse to start
  637. if something is wrong.
  638.  
  639.  
  640. 10.  Remarks on the Network Configuration
  641.  
  642. It is beyond the scope of this document to even give an introduction about the
  643. correct installation of the TCP/IP networking system. You must do this yourself
  644. or seek assistance elsewhere. It is only possible to say here that a PC working
  645. well in a TCP/IP based LAN network will also work with XFree86/OS2 (when all
  646. other prerequisites are matched as well).
  647.  
  648. With IAK, there is a special configuration necessary, unless you want to use
  649. XFree86/OS2 only during a hot link to your Internet provider, the so called
  650. ``localhost'' or ``loopback'' configuration. This is a local network interface
  651. which ``loops'' back to the same host. The following settings are necessary for
  652. this:
  653.  
  654.   1.  Create a file \tcpip\etc\hosts with the following content:
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664. README for XFree86 3.3 on OS/2
  665.  
  666.  
  667.  
  668.        127.0.0.1  localhost
  669.  
  670.   2.  Add the following line to your \tcpip\bin\tcpstart.cmd:
  671.  
  672.        ifconfig lo 127.0.0.1 up
  673.  
  674.   3.  Uncomment the inetd process in the same file.
  675.  
  676.   4.  Set the HOSTNAME environment variable to localhost as described in the
  677.       last section.
  678.  
  679.   5.  Add the following line to CONFIG.SYS:
  680.  
  681.        SET USE_HOSTS_FIRST=1
  682.  
  683.   6.  After rebooting, verify that the following command works:
  684.  
  685.        [C:\] ping localhost
  686.  
  687. The checkinstall.cmd script coming with XFree86/OS2 gives some advice here as
  688. well.
  689.  
  690. If you have problems to get this or other basic networking things running, seek
  691. assistance elsewhere.
  692.  
  693.  
  694. 11.  Configuring X for Your Hardware
  695.  
  696. After you have added the required settings and setup a working network, run the
  697. xf86config program to create a standard configuration file in
  698. Y:\XFree86\lib\X11\XConfig from a windowed or full screen OS/2 text session:
  699.  
  700.      [C:\] xf86config
  701.  
  702. The xf86config program will ask a number of questions. You will need the infor-
  703. mation obtained from the SuperProbe program here. The program should be self
  704. explanatory; if you have problems to understand something though, seek assis-
  705. tance in the newsgroups.
  706.  
  707. It is possible, but strongly discouraged for the non-expert, to edit the XCon-
  708. fig file with a text editor. In a few situations, as described in the FAQ, this
  709. might even be mandatory. This file is not a hacker's area, such as the Win95
  710. registry, but it has in common with it that you can easily cause damage.
  711.  
  712. For details about the XF86Config file format, refer to the XF86Config(4/5) man-
  713. ual page.
  714.  
  715. If you know the configuration process from Linux or other XFree86 platform, you
  716. will encounter a few differences:
  717.  
  718.    o The configuration file is named XF86Config in Unix environments.
  719.  
  720.    o There is no configuration for the mouse type or device. The mouse device
  721.      name is fixed to OSMOUSE, and this cannot be changed.  If you have a
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730. README for XFree86 3.3 on OS/2
  731.  
  732.  
  733.  
  734.      three-button-mouse, install the correct OS/2 driver for it, such as
  735.  
  736.       DEVICE=D:\OS2\BOOT\PCLOGIC.SYS SERIAL=COM1
  737.       DEVICE=D:\OS2\BOOT\MOUSE.SYS TYPE=PCLOGIC$
  738.  
  739.  
  740.      for a MouseSystems compatible mouse, for instance.
  741.  
  742.    o The X server does not read the native OS/2 keyboard map, so you need a
  743.      xmodmap file for a non-us keyboard. Fortunately, it is the same you use
  744.      for Linux. Alternatively, for standard keyboards, you can also use the XKB
  745.      extension which is offered during the xf86config dialogue, provided your
  746.      language is available.
  747.  
  748.    o There is no support for the Wacom and Elographics input devices yet.
  749.  
  750. In most cases, an existing XF86Config file for the same XFree86 version from
  751. Linux or another platform may be used without changes. There is one prominent
  752. exception: some S3 805 based VLB cards put their video memory in odd locations.
  753. The X server can search for this memory by experimentally mapping and unmapping
  754. possible memory regions. In XFree86/OS2, the OS may run out of memory tiles
  755. during this process. If this happens, you must find out the location of the
  756. memory yourself and add it as an option
  757.  
  758.       MemBase 0x12345678
  759.  
  760.  
  761. to the XConfig file.
  762.  
  763. Once you've set up a XF86Config file, you can fine tune the video modes with
  764. the xvidtune utility.
  765.  
  766.  
  767. 12.  Running X
  768.  
  769. 16mb of memory is a recommended minimum for running the network software, X and
  770. the presentation manager in parallel.  The server, window manager and an xterm
  771. take about 4-6 Mb of memory themselves.  X will start up on a system with 8MB
  772. or less, but the performance will severely suffer from heavy disk swapping.
  773. Your mileage may vary, though, so some people might consider this still tolera-
  774. ble.
  775.  
  776. The easiest way for new users to start X windows is to type:
  777.  
  778.      [C:\] startx
  779.  
  780. .
  781.  
  782. To get out of X windows, type: ``exit'' in the console xterm.  You can cus-
  783. tomize your X by creating .xinitrc, .xserverrc, and .twmrc files in the direc-
  784. tory that the HOME environment variable points to. These files are described in
  785. the xinit and startx man pages.
  786.  
  787. By default, the systemwide xinitrc file (in
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796. README for XFree86 3.3 on OS/2
  797.  
  798.  
  799.  
  800. Y:/XFree86/lib/X11/xinit/xinitrc.cmd) installs the rather simplistic twm window
  801. manager. You can find better window managers on the ported software page at
  802. http://set.gmd.de/~veit/os2/xf86ported.html .
  803.  
  804.  
  805. 13.  Rebuilding the XFree86 Distribution
  806.  
  807. Do you really want to rebuild XFree86/OS2 from source? Read the file OS2.Notes
  808. on details to recompile XFree86/OS2 from scratch.
  809.  
  810.  
  811. 14.  Building New X Clients
  812.  
  813. The easiest way to build a new client (X application) is to use xmkmf if an
  814. Imakefile is included in the sources.  Type ``xmkmf -a'' to create the Make-
  815. files, check the configuration if necessary and type ``xmake''. ``xmake'' is a
  816. wrapper for the GNU make program which defeats the improper SHELL setting typi-
  817. cally found in a Makefile generated from an Imakefile. Also see the XFree86/OS2
  818. FAQ for more hints about porting X clients.
  819.  
  820.  
  821. 15.  Acknowledgements
  822.  
  823. Many thanks to:
  824.  
  825.    o Sebastien Marineau for his great work on getting the server code debugged
  826.  
  827.    o Eberhard Mattes for the wonderful base platform EMX which this port heav-
  828.      ily relies on
  829.  
  830.    o ME - no, no, forget this: I won't praise myself :-)
  831.  
  832.      Generated from XFree86: xc/programs/Xserver/hw/xfree86/doc/sgml/OS2.sgml,v 3.9.2.3 1997/05/24 08:36:06 dawes Exp $
  833.  
  834.  
  835.  
  836.  
  837.  
  838.      $XConsortium: OS2.sgml /main/4 1996/03/11 10:46:06 kaleb $
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862. README for XFree86 3.3 on OS/2
  863.  
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.  
  930.  
  931.  
  932.                    CONTENTS
  933.  
  934.  
  935.  
  936. 1.  Introductory Note about the release 3.3 ................................. 1
  937.  
  938. 2.  What and Where is XFree86? .............................................. 2
  939.  
  940. 3.  Bug Reports for This Document ........................................... 2
  941.  
  942. 4.  Hardware and Software Requirements ...................................... 3
  943.     4.1 Supported, Required, and Recommended Hardware ....................... 3
  944.     4.2 Required Software ................................................... 3
  945.  
  946. 5.  Installing the System ................................................... 4
  947.  
  948. 6.  Troubleshooting ......................................................... 6
  949.  
  950. 7.  Checking Compatibility of Video Hardware ................................ 6
  951.  
  952. 8.  Installing the packages ................................................. 7
  953.  
  954. 9.  Adding Variables to CONFIG.SYS  ......................................... 8
  955.  
  956. 10. Remarks on the Network Configuration ................................... 10
  957.  
  958. 11. Configuring X for Your Hardware ........................................ 11
  959.  
  960. 12. Running X .............................................................. 12
  961.  
  962. 13. Rebuilding the XFree86 Distribution .................................... 13
  963.  
  964. 14. Building New X Clients ................................................. 13
  965.  
  966. 15. Acknowledgements ....................................................... 13
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.                        i
  989.  
  990.  
  991.  
  992. $XFree86: xc/programs/Xserver/hw/xfree86/doc/README.OS2,v 3.13.2.3 1997/05/24 09:12:06 dawes Exp $
  993.