home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 2 / goldfish_vol2_cd1.bin / files / misc / sci / units / readme.amiga < prev    next >
Encoding:
Text File  |  1994-08-01  |  2.1 KB  |  72 lines

  1. Units: modified and compiled by Ron Charlton for Amiga using SAS/C v6.51.
  2. It compiles with no complaints.
  3.  
  4. You must put the units.lib file someplace so `units' can find it.
  5.  
  6. From CLI/Shell:
  7.  
  8.     There will be no problem if `units.lib' is in the current directory
  9.     (the one you are CD'd to).  Otherwise you can use an alias in your
  10.     s:shell-startup file.  Use PROGDIR: as shown below if you plan to
  11.     keep `units.lib' in the same directory as `units':
  12.  
  13.     alias units units -f PROGDIR:units.lib
  14.  
  15.     If you want, you can provide an exact location for `units.lib':
  16.  
  17.     alias units units -f work:MyFavoriteDir/units.lib
  18.  
  19.     Or you can specify the location on the command line when you 
  20.     run the command.
  21.  
  22.     Work:> units -f work:MyFavoriteDir/units.lib
  23.  
  24.  
  25. From Workbench:
  26.  
  27.     Drag the `units' icon and the `units.lib' icon together to any drawer
  28.     you like.  You can put the documentation anywhere.
  29.     
  30.     If you really want to put `units.lib' in a drawer other than with
  31.     `units', you may do so.  You must describe where it is by adding
  32.     a tooltype to the `units' icon.  The tooltype must look like 
  33.     
  34.         -f Work:MyFavoriteDir/units.lib
  35.     
  36.     See your workbench manual for help with editing tooltypes.
  37.  
  38. ----
  39.     
  40. Type `quit' OR Ctrl-\ (Ctrl key and \ key together) to end the program.
  41.  
  42. You may want to read `units.lib' to see what sort of units may be converted.
  43.  
  44. Some interesting conversions:
  45.  
  46.     You have: megatons-tnt
  47.     You want: joules
  48.         * 4.1730498e+15
  49.         / 2.3963289e-16
  50.         
  51.     You have: furlongs/fortnight
  52.     You want: meters/second
  53.         * 0.0001663
  54.         / 6012.8848
  55.  
  56. I found the source on: usc.edu in
  57.  
  58.     /archive/usenet/sources/comp.sources.misc/volume38/units/part01.gz
  59.  
  60. I made the following changes:
  61.  
  62.     I added a version string that can be found by Amiga's VERSION command.
  63.     I corrected the entry for nmile in units.lib (it was missing a space).
  64.     I generated and #included *_protos.h files to keep SAS/C happy.
  65.     I added the ability to type `quit' to quit the program.
  66.     I added Workbench support.
  67.  
  68.  
  69. Happy computing,
  70. Ron Charlton (charlton@cs.utk.edu or charltoncr@ornl.gov)
  71. 01-Aug-1994
  72.