home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / server / ddx / macII / README < prev    next >
Encoding:
Text File  |  1989-12-13  |  2.8 KB  |  66 lines

  1. These Apple X11 drivers support 1 and 8 bit deep screens on Macintosh hardware 
  2. running A/UX. Multiple screens of any size and both depths are accomodated.
  3.  
  4. To run X you'll need a "network" kernel. Either the B-NET or the NFS kernel
  5. described in the A/UX Release Notes is sufficient. As a check, you must
  6. be able to successfully "rlogin" to A/UX from its own console. This
  7. requirement holds whether or not you have an Ethernet card or connection.
  8.  
  9. Running the X server and the usual suite of clients requires at least 4MB
  10. of RAM. A 4MB system will thrash if the A/UX kernel tables are too large.
  11. The default table sizes do not lead to thrashing, but if you have adjusted
  12. these sizes using "kconfig" you may wish to restore the moderate default
  13. allocations.
  14.  
  15. Build the system by:
  16.  
  17. 1)    As super-user, run the script R4setup.sh located in this directory.
  18.     Now leave super-user mode.  This should only ever be done once on a
  19.     machine.  
  20.  
  21. 2)    In the top-level directory, type:
  22.  
  23.     alias make "make SHELL=/bin/sh"
  24.     make BOOTSTRAPCFLAGS=-DmacII -k World >>& MakeLog
  25.  
  26.     This takes several hours.  Many files will generate warnings about
  27.     "enumeration type clashes".  This is a misfeature in the C compiler 
  28.     and can safely be ignored.
  29.  
  30. 3)    As super-user, in the top-level directory, type:
  31.  
  32.     make -k install
  33.  
  34. 4)    Copy the file /usr/lib/X11/.x11start to your home directory 
  35.     (.x11start invokes the initial clients and determines their
  36.     positions on the screen.) .x11start attempts to use the "twm"
  37.     window manager. You may choose to run another window manager by 
  38.     simply adjusting .x11start.
  39.  
  40. 5)    On the console put /usr/bin/X11, (or whatever else you may have
  41.     chosen for BINDIR in Imake.tmpl) in your search path, and then
  42.     start the server:
  43.  
  44.         X11R4
  45.  
  46. 6)    X11R4 should start up an xterm window named "console" that acts as a
  47.     console.  When this xterm terminates, the xinit will kill the server.  
  48.     You can also start up client programs from a terminal or rlogin, 
  49.     but be sure the DISPLAY environment variable is set:
  50.  
  51.         setenv DISPLAY unix:0.0
  52.         xterm &
  53.  
  54.  
  55. Many X clients assume the mouse has three buttons. The A/UX X server simulates
  56. the middle and right mouse buttons with keystrokes -- the left-arrow key
  57. generates middle button events, and the right-arrow key generates right button
  58. events -- the real mouse button generates left button events. The 
  59. open-apple or cloverleaf key is the "Meta" modifier, Meta can also be obtained
  60. by pressing the up-arrow key. The down-arrow key duplicates the Control key.
  61. Meta, Control, and Shift are often used in combination with other keystrokes
  62. or mouse clicks. For example, the terminal emulator xterm pops up menus in
  63. response to control-left and control-middle. The original function of the
  64. arrow keys may be obtained by holding down the Option key while pressing
  65. one of the arrow keys.
  66.