home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / CMDS / less_332.lzh / less_332 / README < prev    next >
Text File  |  1998-03-03  |  8KB  |  197 lines

  1. =========================================================================
  2.     This is the distribution of less, version 332, released 22 Apr 97
  3.     Please report any problems to the author at markn@fog.net.
  4.         (Please note change of email address.)
  5.     See http://www.fog.net/markn/less for the latest info.
  6. =========================================================================
  7.  
  8. This is the distribution of "less", a paginator similar to "more" or "pg".
  9.  
  10. The formatted manual page is in less.man.
  11. The manual page nroff source is in less.nro.
  12. Major changes made since the last posted version are in NEWS.
  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 or DJGPP, 
  20.         and for OS-9 use Microware C.
  21.     If you have fixes for either of these ports, 
  22.         send them to markn@fog.net.
  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",
  51.    "lesskey" and "lessecho" in your current directory.  Test the 
  52.    generated programs.
  53.  
  54. 6. When satisfied that it works, if you wish to install it
  55.    in a public place, type "make install".
  56.  
  57.    The default install destinations are:
  58.         Executables (less, lesskey, lessecho) in /usr/local/bin
  59.         Documentation (less.nro, lesskey.nro) in /usr/local/man/man1
  60.    If you want to install any of these files elsewhere, define
  61.    bindir and/or mandir to the appropriate directories.
  62.  
  63. If you have any problems building or running "less", suggestions, 
  64. complaints, etc., you may mail to the author at markn@fog.net.
  65.  
  66. Note to hackers: comments noting possible improvements are enclosed
  67. in double curly brackets {{ like this }}.
  68.  
  69.  
  70.  
  71. =======================================================================
  72. INSTALLATION (MS-DOS systems only,
  73.               with Microsoft C, Borland C, or DJGPP)
  74.  
  75. 1. Move the distributed source to its own directory.
  76.    Depending on your compiler, you may need to convert the source 
  77.    to have CR-LF rather than LF as line terminators.
  78.  
  79. 2. If you are using Microsoft C, rename MAKEFILE.DSM to MAKEFILE.
  80.    If you are using Borland C, rename MAKEFILE.DSB to MAKEFILE.
  81.    If you are using DJGPP, rename MAKEFILE.DSG to MAKEFILE.
  82.  
  83. 3. Look at MAKEFILE to make sure that the definitions for CC and LIBDIR
  84.    are correct.  CC should be the name of your C compiler and
  85.    LIBDIR should be the directory where the C libraries reside (for
  86.    Microsoft C only).  If these definitions need to be changed, you can
  87.    either modify the definitions directly in MAKEFILE, or set your
  88.    environment variables CC and/or LIBDIR to override the definitions
  89.    in MAKEFILE.
  90.  
  91. 4. If you wish, you may edit DEFINES.DS to remove some optional features.
  92.    If you choose not to include some features in your version, you may
  93.    wish to edit the manual page LESS.MAN and the help page HELP.C
  94.    to remove the descriptions of the features which you are removing.
  95.  
  96. 5. Run your "make" program and watch the fun.
  97.    If your "make" requires a flag to import environment variables,
  98.    you should use that flag.
  99.    If your compiler runs out of memory, try running "make -n >cmds.bat" 
  100.    and then run cmds.bat.
  101.  
  102. 6. If the make succeeds, it will generate the programs "LESS.EXE" and
  103.    "LESSKEY.EXE" in your current directory.  Test the generated programs.
  104.  
  105. 7. When satisfied that it works, you may wish to install LESS.EXE and
  106.    LESSKEY.EXE in a directory which is included in your PATH.
  107.  
  108.  
  109.  
  110. =======================================================================
  111. INSTALLATION (Windows-95 and Windows-NT systems only,
  112.               with Borland C or Microsoft Visual C++)
  113.  
  114. 1. Move the distributed source to its own directory.
  115.  
  116. 2. If you are using Borland C, rename Makefile.wnb to Makefile.
  117.    If you are using Microsoft Visual C++, rename Makefile.wnm to Makefile.
  118.  
  119. 3. Check the Makefile to make sure the definitions look ok.
  120.  
  121. 4. If you wish, you may edit defines.wn to remove some optional features.
  122.    If you choose not to include some features in your version, you may
  123.    wish to edit the manual page less.man and the help page help.c
  124.    to remove the descriptions of the features which you are removing.
  125.  
  126. 5. Type "make" and watch the fun.
  127.  
  128. 6. If the make succeeds, it will generate the programs "less.exe" and
  129.    "lesskey.exe" in your current directory.  Test the generated programs.
  130.  
  131. 7. When satisfied that it works, if you wish to install it
  132.    in a public place, type "make install".
  133.    See step 6 of the Unix installation instructions for details
  134.    on how to change the default installation directories.
  135.  
  136.  
  137.  
  138. =======================================================================
  139. INSTALLATION (OS/2 systems only,
  140.               with EMX C)
  141.  
  142. 1. Move the distributed source to its own directory.
  143.  
  144. 2. Rename Makefile.o2e to Makefile.
  145.  
  146. 3. Check the Makefile to make sure the definitions look ok.
  147.  
  148. 4. If you wish, you may edit defines.o2 to remove some optional features.
  149.    If you choose not to include some features in your version, you may
  150.    wish to edit the manual page less.man and the help page help.c
  151.    to remove the descriptions of the features which you are removing.
  152.  
  153. 5. Type "make" and watch the fun.
  154.  
  155. 6. If the make succeeds, it will generate the programs "less.exe" and
  156.    "lesskey.exe" in your current directory.  Test the generated programs.
  157.  
  158. 7. Make sure you have the emx runtime installed. You need the emx DLLs
  159.    emx.dll and emxlibcs.dll and also the termcap database, termcap.dat.
  160.    Make sure you have termcap.dat either in the default location or
  161.    somewhere in a directory listed in the PATH or INIT environment 
  162.    variables.
  163.  
  164. 8. When satisfied that it works, you may wish to install less.exe and
  165.    lesskey.exe in a directory which is included in your PATH.
  166.  
  167.  
  168.  
  169. =======================================================================
  170. INSTALLATION (OS-9 systems only,
  171.               with Microware C or Ultra C)
  172.  
  173. 1. Move the distributed source to its own directory.
  174.  
  175. 2. If you are using Microware C, rename Makefile.o9c to Makefile.
  176.    If you are using Ultra C, rename Makefile.o9u to Makefile.
  177.  
  178. 3. Check the Makefile to make sure the definitions look ok.
  179.  
  180. 4. If you wish, you may edit defines.o9 to remove some optional features.
  181.    If you choose not to include some features in your version, you may
  182.    wish to edit the manual page less.man and the help page help.c
  183.    to remove the descriptions of the features which you are removing.
  184.  
  185. 5. Type "dmake" and watch the fun.
  186.    The standard OS-9 "make" will probably not work.  If you don't
  187.    have dmake, you can get a copy from os9archive.rtsi.com.
  188.  
  189. 6. If the make succeeds, it will generate the programs "less" and
  190.    "lesskey" in your current directory.  Test the generated programs.
  191.  
  192. 7. When satisfied that it works, if you wish to install it
  193.    in a public place, type "dmake install".
  194.    See step 6 of the Unix installation instructions for details
  195.    on how to change the default installation directories.
  196.  
  197.