home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 6 File / 06-File.zip / less373.zip / NEWS < prev    next >
Text File  |  2002-01-14  |  18KB  |  546 lines

  1.  
  2.                      NEWS about less
  3.  
  4. ======================================================================
  5.  
  6.   For the latest news about less, see the "less" Web page:
  7.       http://www.greenwoodsoftware.com/less
  8.   You can also download the latest version of less from there.
  9.  
  10.   To report bugs, suggestions or comments, send email to 
  11.   bug-less@gnu.org or markn@greenwoodsoftware.com.
  12.  
  13. ======================================================================
  14.  
  15.  
  16.     Major changes between "less" versions 358 and 373
  17.  
  18. * -x option can now specify multiple variable-width tab stops.
  19.  
  20. * -X option no longer disables keypad initialization.
  21.   New option --no-keypad disables keypad initialization.
  22.  
  23. * New commands t and T step through multiple tag matches.
  24.   Added support for "global(1)" tags
  25.   (see http://www.gnu.org/software/global/global.html).
  26.  
  27. * New prompt style set by option -Pw defines the message printed 
  28.   while waiting for data in the F command.
  29.  
  30. * System-wide lesskey file now defaults to sysless in etc directory 
  31.   instead of .sysless in bin directory.
  32.   Use "configure --sysconfdir=..." to change it.
  33.   (For backwards compatibility, .sysless in bin is still recognized.)
  34.  
  35. * Pressing RightArrow or LeftArrow while entering a number now shifts
  36.   the display N columns rather than editing the number itself.
  37.  
  38. * Status column (enabled with -J) now shows search results.
  39.  
  40. * Windows version sets window title.
  41.  
  42. * Default LESSCHARSET for MS-DOS versions is now "dos".
  43.  
  44. * Improved performance in reading very large pipes.
  45.  
  46. * Eliminated some dependencies on file offets being 32 bits.
  47.  
  48. * Fixed problems when viewing files with very long lines.
  49.  
  50. * Fixed overstriking in UTF-8 mode, and overstriking tabs.
  51.  
  52. * Improved horizontal shifting of text using -R option with ANSI color.
  53.  
  54. * Improved handling of filenames containing shell metacharacters.
  55.  
  56. * Some fixes for EBCDIC systems.
  57.  
  58. * Some fixes for OS/2 systems.
  59.  
  60. ======================================================================
  61.  
  62.     Major changes between "less" versions 354 and 358
  63.  
  64. * Add -J (--status-column) option to display a status column.
  65.  
  66. * Add -# (--shift) option to set default horizontal shift distance.
  67.   Default horizontal shift distance is now one-half screen width.
  68.  
  69. * Horizontal shifting does not shift line numbers if -N is in effect.
  70.  
  71. * Horizontal shifting acts as though -S were set, to avoid confusion.
  72.  
  73. ======================================================================
  74.  
  75.  
  76.     Major changes between "less" versions 352 and 354
  77.  
  78. * Allow space after numeric-valued command line options.
  79.  
  80. * Fix problem with configuring terminal libraries on some systems.
  81.  
  82. * Add support for PCRE regular expression library.
  83.  
  84. * Add --with-regex option to configure to allow manually selecting
  85.   a regular expression library.
  86.  
  87. * Fix bug compiling with SECURE = 1.
  88.  
  89. ======================================================================
  90.  
  91.  
  92.     Major changes between "less" versions 346 and 352
  93.  
  94. * Enable UTF-8 if "UTF-8" appears in locale-related environment variables.
  95.  
  96. * Add --with-editor option to configure script.
  97.  
  98. * The -M prompt and = message now show the top and bottom line number.
  99.  
  100. * Fix bug in running the editor on a file whose name contains quotes, etc.
  101.  
  102. * Fix bug in horizontal scrolling of long lines.
  103.  
  104. * Fix bug in doing :d on a file which contains marks.
  105.  
  106. * Fix bug causing cleared lines to sometimes be filled with standout, 
  107.   bold, underline, etc. on certain terminals.
  108.  
  109. * Fixes for MS-DOS (DJGPP) version.
  110.  
  111. ======================================================================
  112.  
  113.  
  114.     Major changes between "less" versions 340 and 346
  115.  
  116. * The UTF-8 character set is now supported.
  117.  
  118. * The default character set is now latin1 rather than ascii.
  119.  
  120. * New option -R (--RAW-CONTROL-CHARS) is like -r but handles 
  121.   long (wrapped) lines correctly, as long as the input contains only 
  122.   normal text and ANSI color escape sequences.
  123.  
  124. * New option -F (--quit-if-one-screen) quits if the text fits on
  125.   the first screen.
  126.  
  127. * The -w option now highlights the target line of a g or p command.
  128.  
  129. * A system-wide lesskey file is supported (LESSKEY_SYSTEM).
  130.  
  131. * New escape for prompt strings: %c is replaced by column number.
  132.  
  133. * New escape for prompt strings: %P is replaced by percentage into
  134.   file, based on line number rather than byte offset.
  135.  
  136. * HOME and END keys now jump to beginning of file or end of file.
  137.  
  138. ======================================================================
  139.  
  140.  
  141.     Major changes between "less" versions 337 and 340
  142.  
  143. * Command line options for less may now be given in either the old 
  144.   single-letter form, or a new long name form (--option-name).
  145.   See the less man page or "less --help" for the list of long option names.
  146.  
  147. * Command line options for lesskey may now be given in a new long name
  148.   form.  See the lesskey man page for the list of long option names.
  149.  
  150. * New command -- toggles an option using the long option name.
  151.  
  152. * New command __ queries an option using the long option name.
  153.  
  154. * The old -- command is renamed as -!.
  155.  
  156. * If a ^P is entered between the dash and the option letter of the -
  157.   command, the message describing the new setting is suppressed.
  158.  
  159. * Lesskey files may now contain \k escape sequences to represent the
  160.   "special" keys (arrows, PAGE-UP/PAGE-DOWN, HOME, END, INSERT, DELETE).
  161.  
  162. * New command :d removes the current file from the list of files.
  163.  
  164. * New option -~ (like -w before version 335)
  165.   suppresses tildes after end-of-file.
  166.  
  167. * Less is now released under the GNU General Public License.
  168.  
  169. ======================================================================
  170.  
  171.  
  172.     Major changes between "less" versions 335 and 337
  173.  
  174. * Fixed bugs in "make install".
  175.  
  176. ======================================================================
  177.  
  178.  
  179.     Major changes between "less" versions 332 and 335
  180.  
  181. * The old -w flag (suppress tildes after end-of-file) has been removed.
  182.  
  183. * New -w flag highlights the first new line after a forward-screen.
  184.  
  185. * New -W flag highlights the first new line after any forward movement.
  186.  
  187. * Window resize works even if LINES and/or COLUMNS environment 
  188.   variables are incorrect.
  189.  
  190. * New percent escapes for prompt strings:
  191.   %d is replaced by the page number, and
  192.   %D is replaced by the number of pages in the file.
  193.  
  194. * Added charsets "iso8859" and "ebcdic".
  195.  
  196. * In Windows version, uses HOMEDRIVE and HOMEPATH if HOME is not defined.
  197.  
  198. * Fixed some bugs causing incorrect display on DOS/Windows.
  199.  
  200. ======================================================================
  201.  
  202.  
  203.     Major changes between "less" versions 330 and 332
  204.  
  205. * Filenames from the command line are entered into the command history,
  206.   so UPARROW/DOWNARROW can be used to retrieve them from the :e command.
  207.  
  208. * Now works correctly on Windows when using a scrolling terminal
  209.   window (buffer larger than display window).
  210.  
  211. * On Windows, now restores the console screen on exit.  
  212.   Use -X to get the old behavior.
  213.  
  214. * Fixed bug on Windows when CAPS-LOCK or NUM-LOCK is pressed.
  215.  
  216. * Fixed bug on Windows when piping output of an interactive program.
  217.  
  218. * Fixed bug in tags file processing when tags file has DOS-style
  219.   line terminators (CR/LF).
  220.  
  221. * Fixed compilation problem on OS/2.
  222.  
  223. ======================================================================
  224.  
  225.  
  226.     Major changes between "less" versions 321 and 330
  227.  
  228. * Now supports filenames containing spaces (in double quotes).
  229.   New option -" can be used to change the quoting characters.
  230.  
  231. * In filename completion, a slash is appended to a directory name.
  232.   If the environment variable LESSSEPARATOR is set, the value of
  233.   that variable, rather than a slash, is appended.
  234.  
  235. * LeftArrow and RightArrow are same as ESC-[ and ESC-].
  236.  
  237. * Added commands ESC-( and ESC-), same as ESC-[ and ESC-].
  238.  
  239. * A "quit" command defined in a lesskey file may now have an "extra" 
  240.   string, which is used to return an exit code from less when it quits.
  241.  
  242. * New environment variables LESSMETACHARS and LESSMETAESCAPE provide
  243.   more control over how less interfaces to the shell.
  244.  
  245. * Ported to Microsoft Visual C compiler for Windows.
  246.  
  247. * Ported to DJGPP compiler for MS-DOS.
  248.  
  249. * Bug fixes.
  250.  
  251. ======================================================================
  252.  
  253.  
  254.     Major changes between "less" versions 291 and 321
  255.  
  256. * Command line at bottom of screen now scrolls, so it can be longer 
  257.   than the screen width.
  258.  
  259. * New commands ESC-] and ESC-[ scroll the display horizontally.
  260.  
  261. * New command ESC-SPACE scrolls forward a full screen, even if it
  262.   hits end-of-file.
  263.  
  264. * Alternate modifiers for search commands: ^N is same as !,
  265.   ^F is same as @, and ^E is same as *.
  266.  
  267. * New modifier for search commands: ^K means highlight the matches
  268.   currently on-screen, but don't move to the first match.
  269.  
  270. * New modifier for search commands: ^R means don't use regular
  271.   expressions in the search.
  272.  
  273. * Environment variable LESSKEY gives name of default lesskey file.
  274.  
  275. * Environment variable LESSSECURE will force less to run in
  276.   "secure" mode.
  277.  
  278. * Command line argument "--" signals that the rest of the arguments
  279.   are files (not option flags).
  280.  
  281. * Help file (less.hlp) is no longer installed.  Help text is now 
  282.   embedded in the less executable itself.
  283.  
  284. * Added -Ph to change the prompt for the help text.
  285.   Added -Ps to change the default short prompt (same as plain -P).
  286.  
  287. * Ported to the Borland C compiler for MS-DOS.
  288.  
  289. * Ported to Windows 95 & Windows NT.
  290.  
  291. * Ported to OS-9.
  292.  
  293. * Ported to GNU Hurd.
  294.  
  295. ======================================================================
  296.  
  297.  
  298.     Major changes between "less" versions 290 and 291
  299.  
  300. * Less environment variables can be specified in lesskey files.
  301.  
  302. * Fixed MS-DOS build.
  303.  
  304. ======================================================================
  305.  
  306.  
  307.     Major changes between "less" versions 278 and 290
  308.  
  309. * Accepts GNU-style options "--help" and "--version".
  310.  
  311. * OS/2 version looks for less.ini in $HOME before $INIT and $PATH.
  312.  
  313. * Bug fixes
  314.  
  315. ======================================================================
  316.  
  317.  
  318.     Major changes between "less" versions 252 and 278
  319.  
  320. * A LESSOPEN preprocessor may now pipe the converted file data to less,
  321.   rather than writing it to a temporary file.
  322.  
  323. * Search pattern highlighting has been fixed.  It now highlights 
  324.   reliably, even if a string is split across two screen lines,
  325.   contains TABs, etc.
  326.  
  327. * The -F flag (which suppress search highlighting) has been changed 
  328.   to -G.  A new flag, -g, changes search highlighting to highlight 
  329.   only the string found by the last search command, instead of all 
  330.   strings which match the last search command.
  331.  
  332. * New flag -I acts like -i, but ignores case even if the search 
  333.   pattern contains uppercase letters.
  334.  
  335. * Less now checks for the environment variable VISUAL before EDITOR.
  336.  
  337. * Ported to OS/2.
  338.  
  339. ======================================================================
  340.  
  341.  
  342.     Major changes between "less" versions 237 and 252
  343.  
  344. * Changes in line-editing keys:
  345.   The literal key is now ^V or ^A rather than \ (backslash).
  346.   Filename completion commands (TAB and ^L) are disabled 
  347.   when typing a search pattern.
  348.  
  349. * Line-editing command keys can be redefined using lesskey.
  350.  
  351. * Lesskey with no input file defaults to $HOME/.lesskey
  352.   rather than standard input.
  353.  
  354. * New option -V displays version number of less.
  355.  
  356. * New option -V displays version number of lesskey.
  357.  
  358. * Help file less.hlp is now installed by default in /usr/local/share 
  359.   rather than /usr/local/lib.
  360.  
  361.  
  362. ======================================================================
  363.  
  364.  
  365.     Major changes between "less" versions 170 and 237
  366.  
  367. * By popular demand, text which matches the current search pattern
  368.   is highlighted.  New -F flag disables this feature.
  369.  
  370. * Henry Spencer's regexp.c is now included, for systems which do not
  371.   have a regular expression library.
  372.   regexp.c is Copyright (c) 1986 by University of Toronto.
  373.  
  374. * New line-editing keys, including command history (arrow keys) and 
  375.   filename completion (TAB).
  376.  
  377. * Input preprocessor allows modification of input files (e.g. uncompress)
  378.   via LESSOPEN/LESSCLOSE environment variables.
  379.  
  380. * New -X flag disables sending termcap "ti" and "te" (initialize and
  381.   deinitialize) strings to the terminal. 
  382.  
  383. * Changing -i from within less now correctly affects a subsequent
  384.   repeated search.  
  385.  
  386. * Searching for underlined or overstruck text now works when the -u
  387.   flag is in effect, rather than the -i flag.
  388.  
  389. * Use setlocale (LANG and LC_CTYPE environment variables) to determine
  390.   the character set if LESSCHARSET/LESSCHARDEF are not set.
  391.  
  392. * The default format for displaying binary characters is now standout
  393.   (reverse video) rather than blinking.  This can still be changed by
  394.   setting the LESSBINFMT environment variable.
  395.  
  396. * Use autoconf installation technology.
  397.  
  398. * Ported to MS-DOS.
  399.  
  400.         ********************************
  401.           Things that may surprise you
  402.         ********************************
  403.  
  404. * When you enter text at the bottom of the screen (search string, 
  405.   filename, etc.), some keys act different than previously.  
  406.   Specifically, \ (backslash), ESC, TAB, BACKTAB, and control-L 
  407.   now have line editing functions.
  408.  
  409. * Some previous unofficial versions of less were able to display
  410.   compressed files.  The new LESSOPEN/LESSCLOSE feature now provides
  411.   this functionality in a different way.
  412.  
  413. * Some previous unofficial versions of less provided a -Z flag to 
  414.   set the number of lines of text to retain between full screen scrolls.
  415.   The -z-n flag (that is, -z with a negative number) provides this 
  416.   functionality.
  417.  
  418.  
  419. ======================================================================
  420.  
  421.  
  422.     Major changes between "less" versions 123 and 170
  423.  
  424. * New option -j allows target lines to be positioned anywhere on screen.
  425.  
  426. * New option -S truncates displayed line at the screen width,
  427.   rather than wrapping onto the next line.
  428.  
  429. * New option -y limits amount of forward scroll.
  430.  
  431. * New option -T specifies a "tags" file.
  432.  
  433. * Non-printable, non-control characters are displayed in octal.
  434.   Such characters, as well as control characters, are displayed 
  435.   in blinking mode.
  436.  
  437. * New command -+ sets an option to its default.
  438. * New command -- sets an option to the opposite of its default.
  439.  
  440. * Lesskey file may have a string appended to a key's action,
  441.   which acts as though typed in after the command.
  442.  
  443. * New commands ESC-^F and ESC-^B match arbitrary types of brackets.
  444.  
  445. * New command F monitors a growing file (like "tail -f").
  446.  
  447. * New command | pipes a section of the input file into a shell command.
  448.  
  449. * New command :x directly jumps to a file in the command line list.
  450.  
  451. * Search commands have been enhanced and reorganized:
  452.     n    Repeat search, same direction.
  453.     N    Repeat search, opposite direction.
  454.     ESC-/    Search forward thru file boundaries
  455.     ESC-?    Search backward thru file boundaries
  456.     ESC-n    Repeat search thru file boundaries, same direction.
  457.     ESC-N    Repeat search thru file boundaries, opposite direction.
  458.   Special character * causes search to search thru file boundaries.
  459.   Special character @ causes search to begin at start/end of file list.
  460.  
  461. * Examining a new file adds it to the command line list.
  462.   A list of files, or an expression which matches more than one file,
  463.   may be examined; all of them are added to the command line list.
  464.  
  465. * Environment variables LESSCHARSET and LESSCHARDEF can define
  466.   a non-ASCII character set.
  467.  
  468. * Partial support for MSDOS, including options -R for repainting screen
  469.   on quit, -v/-V to select video mode, and -W to change window size.
  470.  
  471.  
  472. ======================================================================
  473.  
  474.  
  475.     Major changes between "less" versions 97 and 123
  476.  
  477. * New option (-N) causes line numbers to be displayed in the
  478.   text of the file (like vi "set nu").
  479.  
  480. * New option (-?) prints help message immediately.
  481.  
  482. * New option (-r) displays "raw" control characters, without
  483.   mapping them to ^X notation.
  484.  
  485. * New option (-f) forces less to open non-regular files
  486.   (directories, etc).
  487.  
  488. * New option (-k) can be used to specify lesskey files by name.
  489.  
  490. * New option (-y) can be used to set a forward scroll limit
  491.   (like -h sets a backward scroll limit).
  492.  
  493. * File marks (set by the m command) are now preserved when a new
  494.   file is edited.  The ' command can thus be used to switch files.
  495.  
  496. * New command ESC-/ searches all files (on the command line) 
  497.   for a pattern.
  498.  
  499. * New command ESC-n repeats previous search, spanning files.
  500.  
  501. * The N command has been changed to repeat the previous search
  502.   in the reverse direction.  The old N command is still available 
  503.   via :n.
  504.  
  505. * New command ESC-N repeats previous search in the reverse
  506.   direction and spanning files.
  507.  
  508. * 8 bit characters are now supported.  A new option (-g) can be 
  509.   used to strip off the eighth bit (the previous behavior).
  510.  
  511. * Options which take a following string (like -t) may now
  512.   optionally have a space between the option letter and the string.
  513.  
  514. * Six new commands { } ( ) [ and ] can be used to match
  515.   brackets of specific types, similar to vi % command.
  516.  
  517. * New commands z and w move forward/backward one window and
  518.   simultaneously set the window size.
  519.  
  520. * Prompt string expansion now has %L for line number of the last
  521.   line in the file, and %E for the name of the editor.
  522.   Also, % escapes which refer to a line (b=bottom, t=top, etc.)
  523.   can use j for the jump target line.
  524.  
  525. * New environment variable LESSEDIT can be used to tailor the
  526.   command string passed to the editor by the v command.
  527.  
  528. * Examining a file which was previously examined will return
  529.   to the same position in the file.
  530.  
  531. * A "%" is expanded to the current filename and a "#" to the 
  532.   previous filename, in both shell commands and the E command.
  533.   (Previously % worked only in shell commands and # worked 
  534.   only in the E command.)
  535.  
  536. * New command ":ta" is equivalent to "-t".
  537.  
  538. * New command "s" is equivalent to "-l".
  539.  
  540. * The - command may be followed by "+X" to revert to the default
  541.   for option X, or "-X" to get the opposite of the default.
  542.  
  543. * Lesskey files may now include characters after the action as
  544.   extra input to be parsed after the action; for example:
  545.   "toggle-option X" to toggle a specific option X.
  546.