Less version 527
Version 527 was released on 2 Nov 2017.
These are the differences between version 487 and version 527:
- Don't output terminal init sequence if using -F and file fits on one screen.
- When using -S, mark truncated lines with a special character.
The character can be changed or disabled via the new --rscroll option.
- New command M marks the last line displayed on the screen.
- New command ESC-m removes a line mark.
- Status column (enabled via -J) now shows mark letters.
- Status column shows search matches even if highlighting is disabled via -G.
- Do same ANSI escape code filtering for tag matching that we do for
searching, to help when viewing syntax-highlighted code.
- Catch SIGTERM and clean up before exiting.
- Fix bug initializing default charset on Windows.
- Handle keypad ENTER key correctly if it sends something other than newline.
- Fix buffering bug when using stdin with a LESSOPEN pipe.
- On Windows, allow 'u' in -D option to enable underlining.
- On Windows, use underline in sgr mode.
- On Windows, convert UTF-8 to multibyte if console is not UTF-8.
- Update Unicode tables to 2017-03-08.
- Pass-thru Unicode formating chars (Cf type) instead of treating them
as binary chars.
- Fix erroneous binary file warning when UTF-8 file contains ANSI SGR sequences.
- Fix bugs when using LESSOPEN and switching between stdin and other files.
- Fix some bugs handling filenames containing shell metacharacters.
- Fix some memory leaks.
- Allow some debugging environment variables to be set in lesskey file.
- Code improvements:
- Use ANSI prototypes in funcs.h declarations.
- Fix some const mismatches.
- Remove archaic "register" in variable declarations.