home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / gnu / djgppzip / pubxlib0.rea < prev    next >
Text File  |  1994-03-01  |  2KB  |  72 lines

  1. # $Id: readme 1.5 1994/02/01 15:20:18 ulrich Exp $
  2. #
  3. # Readme for Xlibemu version 0.3
  4. #
  5. # Author:    Ulrich Leodolter
  6. # Email:    ulrich@lab1.psy.univie.ac.at
  7. # Address:    Austria 3051 St.Christopen, Ludmerfeld 33
  8. #
  9.  
  10. This is the distribution for Xlibemu, an emulation for Xlib.
  11. Xlibemu is not an X Window server and has no network support.
  12. Xlibemu covers most of the library functions only partly or
  13. in a dummy way, and some functions aren't implemented at all.
  14. It was developed to be able to compile X applications that
  15. are useful even when not running in an multitasking system.
  16.  
  17. Xlibemu does not use the X Window System Protocol, it replaces
  18. most(some) of the library functions by emulation functions.
  19.  
  20. With this version of Xlibemu it is possible to run Emacs 19.19,
  21. or Tcl7.0/Tk3.3 (I have tested both).
  22.  
  23. To understand what Xlibemu does or doesn't please look at the
  24. sources. First look at "hello.c" to see how an window manager
  25. (fvwm()) can be linked together with an application.
  26.  
  27. Compilation:
  28.  
  29. You need the following packages installed:
  30.  
  31. DJGPP 1.11 or later
  32. GRX 1.03 library, sources and fonts
  33. The sources from X11R5 subdirectory mit/lib/X/*
  34. The include files from X11R5 distribution
  35. (I have copied the directory /usr/include/X11 from my Linux
  36.  installation, so i don't know exactly which files are used
  37.  to compile X applications that need only libX11.a)
  38.  
  39. First Step:
  40.  
  41.     >cd xlibemu
  42.     >set DJGPP=<your djgpp directory>
  43.     >rem fvwm 1.18d
  44.     >make -C../fvwm/fvwm libfvwm.o
  45.     >cp ../fvwm/fvwm/libfvwm.o ../fvwm
  46.     >make depend
  47.     >make install
  48.  
  49. If you want to use cursor.fnt you must update fonts.dir:
  50.     >cp cursor.fnt %GRXFONT%
  51.     >cd %GRXFONT%
  52.     >fntool -itype fnt -otype dir *.fnt
  53.  
  54. To run hello:
  55.     
  56.     >set GRXFONT=%DJGPP%/contrib/libgrx/fonts
  57.     >set DISPLAY=1024x758x256
  58.     >set HOME=<your home directory>
  59.     >rem # not really needed for hello
  60.     >set XMODMAP=<your modmap file>
  61.     >cp _fvwmrc %HOME%
  62.     >go32 hello
  63.  
  64. Type 'q' to quit hello.
  65.  
  66. Please send all comments, flames, patches, etc, to me.  I am responsible
  67. for the Xlibemu development.
  68.  
  69. For Copyright information look at "copying.h".
  70.  
  71. I someone want's to use this sources in a commerical software package,
  72. (i don't believe in that) percentages are welcome by the author.