home *** CD-ROM | disk | FTP | other *** search
/ The Pier Shareware 6 / The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso / 036 / less232.zip / NEWS < prev    next >
Text File  |  1994-09-24  |  7KB  |  183 lines

  1.  
  2.     Major changes between "less" versions 170 and 232
  3.  
  4. * By popular demand, text which matches the current search pattern
  5.   is highlighted.  New -F flag disables this feature.
  6.  
  7. * Henry Spencer's regexp.c is now included, for systems which do not
  8.   have a regular expression library.
  9.   regexp.c is Copyright (c) 1986 by University of Toronto.
  10.  
  11. * New line-editing keys, including command history (arrow keys) and 
  12.   filename completion (TAB).
  13.  
  14. * Input preprocessor allows modification of input files (e.g. uncompress)
  15.   via LESSOPEN/LESSCLOSE environment variables.
  16.  
  17. * New -X flag disables sending termcap "ti" and "te" (initialize and
  18.   deinitialize) strings to the terminal. 
  19.  
  20. * Changing -i from within less now correctly affects a subsequent
  21.   repeated search.  
  22.  
  23. * Searching for underlined or overstruck text now works when the -u
  24.   flag is in effect, rather than the -i flag.
  25.  
  26. * Use setlocale (LANG and LC_CTYPE environment variables) to determine
  27.   the character set if LESSCHARSET/LESSCHARDEF are not set.
  28.  
  29. * The default format for displaying binary characters is now standout
  30.   (reverse video) rather than blinking.  This can still be changed by
  31.   setting the LESSBINFMT environment variable.
  32.  
  33. * Use autoconf installation technology.
  34.  
  35. * Ported to MS-DOS.
  36.  
  37.         ********************************
  38.           Things that may surprise you
  39.         ********************************
  40.  
  41. * When you enter text at the bottom of the screen (search string, 
  42.   filename, etc.), some keys act different than previously.  
  43.   Specifically, \ (backslash), ESC, TAB, BACKTAB, and control-L 
  44.   now have line editing functions.
  45.  
  46. * Some previous unofficial versions of less were able to display
  47.   compressed files.  The new LESSOPEN/LESSCLOSE feature now provides
  48.   this functionality in a different way.
  49.  
  50. * Some previous unofficial versions of less provided a -Z flag to 
  51.   set the number of lines of text to retain between full screen scrolls.
  52.   The -z-n flag (that is, -z with a negative number) provides this 
  53.   functionality.
  54.  
  55.  
  56. ======================================================================
  57.  
  58.  
  59.     Major changes between "less" versions 123 and 170
  60.  
  61. * New option -j allows target lines to be positioned anywhere on screen.
  62.  
  63. * New option -S truncates displayed line at the screen width,
  64.   rather than wrapping onto the next line.
  65.  
  66. * New option -y limits amount of forward scroll.
  67.  
  68. * New option -T specifies a "tags" file.
  69.  
  70. * Non-printable, non-control characters are displayed in octal.
  71.   Such characters, as well as control characters, are displayed 
  72.   in blinking mode.
  73.  
  74. * New command -+ sets an option to its default.
  75. * New command -- sets an option to the opposite of its default.
  76.  
  77. * Lesskey file may have a string appended to a key's action,
  78.   which acts as though typed in after the command.
  79.  
  80. * New commands ESC-^F and ESC-^B match arbitrary types of brackets.
  81.  
  82. * New command F monitors a growing file (like "tail -f").
  83.  
  84. * New command | pipes a section of the input file into a shell command.
  85.  
  86. * New command :x directly jumps to a file in the command line list.
  87.  
  88. * Search commands have been enhanced and reorganized:
  89.     n    Repeat search, same direction.
  90.     N    Repeat search, opposite direction.
  91.     ESC-/    Search forward thru file boundaries
  92.     ESC-?    Search backward thru file boundaries
  93.     ESC-n    Repeat search thru file boundaries, same direction.
  94.     ESC-N    Repeat search thru file boundaries, opposite direction.
  95.   Special character * causes search to search thru file boundaries.
  96.   Special character @ causes search to begin at start/end of file list.
  97.  
  98. * Examining a new file adds it to the command line list.
  99.   A list of files, or an expression which matches more than one file,
  100.   may be examined; all of them are added to the command line list.
  101.  
  102. * Environment variables LESSCHARSET and LESSCHARDEF can define
  103.   a non-ASCII character set.
  104.  
  105. * Partial support for MSDOS, including options -R for repainting screen
  106.   on quit, -v/-V to select video mode, and -W to change window size.
  107.  
  108.  
  109. ======================================================================
  110.  
  111.  
  112.     Major changes between "less" versions 97 and 123
  113.  
  114. * New option (-N) causes line numbers to be displayed in the
  115.   text of the file (like vi "set nu").
  116.  
  117. * New option (-?) prints help message immediately.
  118.  
  119. * New option (-r) displays "raw" control characters, without
  120.   mapping them to ^X notation.
  121.  
  122. * New option (-f) forces less to open non-regular files
  123.   (directories, etc).
  124.  
  125. * New option (-k) can be used to specify lesskey files by name.
  126.  
  127. * New option (-y) can be used to set a forward scroll limit
  128.   (like -h sets a backward scroll limit).
  129.  
  130. * File marks (set by the m command) are now preserved when a new
  131.   file is edited.  The ' command can thus be used to switch files.
  132.  
  133. * New command ESC-/ searches all files (on the command line) 
  134.   for a pattern.
  135.  
  136. * New command ESC-n repeats previous search, spanning files.
  137.  
  138. * The N command has been changed to repeat the previous search
  139.   in the reverse direction.  The old N command is still available 
  140.   via :n.
  141.  
  142. * New command ESC-N repeats previous search in the reverse
  143.   direction and spanning files.
  144.  
  145. * 8 bit characters are now supported.  A new option (-g) can be 
  146.   used to strip off the eighth bit (the previous behavior).
  147.  
  148. * Options which take a following string (like -t) may now
  149.   optionally have a space between the option letter and the string.
  150.  
  151. * Six new commands { } ( ) [ and ] can be used to match
  152.   brackets of specific types, similar to vi % command.
  153.  
  154. * New commands z and w move forward/backward one window and
  155.   simultaneously set the window size.
  156.  
  157. * Prompt string expansion now has %L for line number of the last
  158.   line in the file, and %E for the name of the editor.
  159.   Also, % escapes which refer to a line (b=bottom, t=top, etc.)
  160.   can use j for the jump target line.
  161.  
  162. * New environment variable LESSEDIT can be used to tailor the
  163.   command string passed to the editor by the v command.
  164.  
  165. * Examining a file which was previously examined will return
  166.   to the same position in the file.
  167.  
  168. * A "%" is expanded to the current filename and a "#" to the 
  169.   previous filename, in both shell commands and the E command.
  170.   (Previously % worked only in shell commands and # worked 
  171.   only in the E command.)
  172.  
  173. * New command ":ta" is equivalent to "-t".
  174.  
  175. * New command "s" is equivalent to "-l".
  176.  
  177. * The - command may be followed by "+X" to revert to the default
  178.   for option X, or "-X" to get the opposite of the default.
  179.  
  180. * Lesskey files may now include characters after the action as
  181.   extra input to be parsed after the action; for example:
  182.   "toggle-option X" to toggle a specific option X.
  183.