home *** CD-ROM | disk | FTP | other *** search
/ Fractal Frenzy 1 / WalnutCreekFractalFrenzy-1.iso / pc / viewers / x11 / xv221.rea < prev    next >
INI File  |  1994-01-13  |  11KB  |  231 lines

  1. [uncompress the xv211.tz with "compress"]
  2.  
  3. Thank you for acquiring a copy of the XV distribution.  I hope you enjoy it.
  4.  
  5. If you like the program and decide to use it, *please* send me a short
  6. email message to that effect.  Be sure to mention the full name of your
  7. organization.  When our sponsors ask us 'what have you been doing', it 
  8. always looks good if we can come up with a nice long list of folks who are
  9. using code developed in the GRASP Lab.  Brownie points, y'see.
  10.  
  11. Also, if you find XV to be nifty, useful, generally 'cool', and of
  12. some value to you, your donation (not tax-deductable) would be greatly
  13. appreciated.  $10 (U.S.) is probably a fine amount to donate.  Folks
  14. who donate $25 and up will receive a Real Nice bound copy of the XV
  15. Manual.  It'll look lovely in your bookcase, on your coffee table, or
  16. mounted over your fireplace.  If you send $25 (or more!), please
  17. explicitly say whether or not you wish me to send you a copy of the
  18. manual.  I say this because some folks have sent $25, and not
  19. particularly wanted a manual.  Since it costs a fair amount of time
  20. and money to produce and mail out manuals, I'd just as soon keep the
  21. money (and time) if you don't really want a manual.
  22.  
  23. Please send all donations (or other correspondence) to:
  24.     John Bradley
  25.     1053 Floyd Terrace
  26.     Bryn Mawr, PA  19010
  27.  
  28. U.S. Funds only, please.  Checks should be made payable to 'John Bradley'.
  29.  
  30.  
  31. Installation
  32. ------------
  33. If you don't plan to use Imake, copy 'Makefile.std' (a regular old-style
  34. minimalist makefile) to 'Makefile'.  (Actually, this has already been done
  35. for you, as I prefer to just use 'make'.  This is mainly to let you know that
  36. if you ever *do* run Imake (and thereby trash the Makefile), there's a backup
  37. of the 'simple' Makefile in 'Makefile.std'.)
  38.  
  39. If you are building the program on a Sun running SunOS, a DECstation
  40. running Ultrix, you should be able to just type 'make' and have
  41. everything compile cleanly.  (On the DECstation, you'll see some
  42. warnings about some functions being too long to be optimized.  Ignore
  43. such messages.)  
  44.  
  45. On an IBM RS/6000, you can build cleanly with one minor tweak.  Replace
  46. tiff/Makefile with tiff/Makefile.aix, then type 'make' in the main XV 
  47. directory.
  48.  
  49. Otherwise, particularly if you're running on a SVR4-based system,
  50. you'll probably have to edit the Makefile.
  51.  
  52. Check the Makefile for the configuration option(s).  There are unfortunately
  53. quite a few these days, to support a number of different machines.  If
  54. you're on a SVR4-based machine, you'll probably need '-DSVR4' and '-DDIRENT'.
  55. Read the file for more specific info.
  56.  
  57. Otherwise, check the options in the Imakefile, and generate a Makefile
  58. using 'xmkmf' (or whatever).  Be sure to 'make depend' before building
  59. the program.
  60.  
  61. GCC USERS: It is important that the XV source and the contents of the JPEG and
  62. TIFF subdirectories all be compiled with the same compiler.  While this should
  63. normally be the case, as the value of the CC variable in the XV makefile is
  64. propigated to the makefiles in the subdirectories, it's something to keep in
  65. mind.  Also, be sure to specify '-traditional' when compiling with gcc, 
  66. otherwise it'll blow up on some code in the TIFF subdirectory.
  67.  
  68. GCC USERS: If you compile XV with gcc, and find XV crashing in the
  69. function 'vsprintf()', the gcc-specific include files on your system
  70. are barfified.  You should get your sysadmin-type to fix the
  71. gcc-include files (you can test it by compiling 'vargs.c', a simple
  72. varargs-verification program in the unsupt directory), or alternately,
  73. just use 'cc' instead.
  74.  
  75. HP USERS:  If you are running HP-UX 7.* , you should remove the '-O' compiler
  76. flag from the Makefile.  The optimizer supplied with that version of the OS 
  77. has been known to break code in xvgam.c (and possibly elsewhere, as well).  
  78. You'll know the optimizer has broken the code if pictures come out 'purple'.
  79.  
  80. DECSTATION USERS:  I've had a report that compiling 'xvevent.c' with the
  81. optimizer turned on (Ultrix 4.1, MIPS C compiler version 2.1) breaks the
  82. routine TrackPicValues().  I haven't been able to verify this behavior, but
  83. if you're building on this sort of system, you may want to turn optimization
  84. off.
  85.  
  86. IRIS/HP/Other SysV-based machines:  If you find XV 'going out to lunch' when
  87. you click on any of the buttons in the controls window, (or do any of a 
  88. number of other things), it is almost certainly a matter of configuring the 
  89. 'Timer()' function (in xvmisc.c) to correctly wait the requested number of
  90. milliseconds.  This is one of those things that doesn't seem to be very
  91. well nailed down in the different variants of Unix.  IF you experience
  92. problems, take a look at that function, and add an '#ifdef' for your machine 
  93. that makes it use the whatever the proper 'sleep for some number of 
  94. milliseconds' call on your machine.  (Could be poll(), usleep(), setitimer(),
  95. or possibly select(), and probably some others.)
  96.  
  97.  
  98. Once you've built the program succesfully, copy the programs 'xv' and
  99. 'bggen' and 'vdcomp' (if you want PDS/VICAR support) to wherever you
  100. like your binaries to live, and copy the files 'docs/xv.man' and
  101. 'docs/bggen.man' to the approprate man-page directory.  Don't forget
  102. to change the suffixes appropriately.  'imake' users can just say
  103. 'make install' and 'make install.man', with any luck.
  104.  
  105. Note: also included in this distribution (in the unsupt directory) is
  106. 'getweather', a dopey little shell script that you may want to run in
  107. a crontab entry every hour, on the half-hour or so.  It will
  108. automagically go out and get the current US weather map via anonymous
  109. ftp, and stick it in some standard place (normally /usr/local/lib/weather.gif).
  110.  
  111. Finally, print out a copy of docs/xvdocs.ps on a PostScript printer.  If you
  112. are unable to do so, and would like a printed copy of the manual, contact
  113. the author for details.  (Or donate $25!)
  114.  
  115. Note:  If you are using 'transcript 2.1' to drive your PostScript printer,
  116. you may run into a problem where the xvdocs.ps file prints in the wrong font
  117. (courier, or something, instead of helvetica).  This seems to be caused by
  118. 'psrv', which tries to reverse the pages of all PostScript files.  It fails
  119. on this PostScript file.  You (or the local system administrator) can 
  120. temporarily fix this by replacing the line:
  121.   'REVERSE = /pkg/lib/ps/psrv'
  122. with
  123.   'REVERSE = /bin/cat'
  124. in the file /pkg/lib/ps/psint.sh.  (Your pathnames may vary.)
  125.  
  126.  
  127. Caveats
  128. -------
  129.  
  130. XV has been developed on a Sun 4/280 running SunOS 4.1, using both the normal
  131. 'cc' and gcc-1.37 compilers.  There shouldn't be anything grotesque enough
  132. in the code to break any other compilers.  (Though 'optimizers' from HP are
  133. quite another story...)
  134.  
  135. The viewing environment has mainly been an IBM RS6000 with an 8-bit
  136. color display.  It has been tested with MWM, TWM, OLWM, TVTWM, and
  137. DXWM, in roughly that order of thoroughness.  (ie, I personally use
  138. MWM, and most of the folks in the GRASP Lab use TWM.)
  139.  
  140. I have personally compiled and tested it on the following systems: Sun
  141. 4 running SunOS 4.1, VAXstation 3500 running Ultrix 3.0, MicroVax II
  142. running Ultrix 2.0, DecStation 3100 running UWS 3.0, IBM RISC
  143. System/6000 running AIX 3.1.
  144.  
  145. It has displayed on the following systems:  IBM RT (8-bit color), Sun 3 
  146. (1-bit B/W), Sun 3 (8-bit grayscale), Sun 4 (1-bit B/W), MicroVax II (8-bit
  147. color), MicroVax II (4-bit grayscale), a variety of HPs (4-bit color, 6-bit 
  148. color, 8-bit color, and 24-bit color), and Visual, NCD, Tektronix, and
  149. HDS X terminals (1-bit B/W and 8-bit color).
  150.  
  151. 'vsprintf.c' has been included for the benefit of those on machines that
  152. don't have it.  (Basically, machines running 'vanilla' BSD 4.3)
  153.  
  154.  
  155. Bizarrities
  156. -----------
  157.  
  158. There are some known problems with running XV in conjunction with 'dxwm'.
  159. I'm hoping that that is now a defunct window manager, and that everybody who 
  160. was using that will switch to mwm.  Whether this hope is well-founded or not 
  161. is another matter entirely.  See the DXWM option in the Makefile/Imakefile.
  162.  
  163.  
  164. Problems with TWM and TVTWM
  165. ---------------------------
  166.  
  167. XV would appear to exercise a pair of bugs in the version of TWM in MIT's
  168. X11R4 Standard Distribution tape.  Perhaps they've been fixed by now.
  169.  
  170. Colormap Installation: under twm, if you have multiple XVs running,
  171. and each has their own colormap, sometimes the colormap doesn't get
  172. properly installed if you move the mouse directly from one XV to the
  173. other, quickly, so that it doesn't see the mouse go into the root
  174. window, or any other window.  If you move the mouse outside the window
  175. and move it back in, it SHOULD install the colormap correctly.
  176.  
  177. Colormap Installation: Note, if an alternate colormap is installed, it
  178. will ONLY be installed when the mouse is inside the IMAGE window.  It
  179. will not be installed when the mouse is in any other XV windows
  180. (except, possibly, the color editor window).  This is because I can't
  181. guarantee that the other windows will still have contrasting
  182. foreground/background colors when the alternate colormap is installed.
  183. It is assumed that if you put the mouse in a window, you will want to
  184. use that window, so you'd better be able to READ that window...
  185.  
  186. There's a bug in my version of TWM that creeps up if you have
  187. titlebars turned off.  Essentially, XV tells the window manager to
  188. make the window a certain size.  TWM (wrongly) adds enough room at the
  189. top to put its title bar there, but doesn't draw it, since titlebars
  190. are turned off.  XV gets back a ConfigureNotify event on the window
  191. with the new size, which is large by 20-odd pixels in height.  
  192.  
  193. There *used* to be a '-twmkludge' option in the previous version of xv
  194. to 'work around' this problem.  Unfortunately, this workaround introduced
  195. more problems than it solved, and has since been removed.  The current
  196. thinking is:  if you're using TWM, you should probably be using titlebars.
  197. If you insist on not having titlebars, and your TWM doesn't behave properly,
  198. you should fix TWM.  (It's a one-line fix, and I'll gladly send it to anybody
  199. who asks for it.)
  200.  
  201.  
  202. Copyright Notice
  203. ----------------
  204. Copyright 1989, 1990, 1991, 1992 by John Bradley 
  205.               and the University of Pennsylvania
  206.  
  207. Permission to use, copy, and distribute for non-commercial purposes,
  208. is hereby granted without fee, providing that the above copyright
  209. notice appear in all copies and that both the copyright notice and this
  210. permission notice appear in supporting documentation. 
  211.  
  212. The software may be modified for your own purposes, but modified versions
  213. may not be distributed without prior consent of the the author.
  214.  
  215. This software is provided "as is" without any express or implied warranty.
  216.  
  217. The author may be contacted via:
  218.     US Mail:   John Bradley
  219.                GRASP Lab, Room 312C
  220.                3401 Walnut St.  
  221.                Philadelphia, PA  19104
  222.  
  223.     Phone:     (215) 898-8813
  224.     EMail:     bradley@cis.upenn.edu       
  225.  
  226.  
  227. If you'd like to do something with XV that the copyright prohibits (such
  228. as include it in a commercial product), please contact the author (preferably
  229. through email).  Arrangements can probably be worked out.
  230.  
  231.