usr.sbin/makefs/hammer2: Remove redundant hammer2_inode_modify()
[dragonfly.git] / contrib / less / NEWS
blobbcfe4c6c9e385a998a0239b528955d566a7c3b36
2                      NEWS about less
4 ======================================================================
6   For the latest news about less, see https://greenwoodsoftware.com/less
7   You can also download the latest version of less from there.
9   Report bugs, suggestions or comments at 
10   https://github.com/gwsw/less/issues.
12 ======================================================================
14         Major changes between "less" versions 590 and 608
16 * Add the --header option (github #43).
18 * Add the --no-number-headers option (github #178).
20 * Add the --status-line option.
22 * Add the --redraw-on-quit option (github #36).
24 * Add the --search-options option (github #213).
26 * Add the --exit-follow-on-close option (github #244).
28 * Add 'H' color type to set color of header lines.
30 * Add #version conditional to lesskey.
32 * Add += syntax to variable section in lesskey files.
34 * Allow option name in -- command to end with '=' in addition to '\n'.
36 * Add $HOME/.config to possible locations of lesskey file (github #153).
38 * Add $XDG_STATE_HOME and $HOME/.local/state to possible locations
39   of history file (github #223).
41 * Don't read or write history file in secure mode (github #201).
43 * Fix display of multibyte and double-width chars in prompt.
45 * Fix ESC-BACKSPACE command when BACKSPACE key does not send 0x08
46   (github #188).
48 * Add more \k codes to lesskey format.
50 * Fix bug when empty file is modified while viewing it.
52 * Fix bug when parsing a malformed lesskey file (githb #234).
54 * Fix bug scrolling history when --incsearch is set (github #214).
56 * Fix buffer overflow when invoking lessecho with more than 63 -m/-n 
57   options (github #198).
59 * Fix buffer overflow in bin_file (github #271).
61 * Fix bug restoring color at end of highlighted text.
63 * Fix bug in parsing lesskey file.
65 * Defer moving cursor to lower left in some more cases.
67 * Suppress TAB filename expansion in some cases where it doesn't make sense.
69 * Fix termlib detection when compiler doesn't accept 
70   calls to undeclared functions.
72 * Fix bug in input of non-ASCII characters on Windows (github #247)
74 * Escape filenames when invoking LESSCLOSE.
76 * Fix bug using multibyte UTF-8 char in search string 
77   with --incsearch (github #273).
79 ======================================================================
81         Major changes between "less" versions 581 and 590
83 * Make less able to read lesskey source files (deprecating lesskey).
85 * If XDG_CONFIG_HOME is set, find lesskey source file 
86   in $XDG_CONFIG_HOME/lesskey rather than $HOME/.lesskey.
88 * If XDG_DATA_HOME is set, find and store history file 
89   in $XDG_DATA_HOME/lesshst rather than $HOME/.lesshst.
91 * Add the --lesskey-src option.
93 * Add the --file-size option.
95 * With -F, if screen is resized to make file fit on one screen, don't exit.
97 * Fix bug which could leave terminal in mouse-reporting mode 
98   after exiting less.
100 * Fix bug which caused failure to respond to window resize.
102 * Fix backslash bug searching in tag file.
104 ======================================================================
106         Major changes between "less" versions 563 and 581
108 * Change ESC-u command to toggle, not disable, highlighting per man page.
110 * Add ESC-U command. 
112 * Add ctrl-W search modifier for wrapping search.
114 * F command can be interrupted by ^X.
116 * Support OSC 8 hyperlinks when -R is in effect.
118 * g command with no number will ignore -j and put first line at top of screen.
120 * Multiple + or -p command line options are handled better.
122 * Add the --incsearch option.
124 * Add the --line-num-width option.
126 * Add the --status-col-width option.
128 * Add the --use-color and --color options.
130 * Display -w highlight even if highlighted line is empty.
132 * If search result is in a long line, scroll to ensure it is visible.
134 * Editing the same file under different names now creates only
135   one entry in the file list.
137 * Make visual bell more visible on some terminals.
139 * Ring end-of-file bell no more than once per second.
141 * Build can use either Python or Perl for Makefile.aut operations.
143 * Fix crash when using the @ search modifier.
145 * Fix crash in the 's' command due to duplicate free.
147 * Fix realpath crash on Darwin.
149 ======================================================================
151         Major changes between "less" versions 551 and 563
153 * Update Unicode tables.
155 * Treat Hangul Jamo medial vowels and final consonants as zero width.
157 * Display error message immediately when -o is toggled and 
158   input is not a pipe.
160 * Fix regression: make screen repaint when "squished" and 
161   a no-movement command is given.
163 * Fix erroneous EOF calculation when F command is interrupted.
165 * Make WIN32C version include this fix from 551:
166   Don't count lines in initial screen if using -X with -F.
168 * Fix display bug in WIN32C version.
170 * Fix memory corruption when built with libtermcap.
172 * Support libtinfow.
174 ======================================================================
176         Major changes between "less" versions 530 and 551
178 * Add --mouse option.
180 * Add --wheel-lines option.
182 * Add --no-histdups option.
184 * Add --save-marks option.
186 * Support PCRE2 regular expression library.
188 * Redraw screen on SIGWINCH even if screen size doesn't change.
190 * Shell-escape filenames in history so they can be used again.
192 * Ring bell if user enters invalid long option name.
194 * Use PCRE_UTF8 flag for pcre regular expressions when in UTF-8 mode.
196 * Windows: use wide-char string to set console title.
198 * Don't count lines in initial screen if using -X with -F.
200 * Support mingw build system.
202 * Fix bug in v command on empty file.
204 * Fix bug in v command when filename contains shell metacharacters.
206 ======================================================================
208         Major changes between "less" versions 487 and 530
210 * Don't output terminal init sequence if using -F and file fits on one screen.
212 * When using -S, mark truncated lines with a special character.
213   The character can be changed or disabled via the new --rscroll option.
215 * New command M marks the last line displayed on the screen.
217 * New command ESC-m removes a line mark.
219 * Status column (enabled via -J) now shows mark letters.
221 * Status column shows search matches even if highlighting is disabled via -G.
223 * A second ESC-u command will clear search match markers in the status column.
225 * Do same ANSI escape code filtering for tag matching that we do for 
226   searching, to help when viewing syntax-highlighted code.
227   
228 * Catch SIGTERM and clean up before exiting.
230 * Fix bug initializing default charset on Windows.
232 * Handle keypad ENTER key correctly if it sends something other than newline.
234 * Fix buffering bug when using stdin with a LESSOPEN pipe.
236 * On Windows, allow 'u' in -D option to enable underlining.
238 * On Windows, use underline in sgr mode.
240 * On Windows, convert UTF-8 to multibyte if console is not UTF-8.
242 * Update Unicode tables to 2017-03-08.
244 * Pass-thru Unicode formating chars (Cf type) instead of treating them
245   as binary chars. But treat them as binary if -U is set.
247 * Fix erroneous binary file warning when UTF-8 file contains ANSI SGR sequences.
249 * Fix bugs when using LESSOPEN and switching between stdin and other files.
251 * Fix some bugs handling filenames containing shell metacharacters.
253 * Fix some memory leaks.
255 * Allow some debugging environment variables to be set in lesskey file.
257 * Code improvements:
258   . Use ANSI prototypes in funcs.h declarations.
259   . Fix some const mismatches.
260   . Remove archaic "register" in variable declarations.
262 ======================================================================
264         Major changes between "less" versions 481 and 487
266 * New commands ESC-{ and ESC-} to shift to start/end of displayed lines.
268 * Make search highlights work correctly when changing caselessness with -i.
270 * New option -Da in Windows version to enable SGR mode.
272 * Fix "nothing to search" error when top or bottom line on screen is empty.
274 * Fix bug when terminal has no "cm" termcap entry.
276 * Fix incorrect display when entering double-width chars in search string.
278 * Fix bug in Unicode handling that missed some double width characters.
280 * Update Unicode database to 9.0.0.
282 ======================================================================
284         Major changes between "less" versions 458 and 481
286 * Don't overwrite history file; just append to it.
288 * New command ESC-G goes to end of currently buffered data in a pipe.
290 * Disable history feature when compiled with LESSHISTFILE set to "-".
292 * In more-compatible mode, make the -p option apply to every file opened,
293   not just the first one.
295 * In more-compatible mode, change the -e option to work like -E, not -EF.
297 * Treat multiple CRs before LF are like one CR (all the CRs are hidden).
299 * Allow "extra" string in lesskey file to append to a multi-char command
300   (like a search pattern), without executing the command.
302 * Ignore -u/-U setting while viewing help file, so that 
303   underline and bold chars are displayed correctly.
305 * Improve detection of "binary" files in UTF-8 mode.
307 * Fix bug with ++ commands.
309 * Fix bug where prompt was sometimes not displayed with +G.
311 * Fix possible memory corruption 
313 * Fix bugs and improve performance in ampersand filtering.
315 * Automate construction of Unicode tables from Unicode database.
317 * Allow %% escape sequence in LESSOPEN variable.
319 ======================================================================
321         Major changes between "less" versions 451 and 458
323 * Allow backslash escaping of metacharacters in LESS environment variable
324   after the --use-backslash option.
326 * Don't quit if syntax errors are found in command line options.
328 * Increase sizes of some internal buffers.
330 * Fix configure bug with --with-regex=none.
332 * Fix crash with "stty rows 0".
334 * Fix Win32 attribute display bug.
336 * Fix display bug when using up/down arrow on the command line.
338 ======================================================================
340         Major changes between "less" versions 444 and 451
342 * Add ESC-F command to keep reading data until a pattern is found.
344 * Use exit code of LESSOPEN script if LESSOPEN starts with "||".
346 * When up/down arrow is used on the command line immediately after
347   typing text, the next command starting with that text is found.
349 * Add support for GNU regex.
351 * Add configure option --with-regex=none and fix compile errors
352   when compiling with no regex library.
354 * Fix bugs handling SGR sequences in Win32.
356 * Fix possible crashes caused by malformed LESSOPEN or 
357   LESSCLOSE variables.
359 * Fix bug highlighting text which is discontiguous in the file 
360   due to backspace processing.
362 * Fix bug in displaying status column when scrolling backwards 
363   with -J and -S in effect.
365 ======================================================================
367         Major changes between "less" versions 443 and 444
369 * Fix bug in unget handling that can cause strange effects on the
370   command line.
372 * Remove vestiges of obsolete -l option that can cause a crash.
374 ======================================================================
376         Major changes between "less" versions 436 and 443
378 * Change search behavior such that when a search is given an explicit 
379   pattern, the entire displayed screen is included in the search and 
380   not just the portion after the target line.
382 * Add -A option to change search behavior to the old way: only
383   the portion of the screen after the target line is searched.
385 * Add %F formatting to prompt strings, replaced by the last component
386   of the input file.
388 * Control-G while editing a command exits the command.
390 * Less now exits with status 2 if control-C is pressed and -K is in effect.
392 * Fix "ungetc overflow" when passing long commands via the -p option.
394 * Fix bug in using line filtering via the & command 
395   in combination with -i and -I.
397 * Fix bug in handling negative arguments to the -j option.
399 * Fix bug in handling %t in prompt strings.
401 * Improve handling of long option names.
403 * Improve percentage calculation for very large files.
405 ======================================================================
407         Major changes between "less" versions 429 and 436
409 * Don't pass "-" to non-pipe LESSOPEN unless it starts with "-".
411 * Allow a fraction as the argument to the -# (--shift) option.
413 * Fix highlight bug when underlined/overstruck text matches at end of line.
415 * Fix non-regex searches with ctrl-R.
417 ======================================================================
419         Major changes between "less" versions 424 and 429
421 * LESSOPEN pipe will now be used on standard input, if the LESSOPEN
422   environment variable begins with "|-".
424 * The -D option with one number now means use the normal background color.
426 * Don't change permissions on history file if it is not a regular file.
428 * Fix non-ANSI-compliant code that caused problems with some compilers.
430 * Fix binary file detection in UTF-8 mode.
432 * Fix display problems with long lines on "ignaw" terminals.
434 * Fix problem interrupting the line number calculation for initial prompt.
436 * Fix SGR emulation when dealing with multiple attributes (eg. bold+underline).
438 * Fix highlight bug when searching for underlined/overstruck text.
440 ======================================================================
442         Major changes between "less" versions 418 and 424
444 * New "&" command allows filtering of lines based on a pattern.
446 * Status column now displays a search match, even if the matched
447   string is scrolled off screen because -S is in effect.
449 * Improve behavior of -F option.
451 * Allow CSI character (0x9B) to work in UTF-8 mode.
453 * Output carriage return at startup in case terminal doesn't default
454   to column 1.
456 * Fix bug in '' (quote, quote) command after G command.
458 ======================================================================
460         Major changes between "less" versions 416 and 418
462 * Color escape sequences are now supported in WIN32 build.
464 * Makefile now uses EXEEXT feature of autoconf.
466 * Fix search bug when using -R and text contains ANSI color escape sequences.
468 * Fix crash when using -r with UTF-8 text containing 0x9B bytes.
470 * Fix display bug when using ' command to move less than one page forward.
472 * Update GPL to version 3.
474 ======================================================================
476         Major changes between "less" versions 409 and 416
478 * New --follow-name option makes F command follow the name of a file
479   rather than the file descriptor if an open file is renamed.
481 * Make searching with -i/-I work correctly with non-ASCII text.
483 * Fix DJGPP build.
485 ======================================================================
487         Major changes between "less" versions 406 and 409
489 * Support CSI escape sequences, like SGR escape sequences.
491 * Fix bug which caused screen to fail to repaint when window is resized.
493 * Fix bug in using -i and -I flags with non-ASCII text.
495 * Fix configure bug on systems which don't support langinfo.h.
497 * Fix crash when searching text containing certain invalid UTF-8 sequences.
499 ======================================================================
501         Major changes between "less" versions 394 and 406
503 * Allow decimal point in number for % (percent) command.
505 * Allow decimal point in number for -j option (fraction of screen height).
507 * Make n command fetch previous pattern from history file on first search.
509 * Don't rewrite history file if it has not changed.
511 * Don't move to bottom of screen on first page.
513 * Don't output extraneous newlines, so copy & pasting lines from the
514   output works better.
516 * The -c option has been made identical with the -C option.
518 * Allow "/dev/null" as synomym for "-" in LESSHISTFILE to indicate
519   that no history file should be used.
521 * Search can now find text which follows a null byte, if the PCRE
522   library is used, or if no-regex searching (ctrl-R) is used.
524 * Better compatibility with POSIX more specification.
526 * Make -f work for directories.
528 * Make "t" cmd traverse tags in the correct order.
530 * Allow a few binary characters in the input file before warning
531   that the file is binary.
533 * Don't warn that file is binary if it merely contains ANSI color sequences
534   and -R is in effect.
536 * Update Unicode character tables.
538 * Support DESTDIR in Makefile.
540 * Fix bug when filename contains certain shell metacharacters such as "$".
542 * Fix bug when resizing the window while waiting for input from a pipe.
544 * Fix configure bugs.
546 ======================================================================
548         Major changes between "less" versions 382 and 394
550 * Add history file to save search and shell command history between
551   invocations of less.
553 * Improve behavior of history list for search and shell commands.
555 * Add -K (or --quit-on-intr) option to make less exit immediately on ctrl-C.
557 * Improve handling of UTF-8 files and commands, including better
558   line wrapping and handling double-width chars.
560 * Added LESSUTFBINFMT environment variable to control display of
561   non-printable characters in a UTF-8 file.
563 * Add --with-secure option to configure, to make it easier to
564   build a secure version of less.
566 * Show search matches in the status column even if search highlights
567   are disabled via the -G option or the ESC-u command.
569 * Improve performance when the file contains very long lines.
571 * Add "windows" charset.
573 * Add man page for lessecho.
575 * Add support for erase2 character, treated same as erase.
577 * Use ASCII lowercase/uppercase logic when operating on the command line.
579 * Update makefile for Borland C++ 5.5.1.
581 * Fix bug in calculating number of pages for %D prompt.
583 * Fix bug in handling tag file error.
585 * Fix obscure bug if input file is deleted while viewing help.
587 * Fix bug handling filenames which include square brackets.
589 * Fix possible buffer overflow in "global" tag search.
591 * Fix possible buffer overflow in usage of LESSOPEN and LESSCLOSE.
593 * Fix buffer overflow in reverse search.
595 ======================================================================
597         Major changes between "less" versions 381 and 382
599 * Removed some old copyrighted code.
600   This probably breaks OS/9 support.
602 ======================================================================
604         Major changes between "less" versions 378 and 381
606 * New -L option to disable LESSOPEN processing.
608 * Further support for large (64 bit) file addressing.
609   Large file support is now set up by the configure script.
611 * Use autoconf 2.54.
612   Replace configure.in, acconfig.h, defines.h.top with configure.ac.
614 * Overstriking underscore with underscore is now bold or underlined 
615   depending on context.
617 * Use only 7 spaces for line numbers in -N mode, if possible.
619 * Fix some bugs in handling overstriking in UTF-8 files.
621 * Fix some nroff issues in the man page.
623 ======================================================================
625         Major changes between "less" versions 376 and 378
627 * Bug fixes:
628   Default buffer space is now 64K as documented.
629   Search highlighting works properly when used with -R.
630   Windows version works properly when input file contains carriage returns.
631   Clean up some compiler warnings.
633 ======================================================================
635         Major changes between "less" versions 358 and 376
637 * -x option can now specify multiple variable-width tab stops.
639 * -X option no longer disables keypad initialization.
640   New option --no-keypad disables keypad initialization.
642 * New commands t and T step through multiple tag matches.
643   Added support for "global(1)" tags
644   (see http://www.gnu.org/software/global/global.html).
646 * New prompt style set by option -Pw defines the message printed 
647   while waiting for data in the F command.
649 * System-wide lesskey file now defaults to sysless in etc directory 
650   instead of .sysless in bin directory.
651   Use "configure --sysconfdir=..." to change it.
652   (For backwards compatibility, .sysless in bin is still recognized.)
654 * Pressing RightArrow or LeftArrow while entering a number now shifts
655   the display N columns rather than editing the number itself.
657 * Status column (enabled with -J) now shows search results.
659 * Windows version sets window title.
661 * Default LESSCHARSET for MS-DOS versions is now "dos".
663 * Searching works better with ANSI (SGR) escape sequences.
664   ANSI color escape sequences are now supported in the MS-DOS (DJGPP) version.
666 * Improved performance in reading very large pipes.
668 * Eliminated some dependencies on file offets being 32 bits.
670 * Fixed problems when viewing files with very long lines.
672 * Fixed overstriking in UTF-8 mode, and overstriking tabs.
674 * Improved horizontal shifting of text using -R option with ANSI color.
676 * Improved handling of filenames containing shell metacharacters.
678 * Some fixes for EBCDIC systems.
680 * Some fixes for OS/2 systems.
682 ======================================================================
684         Major changes between "less" versions 354 and 358
686 * Add -J (--status-column) option to display a status column.
688 * Add -# (--shift) option to set default horizontal shift distance.
689   Default horizontal shift distance is now one-half screen width.
691 * Horizontal shifting does not shift line numbers if -N is in effect.
693 * Horizontal shifting acts as though -S were set, to avoid confusion.
695 ======================================================================
698         Major changes between "less" versions 352 and 354
700 * Allow space after numeric-valued command line options.
702 * Fix problem with configuring terminal libraries on some systems.
704 * Add support for PCRE regular expression library.
706 * Add --with-regex option to configure to allow manually selecting
707   a regular expression library.
709 * Fix bug compiling with SECURE = 1.
711 ======================================================================
714         Major changes between "less" versions 346 and 352
716 * Enable UTF-8 if "UTF-8" appears in locale-related environment variables.
718 * Add --with-editor option to configure script.
720 * The -M prompt and = message now show the top and bottom line number.
722 * Fix bug in running the editor on a file whose name contains quotes, etc.
724 * Fix bug in horizontal scrolling of long lines.
726 * Fix bug in doing :d on a file which contains marks.
728 * Fix bug causing cleared lines to sometimes be filled with standout, 
729   bold, underline, etc. on certain terminals.
731 * Fixes for MS-DOS (DJGPP) version.
733 ======================================================================
736         Major changes between "less" versions 340 and 346
738 * The UTF-8 character set is now supported.
740 * The default character set is now latin1 rather than ascii.
742 * New option -R (--RAW-CONTROL-CHARS) is like -r but handles 
743   long (wrapped) lines correctly, as long as the input contains only 
744   normal text and ANSI color escape sequences.
746 * New option -F (--quit-if-one-screen) quits if the text fits on
747   the first screen.
749 * The -w option now highlights the target line of a g or p command.
751 * A system-wide lesskey file is supported (LESSKEY_SYSTEM).
753 * New escape for prompt strings: %c is replaced by column number.
755 * New escape for prompt strings: %P is replaced by percentage into
756   file, based on line number rather than byte offset.
758 * HOME and END keys now jump to beginning of file or end of file.
760 ======================================================================
763         Major changes between "less" versions 337 and 340
765 * Command line options for less may now be given in either the old 
766   single-letter form, or a new long name form (--option-name).
767   See the less man page or "less --help" for the list of long option names.
769 * Command line options for lesskey may now be given in a new long name
770   form.  See the lesskey man page for the list of long option names.
772 * New command -- toggles an option using the long option name.
774 * New command __ queries an option using the long option name.
776 * The old -- command is renamed as -!.
778 * If a ^P is entered between the dash and the option letter of the -
779   command, the message describing the new setting is suppressed.
781 * Lesskey files may now contain \k escape sequences to represent the
782   "special" keys (arrows, PAGE-UP/PAGE-DOWN, HOME, END, INSERT, DELETE).
784 * New command :d removes the current file from the list of files.
786 * New option -~ (like -w before version 335)
787   suppresses tildes after end-of-file.
789 * Less is now released under the GNU General Public License.
791 ======================================================================
794         Major changes between "less" versions 335 and 337
796 * Fixed bugs in "make install".
798 ======================================================================
801         Major changes between "less" versions 332 and 335
803 * The old -w flag (suppress tildes after end-of-file) has been removed.
805 * New -w flag highlights the first new line after a forward-screen.
807 * New -W flag highlights the first new line after any forward movement.
809 * Window resize works even if LINES and/or COLUMNS environment 
810   variables are incorrect.
812 * New percent escapes for prompt strings:
813   %d is replaced by the page number, and
814   %D is replaced by the number of pages in the file.
816 * Added charsets "iso8859" and "ebcdic".
818 * In Windows version, uses HOMEDRIVE and HOMEPATH if HOME is not defined.
820 * Fixed some bugs causing incorrect display on DOS/Windows.
822 ======================================================================
825         Major changes between "less" versions 330 and 332
827 * Filenames from the command line are entered into the command history,
828   so UPARROW/DOWNARROW can be used to retrieve them from the :e command.
830 * Now works correctly on Windows when using a scrolling terminal
831   window (buffer larger than display window).
833 * On Windows, now restores the console screen on exit.  
834   Use -X to get the old behavior.
836 * Fixed bug on Windows when CAPS-LOCK or NUM-LOCK is pressed.
838 * Fixed bug on Windows when piping output of an interactive program.
840 * Fixed bug in tags file processing when tags file has DOS-style
841   line terminators (CR/LF).
843 * Fixed compilation problem on OS/2.
845 ======================================================================
848         Major changes between "less" versions 321 and 330
850 * Now supports filenames containing spaces (in double quotes).
851   New option -" can be used to change the quoting characters.
853 * In filename completion, a slash is appended to a directory name.
854   If the environment variable LESSSEPARATOR is set, the value of
855   that variable, rather than a slash, is appended.
857 * LeftArrow and RightArrow are same as ESC-[ and ESC-].
859 * Added commands ESC-( and ESC-), same as ESC-[ and ESC-].
861 * A "quit" command defined in a lesskey file may now have an "extra" 
862   string, which is used to return an exit code from less when it quits.
864 * New environment variables LESSMETACHARS and LESSMETAESCAPE provide
865   more control over how less interfaces to the shell.
867 * Ported to Microsoft Visual C compiler for Windows.
869 * Ported to DJGPP compiler for MS-DOS.
871 * Bug fixes.
873 ======================================================================
876         Major changes between "less" versions 291 and 321
878 * Command line at bottom of screen now scrolls, so it can be longer 
879   than the screen width.
881 * New commands ESC-] and ESC-[ scroll the display horizontally.
883 * New command ESC-SPACE scrolls forward a full screen, even if it
884   hits end-of-file.
886 * Alternate modifiers for search commands: ^N is same as !,
887   ^F is same as @, and ^E is same as *.
889 * New modifier for search commands: ^K means highlight the matches
890   currently on-screen, but don't move to the first match.
892 * New modifier for search commands: ^R means don't use regular
893   expressions in the search.
895 * Environment variable LESSKEY gives name of default lesskey file.
897 * Environment variable LESSSECURE will force less to run in
898   "secure" mode.
900 * Command line argument "--" signals that the rest of the arguments
901   are files (not option flags).
903 * Help file (less.hlp) is no longer installed.  Help text is now 
904   embedded in the less executable itself.
906 * Added -Ph to change the prompt for the help text.
907   Added -Ps to change the default short prompt (same as plain -P).
909 * Ported to the Borland C compiler for MS-DOS.
911 * Ported to Windows 95 & Windows NT.
913 * Ported to OS-9.
915 * Ported to GNU Hurd.
917 ======================================================================
920         Major changes between "less" versions 290 and 291
922 * Less environment variables can be specified in lesskey files.
924 * Fixed MS-DOS build.
926 ======================================================================
929         Major changes between "less" versions 278 and 290
931 * Accepts GNU-style options "--help" and "--version".
933 * OS/2 version looks for less.ini in $HOME before $INIT and $PATH.
935 * Bug fixes
937 ======================================================================
940         Major changes between "less" versions 252 and 278
942 * A LESSOPEN preprocessor may now pipe the converted file data to less,
943   rather than writing it to a temporary file.
945 * Search pattern highlighting has been fixed.  It now highlights 
946   reliably, even if a string is split across two screen lines,
947   contains TABs, etc.
949 * The -F flag (which suppress search highlighting) has been changed 
950   to -G.  A new flag, -g, changes search highlighting to highlight 
951   only the string found by the last search command, instead of all 
952   strings which match the last search command.
954 * New flag -I acts like -i, but ignores case even if the search 
955   pattern contains uppercase letters.
957 * Less now checks for the environment variable VISUAL before EDITOR.
959 * Ported to OS/2.
961 ======================================================================
964         Major changes between "less" versions 237 and 252
966 * Changes in line-editing keys:
967   The literal key is now ^V or ^A rather than \ (backslash).
968   Filename completion commands (TAB and ^L) are disabled 
969   when typing a search pattern.
971 * Line-editing command keys can be redefined using lesskey.
973 * Lesskey with no input file defaults to $HOME/.lesskey
974   rather than standard input.
976 * New option -V displays version number of less.
978 * New option -V displays version number of lesskey.
980 * Help file less.hlp is now installed by default in /usr/local/share 
981   rather than /usr/local/lib.
984 ======================================================================
987         Major changes between "less" versions 170 and 237
989 * By popular demand, text which matches the current search pattern
990   is highlighted.  New -F flag disables this feature.
992 * Henry Spencer's regexp.c is now included, for systems which do not
993   have a regular expression library.
994   regexp.c is Copyright (c) 1986 by University of Toronto.
996 * New line-editing keys, including command history (arrow keys) and 
997   filename completion (TAB).
999 * Input preprocessor allows modification of input files (e.g. uncompress)
1000   via LESSOPEN/LESSCLOSE environment variables.
1002 * New -X flag disables sending termcap "ti" and "te" (initialize and
1003   deinitialize) strings to the terminal. 
1005 * Changing -i from within less now correctly affects a subsequent
1006   repeated search.  
1008 * Searching for underlined or overstruck text now works when the -u
1009   flag is in effect, rather than the -i flag.
1011 * Use setlocale (LANG and LC_CTYPE environment variables) to determine
1012   the character set if LESSCHARSET/LESSCHARDEF are not set.
1014 * The default format for displaying binary characters is now standout
1015   (reverse video) rather than blinking.  This can still be changed by
1016   setting the LESSBINFMT environment variable.
1018 * Use autoconf installation technology.
1020 * Ported to MS-DOS.
1022         ********************************
1023           Things that may surprise you
1024         ********************************
1026 * When you enter text at the bottom of the screen (search string, 
1027   filename, etc.), some keys act different than previously.  
1028   Specifically, \ (backslash), ESC, TAB, BACKTAB, and control-L 
1029   now have line editing functions.
1031 * Some previous unofficial versions of less were able to display
1032   compressed files.  The new LESSOPEN/LESSCLOSE feature now provides
1033   this functionality in a different way.
1035 * Some previous unofficial versions of less provided a -Z flag to 
1036   set the number of lines of text to retain between full screen scrolls.
1037   The -z-n flag (that is, -z with a negative number) provides this 
1038   functionality.
1041 ======================================================================
1044         Major changes between "less" versions 123 and 170
1046 * New option -j allows target lines to be positioned anywhere on screen.
1048 * New option -S truncates displayed line at the screen width,
1049   rather than wrapping onto the next line.
1051 * New option -y limits amount of forward scroll.
1053 * New option -T specifies a "tags" file.
1055 * Non-printable, non-control characters are displayed in octal.
1056   Such characters, as well as control characters, are displayed 
1057   in blinking mode.
1059 * New command -+ sets an option to its default.
1060 * New command -- sets an option to the opposite of its default.
1062 * Lesskey file may have a string appended to a key's action,
1063   which acts as though typed in after the command.
1065 * New commands ESC-^F and ESC-^B match arbitrary types of brackets.
1067 * New command F monitors a growing file (like "tail -f").
1069 * New command | pipes a section of the input file into a shell command.
1071 * New command :x directly jumps to a file in the command line list.
1073 * Search commands have been enhanced and reorganized:
1074         n       Repeat search, same direction.
1075         N       Repeat search, opposite direction.
1076         ESC-/   Search forward thru file boundaries
1077         ESC-?   Search backward thru file boundaries
1078         ESC-n   Repeat search thru file boundaries, same direction.
1079         ESC-N   Repeat search thru file boundaries, opposite direction.
1080   Special character * causes search to search thru file boundaries.
1081   Special character @ causes search to begin at start/end of file list.
1083 * Examining a new file adds it to the command line list.
1084   A list of files, or an expression which matches more than one file,
1085   may be examined; all of them are added to the command line list.
1087 * Environment variables LESSCHARSET and LESSCHARDEF can define
1088   a non-ASCII character set.
1090 * Partial support for MSDOS, including options -R for repainting screen
1091   on quit, -v/-V to select video mode, and -W to change window size.
1094 ======================================================================
1097         Major changes between "less" versions 97 and 123
1099 * New option (-N) causes line numbers to be displayed in the
1100   text of the file (like vi "set nu").
1102 * New option (-?) prints help message immediately.
1104 * New option (-r) displays "raw" control characters, without
1105   mapping them to ^X notation.
1107 * New option (-f) forces less to open non-regular files
1108   (directories, etc).
1110 * New option (-k) can be used to specify lesskey files by name.
1112 * New option (-y) can be used to set a forward scroll limit
1113   (like -h sets a backward scroll limit).
1115 * File marks (set by the m command) are now preserved when a new
1116   file is edited.  The ' command can thus be used to switch files.
1118 * New command ESC-/ searches all files (on the command line) 
1119   for a pattern.
1121 * New command ESC-n repeats previous search, spanning files.
1123 * The N command has been changed to repeat the previous search
1124   in the reverse direction.  The old N command is still available 
1125   via :n.
1127 * New command ESC-N repeats previous search in the reverse
1128   direction and spanning files.
1130 * 8 bit characters are now supported.  A new option (-g) can be 
1131   used to strip off the eighth bit (the previous behavior).
1133 * Options which take a following string (like -t) may now
1134   optionally have a space between the option letter and the string.
1136 * Six new commands { } ( ) [ and ] can be used to match
1137   brackets of specific types, similar to vi % command.
1139 * New commands z and w move forward/backward one window and
1140   simultaneously set the window size.
1142 * Prompt string expansion now has %L for line number of the last
1143   line in the file, and %E for the name of the editor.
1144   Also, % escapes which refer to a line (b=bottom, t=top, etc.)
1145   can use j for the jump target line.
1147 * New environment variable LESSEDIT can be used to tailor the
1148   command string passed to the editor by the v command.
1150 * Examining a file which was previously examined will return
1151   to the same position in the file.
1153 * A "%" is expanded to the current filename and a "#" to the 
1154   previous filename, in both shell commands and the E command.
1155   (Previously % worked only in shell commands and # worked 
1156   only in the E command.)
1158 * New command ":ta" is equivalent to "-t".
1160 * New command "s" is equivalent to "-l".
1162 * The - command may be followed by "+X" to revert to the default
1163   for option X, or "-X" to get the opposite of the default.
1165 * Lesskey files may now include characters after the action as
1166   extra input to be parsed after the action; for example:
1167   "toggle-option X" to toggle a specific option X.