home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / less-321-src.tgz / tar.out / fsf / less / README < prev    next >
Text File  |  1996-09-28  |  8KB  |  189 lines

  1. =========================================================================
  2. === This is the distribution of less, version 321, released 18 Jul 96 ===
  3. ===     Please report any problems to the author at markn@3do.com.    ===
  4. ===   See http://members.aol.com/marknudel/less for the latest info.  ===
  5. =========================================================================
  6.  
  7. This is the distribution of "less", a paginator similar to "more" or "pg".
  8.  
  9. The formatted manual page is in less.man.
  10. The manual page nroff source is in less.nro.
  11. Major changes made since the last posted version are in NEWS.
  12. Known bugs in this version are in BUGS.
  13.  
  14. ===================
  15. ===== WARNING =====
  16. ===================
  17.     The Microsoft C port for MS-DOS and the Ultra C port 
  18.         for OS-9 are not currently working.  
  19.     Until these are fixed, for MS-DOS use Borland C, 
  20.         and for OS-9 use Microware C.
  21.     If you have fixes for either of these ports, 
  22.         send them to markn@3do.com.
  23.     
  24. =======================================================================
  25. INSTALLATION (Unix systems only):
  26.  
  27. 1. Move the distributed source to its own directory and unpack it,
  28.    if you have not already done so.  
  29.  
  30. 2. Type "sh configure".
  31.    This will generate a Makefile and a defines.h.
  32.    Warning: if you have a GNU sed, make sure it is version 2.05 or later.
  33.  
  34. 3. It is a good idea to look over the generated Makefile and defines.h
  35.    and make sure they look ok.  If you know of any peculiarities of
  36.    your system that configure might not have detected, you may fix the
  37.    Makefile now.  
  38.  
  39.    If you wish, you may edit defines.h to remove some optional features.
  40.    If you wish to build a "secure" version of less (which disables all
  41.    features which might allow a user to do unintended things to the system
  42.    on which less is running), edit defines.h and define SECURE to 1.
  43.    If you choose not to include some features in your version, you may
  44.    wish to edit the manual page "less.nro" and the help page "less.hlp" 
  45.    to remove the descriptions of the features which you are removing.
  46.    If you edit less.hlp, you should run "make -f Makefile.aut help.c".
  47.  
  48. 4. Type "make" and watch the fun.
  49.  
  50. 5. If the make succeeds, it will generate the programs "less" and
  51.    "lesskey" in your current directory.  Test the generated programs.
  52.  
  53. 6. When satisfied that it works, if you wish to install it
  54.    in a public place, type "make install".
  55.  
  56.    The default install destinations are:
  57.     Executables (less, lesskey) in /usr/local/bin
  58.     Documentation (less.nro, lesskey.nro) in /usr/local/man/man1
  59.    If you want to install any of these files elsewhere, define
  60.    bindir and/or mandir to the appropriate directories.
  61.  
  62. If you have any problems building or running "less", suggestions, 
  63. complaints, etc., you may mail to the author at markn@3do.com
  64.  
  65. Note to hackers: comments noting possible improvements are enclosed
  66. in double curly brackets {{ like this }}.
  67.  
  68.  
  69.  
  70. =======================================================================
  71. INSTALLATION (MS-DOS systems only)
  72.  
  73. 1. Move the distributed source to its own directory.
  74.    Make sure the source has been converted to have CR-LF rather than 
  75.    LF as line terminators.
  76.  
  77. 2. If you are using Microsoft C, rename MAKEFILE.DOS to MAKEFILE.
  78.    If you are using Borland C, rename MAKEFILE.BCC to MAKEFILE.
  79.  
  80. 3. Look at MAKEFILE to make sure that the definitions for CC and LIBDIR
  81.    are correct.  CC should be the name of your C compiler and
  82.    LIBDIR should be the directory where the C libraries
  83.    reside.  If these definitions need to be changed, you can either 
  84.    modify the definitions directly in MAKEFILE, or set your environment 
  85.    variables CC and/or LIBDIR to override the definitions in MAKEFILE.
  86.  
  87. 4. If you wish, you may edit DEFINES.DOS to remove some optional features.
  88.    If you choose not to include some features in your version, you may
  89.    wish to edit the manual page LESS.MAN and the help page HELP.C
  90.    to remove the descriptions of the features which you are removing.
  91.  
  92. 5. Run your "make" program and watch the fun.
  93.    If your "make" requires a flag to import environment variables,
  94.    you should use that flag.
  95.    If your compiler runs out of memory, try running "make -n >cmds.bat" 
  96.    and then run cmds.bat.
  97.  
  98. 6. If the make succeeds, it will generate the programs "LESS.EXE" and
  99.    "LESSKEY.EXE" in your current directory.  Test the generated programs.
  100.  
  101. 7. When satisfied that it works, you may wish to install LESS.EXE and
  102.    LESSKEY.EXE in a directory which is included in your PATH.
  103.  
  104.  
  105.  
  106. =======================================================================
  107. INSTALLATION (Windows-95 and Windows-NT systems only)
  108.  
  109. 1. Move the distributed source to its own directory.
  110.  
  111. 2. Rename Makefile.w32 to Makefile.
  112.  
  113. 3. Check the Makefile to make sure the definitions look ok.
  114.  
  115. 4. If you wish, you may edit defines.w32 to remove some optional features.
  116.    If you choose not to include some features in your version, you may
  117.    wish to edit the manual page less.man and the help page help.c
  118.    to remove the descriptions of the features which you are removing.
  119.  
  120. 5. Type "make" and watch the fun.
  121.  
  122. 6. If the make succeeds, it will generate the programs "less.exe" and
  123.    "lesskey.exe" in your current directory.  Test the generated programs.
  124.  
  125. 7. When satisfied that it works, if you wish to install it
  126.    in a public place, type "make install".
  127.    See step 6 of the Unix installation instructions for details
  128.    on how to change the default installation directories.
  129.  
  130.  
  131.  
  132. =======================================================================
  133. INSTALLATION (OS/2 systems only)
  134.  
  135. 1. Move the distributed source to its own directory.
  136.  
  137. 2. Rename Makefile.os2 to Makefile.
  138.  
  139. 3. Check the Makefile to make sure the definitions look ok.
  140.  
  141. 4. If you wish, you may edit defines.os2 to remove some optional features.
  142.    If you choose not to include some features in your version, you may
  143.    wish to edit the manual page less.man and the help page help.c
  144.    to remove the descriptions of the features which you are removing.
  145.  
  146. 5. Type "make" and watch the fun.
  147.  
  148. 6. If the make succeeds, it will generate the programs "less.exe" and
  149.    "lesskey.exe" in your current directory.  Test the generated programs.
  150.  
  151. 7. Make sure you have the emx runtime installed. You need the emx DLLs
  152.    emx.dll and emxlibcs.dll and also the termcap database, termcap.dat.
  153.    Make sure you have termcap.dat either in the default location or
  154.    somewhere in a directory listed in the PATH or INIT environment 
  155.    variables.
  156.  
  157. 8. When satisfied that it works, you may wish to install less.exe and
  158.    lesskey.exe in a directory which is included in your PATH.
  159.  
  160.  
  161.  
  162. =======================================================================
  163. INSTALLATION (OS-9 systems only)
  164.  
  165. 1. Move the distributed source to its own directory.
  166.  
  167. 2. If you are using Microware C, rename Makefile.o9c to Makefile.
  168.    If you are using Ultra C, rename Makefile.o9u to Makefile.
  169.  
  170. 3. Check the Makefile to make sure the definitions look ok.
  171.  
  172. 4. If you wish, you may edit defines.o9 to remove some optional features.
  173.    If you choose not to include some features in your version, you may
  174.    wish to edit the manual page less.man and the help page help.c
  175.    to remove the descriptions of the features which you are removing.
  176.  
  177. 5. Type "dmake" and watch the fun.
  178.    The standard OS-9 "make" will probably not work.  If you don't
  179.    have dmake, you can get a copy from os9archive.rtsi.com.
  180.  
  181. 6. If the make succeeds, it will generate the programs "less" and
  182.    "lesskey" in your current directory.  Test the generated programs.
  183.  
  184. 7. When satisfied that it works, if you wish to install it
  185.    in a public place, type "dmake install".
  186.    See step 6 of the Unix installation instructions for details
  187.    on how to change the default installation directories.
  188.  
  189.