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

  1.  
  2.                      NEWS about less
  3.  
  4. ======================================================================
  5.  
  6.   For the latest news about less, see the "less" Web page:
  7.       http://members.aol.com/marknudel/less 
  8.   You can also download the latest version of less there.
  9.  
  10. ======================================================================
  11.  
  12.  
  13.     Major changes between "less" versions 291 and 321
  14.  
  15. * Command line at bottom of screen now scrolls, so it can be longer 
  16.   than the screen width.
  17.  
  18. * New commands ESC-] and ESC-[ scroll the display horizontally.
  19.  
  20. * New command ESC-SPACE scrolls forward a full screen, even if it
  21.   hits end-of-file.
  22.  
  23. * Alternate modifiers for search commands: ^N is same as !,
  24.   ^F is same as @, and ^E is same as *.
  25.  
  26. * New modifier for search commands: ^K means highlight the matches
  27.   currently on-screen, but don't move to the first match.
  28.  
  29. * New modifier for search commands: ^R means don't use regular
  30.   expressions in the search.
  31.  
  32. * Environment variable LESSKEY gives name of default lesskey file.
  33.  
  34. * Environment variable LESSSECURE will force less to run in
  35.   "secure" mode.
  36.  
  37. * Command line argument "--" signals that the rest of the arguments
  38.   are files (not option flags).
  39.  
  40. * Help file (less.hlp) is no longer installed.  Help text is now 
  41.   embedded in the less executable itself.
  42.  
  43. * Added -Ph to change the prompt for the help text.
  44.   Added -Ps to change the default short prompt (same as plain -P).
  45.  
  46. * Ported to the Borland C compiler for MS-DOS.
  47.  
  48. * Ported to Windows 95 & Windows NT.
  49.  
  50. * Ported to OS-9.
  51.  
  52. * Ported to GNU Hurd.
  53.  
  54. ======================================================================
  55.  
  56.  
  57.     Major changes between "less" versions 290 and 291
  58.  
  59. * Less environment variables can be specified in lesskey files.
  60.  
  61. * Fixed MS-DOS build.
  62.  
  63. ======================================================================
  64.  
  65.  
  66.     Major changes between "less" versions 278 and 290
  67.  
  68. * Accepts GNU-style options "--help" and "--version".
  69.  
  70. * OS/2 version looks for less.ini in $HOME before $INIT and $PATH.
  71.  
  72. * Bug fixes
  73.  
  74. ======================================================================
  75.  
  76.  
  77.     Major changes between "less" versions 252 and 278
  78.  
  79. * A LESSOPEN preprocessor may now pipe the converted file data to less,
  80.   rather than writing it to a temporary file.
  81.  
  82. * Search pattern highlighting has been fixed.  It now highlights 
  83.   reliably, even if a string is split across two screen lines,
  84.   contains TABs, etc.
  85.  
  86. * The -F flag (which suppress search highlighting) has been changed 
  87.   to -G.  A new flag, -g, changes search highlighting to highlight 
  88.   only the string found by the last search command, instead of all 
  89.   strings which match the last search command.
  90.  
  91. * New flag -I acts like -i, but ignores case even if the search 
  92.   pattern contains uppercase letters.
  93.  
  94. * Less now checks for the environment variable VISUAL before EDITOR.
  95.  
  96. * Ported to OS/2.
  97.  
  98. ======================================================================
  99.  
  100.  
  101.     Major changes between "less" versions 237 and 252
  102.  
  103. * Changes in line-editing keys:
  104.   The literal key is now ^V or ^A rather than \ (backslash).
  105.   Filename completion commands (TAB and ^L) are disabled 
  106.   when typing a search pattern.
  107.  
  108. * Line-editing command keys can be redefined using lesskey.
  109.  
  110. * Lesskey with no input file defaults to $HOME/.lesskey
  111.   rather than standard input.
  112.  
  113. * New option -V displays version number of less.
  114.  
  115. * New option -V displays version number of lesskey.
  116.  
  117. * Help file less.hlp is now installed by default in /usr/local/share 
  118.   rather than /usr/local/lib.
  119.  
  120.  
  121. ======================================================================
  122.  
  123.  
  124.     Major changes between "less" versions 170 and 237
  125.  
  126. * By popular demand, text which matches the current search pattern
  127.   is highlighted.  New -F flag disables this feature.
  128.  
  129. * Henry Spencer's regexp.c is now included, for systems which do not
  130.   have a regular expression library.
  131.   regexp.c is Copyright (c) 1986 by University of Toronto.
  132.  
  133. * New line-editing keys, including command history (arrow keys) and 
  134.   filename completion (TAB).
  135.  
  136. * Input preprocessor allows modification of input files (e.g. uncompress)
  137.   via LESSOPEN/LESSCLOSE environment variables.
  138.  
  139. * New -X flag disables sending termcap "ti" and "te" (initialize and
  140.   deinitialize) strings to the terminal. 
  141.  
  142. * Changing -i from within less now correctly affects a subsequent
  143.   repeated search.  
  144.  
  145. * Searching for underlined or overstruck text now works when the -u
  146.   flag is in effect, rather than the -i flag.
  147.  
  148. * Use setlocale (LANG and LC_CTYPE environment variables) to determine
  149.   the character set if LESSCHARSET/LESSCHARDEF are not set.
  150.  
  151. * The default format for displaying binary characters is now standout
  152.   (reverse video) rather than blinking.  This can still be changed by
  153.   setting the LESSBINFMT environment variable.
  154.  
  155. * Use autoconf installation technology.
  156.  
  157. * Ported to MS-DOS.
  158.  
  159.         ********************************
  160.           Things that may surprise you
  161.         ********************************
  162.  
  163. * When you enter text at the bottom of the screen (search string, 
  164.   filename, etc.), some keys act different than previously.  
  165.   Specifically, \ (backslash), ESC, TAB, BACKTAB, and control-L 
  166.   now have line editing functions.
  167.  
  168. * Some previous unofficial versions of less were able to display
  169.   compressed files.  The new LESSOPEN/LESSCLOSE feature now provides
  170.   this functionality in a different way.
  171.  
  172. * Some previous unofficial versions of less provided a -Z flag to 
  173.   set the number of lines of text to retain between full screen scrolls.
  174.   The -z-n flag (that is, -z with a negative number) provides this 
  175.   functionality.
  176.  
  177.  
  178. ======================================================================
  179.  
  180.  
  181.     Major changes between "less" versions 123 and 170
  182.  
  183. * New option -j allows target lines to be positioned anywhere on screen.
  184.  
  185. * New option -S truncates displayed line at the screen width,
  186.   rather than wrapping onto the next line.
  187.  
  188. * New option -y limits amount of forward scroll.
  189.  
  190. * New option -T specifies a "tags" file.
  191.  
  192. * Non-printable, non-control characters are displayed in octal.
  193.   Such characters, as well as control characters, are displayed 
  194.   in blinking mode.
  195.  
  196. * New command -+ sets an option to its default.
  197. * New command -- sets an option to the opposite of its default.
  198.  
  199. * Lesskey file may have a string appended to a key's action,
  200.   which acts as though typed in after the command.
  201.  
  202. * New commands ESC-^F and ESC-^B match arbitrary types of brackets.
  203.  
  204. * New command F monitors a growing file (like "tail -f").
  205.  
  206. * New command | pipes a section of the input file into a shell command.
  207.  
  208. * New command :x directly jumps to a file in the command line list.
  209.  
  210. * Search commands have been enhanced and reorganized:
  211.     n    Repeat search, same direction.
  212.     N    Repeat search, opposite direction.
  213.     ESC-/    Search forward thru file boundaries
  214.     ESC-?    Search backward thru file boundaries
  215.     ESC-n    Repeat search thru file boundaries, same direction.
  216.     ESC-N    Repeat search thru file boundaries, opposite direction.
  217.   Special character * causes search to search thru file boundaries.
  218.   Special character @ causes search to begin at start/end of file list.
  219.  
  220. * Examining a new file adds it to the command line list.
  221.   A list of files, or an expression which matches more than one file,
  222.   may be examined; all of them are added to the command line list.
  223.  
  224. * Environment variables LESSCHARSET and LESSCHARDEF can define
  225.   a non-ASCII character set.
  226.  
  227. * Partial support for MSDOS, including options -R for repainting screen
  228.   on quit, -v/-V to select video mode, and -W to change window size.
  229.  
  230.  
  231. ======================================================================
  232.  
  233.  
  234.     Major changes between "less" versions 97 and 123
  235.  
  236. * New option (-N) causes line numbers to be displayed in the
  237.   text of the file (like vi "set nu").
  238.  
  239. * New option (-?) prints help message immediately.
  240.  
  241. * New option (-r) displays "raw" control characters, without
  242.   mapping them to ^X notation.
  243.  
  244. * New option (-f) forces less to open non-regular files
  245.   (directories, etc).
  246.  
  247. * New option (-k) can be used to specify lesskey files by name.
  248.  
  249. * New option (-y) can be used to set a forward scroll limit
  250.   (like -h sets a backward scroll limit).
  251.  
  252. * File marks (set by the m command) are now preserved when a new
  253.   file is edited.  The ' command can thus be used to switch files.
  254.  
  255. * New command ESC-/ searches all files (on the command line) 
  256.   for a pattern.
  257.  
  258. * New command ESC-n repeats previous search, spanning files.
  259.  
  260. * The N command has been changed to repeat the previous search
  261.   in the reverse direction.  The old N command is still available 
  262.   via :n.
  263.  
  264. * New command ESC-N repeats previous search in the reverse
  265.   direction and spanning files.
  266.  
  267. * 8 bit characters are now supported.  A new option (-g) can be 
  268.   used to strip off the eighth bit (the previous behavior).
  269.  
  270. * Options which take a following string (like -t) may now
  271.   optionally have a space between the option letter and the string.
  272.  
  273. * Six new commands { } ( ) [ and ] can be used to match
  274.   brackets of specific types, similar to vi % command.
  275.  
  276. * New commands z and w move forward/backward one window and
  277.   simultaneously set the window size.
  278.  
  279. * Prompt string expansion now has %L for line number of the last
  280.   line in the file, and %E for the name of the editor.
  281.   Also, % escapes which refer to a line (b=bottom, t=top, etc.)
  282.   can use j for the jump target line.
  283.  
  284. * New environment variable LESSEDIT can be used to tailor the
  285.   command string passed to the editor by the v command.
  286.  
  287. * Examining a file which was previously examined will return
  288.   to the same position in the file.
  289.  
  290. * A "%" is expanded to the current filename and a "#" to the 
  291.   previous filename, in both shell commands and the E command.
  292.   (Previously % worked only in shell commands and # worked 
  293.   only in the E command.)
  294.  
  295. * New command ":ta" is equivalent to "-t".
  296.  
  297. * New command "s" is equivalent to "-l".
  298.  
  299. * The - command may be followed by "+X" to revert to the default
  300.   for option X, or "-X" to get the opposite of the default.
  301.  
  302. * Lesskey files may now include characters after the action as
  303.   extra input to be parsed after the action; for example:
  304.   "toggle-option X" to toggle a specific option X.
  305.