1a5f0fb15SPaul Saab 2a5f0fb15SPaul Saab NEWS about less 3a5f0fb15SPaul Saab 4a5f0fb15SPaul Saab====================================================================== 5a5f0fb15SPaul Saab 6a5f0fb15SPaul Saab For the latest news about less, see the "less" Web page: 7c9346414SPaul Saab http://www.greenwoodsoftware.com/less 8a5f0fb15SPaul Saab You can also download the latest version of less from there. 9a5f0fb15SPaul Saab 1096e55cc7SXin LI To report bugs, suggestions or comments, send email to bug-less@gnu.org. 1196e55cc7SXin LI 1296e55cc7SXin LI====================================================================== 1396e55cc7SXin LI 14*4cc5fc9aSXin LI Major changes between "less" versions 451 and 453 15*4cc5fc9aSXin LI 16*4cc5fc9aSXin LI* Allow backslash escaping of metacharacters in LESS environment variable. 17*4cc5fc9aSXin LI 18*4cc5fc9aSXin LI* Don't quit if syntax errors are found in command line options. 19*4cc5fc9aSXin LI 20*4cc5fc9aSXin LI* Increase sizes of some internal buffers. 21*4cc5fc9aSXin LI 22*4cc5fc9aSXin LI* Fix configure bug with --with-regex=none. 23*4cc5fc9aSXin LI 24*4cc5fc9aSXin LI* Fix crash with "stty rows 0". 25*4cc5fc9aSXin LI 26*4cc5fc9aSXin LI* Fix Win32 attribute display bug. 27*4cc5fc9aSXin LI 28*4cc5fc9aSXin LI====================================================================== 29*4cc5fc9aSXin LI 30e2449719SXin LI Major changes between "less" versions 444 and 451 3196e55cc7SXin LI 3296e55cc7SXin LI* Add ESC-F command to keep reading data until a pattern is found. 3396e55cc7SXin LI 3496e55cc7SXin LI* Use exit code of LESSOPEN script if LESSOPEN starts with "||". 3596e55cc7SXin LI 3696e55cc7SXin LI* When up/down arrow is used on the command line immediately after 3796e55cc7SXin LI typing text, the next command starting with that text is found. 3896e55cc7SXin LI 3996e55cc7SXin LI* Add support for GNU regex. 4096e55cc7SXin LI 4196e55cc7SXin LI* Add configure option --with-regex=none and fix compile errors 4296e55cc7SXin LI when compiling with no regex library. 4396e55cc7SXin LI 4496e55cc7SXin LI* Fix bugs handling SGR sequences in Win32. 4596e55cc7SXin LI 4696e55cc7SXin LI* Fix possible crashes caused by malformed LESSOPEN or 4796e55cc7SXin LI LESSCLOSE variables. 4896e55cc7SXin LI 4996e55cc7SXin LI* Fix bug highlighting text which is discontiguous in the file 5096e55cc7SXin LI due to backspace processing. 5196e55cc7SXin LI 5296e55cc7SXin LI* Fix bug in displaying status column when scrolling backwards 5396e55cc7SXin LI with -J and -S in effect. 54a5f0fb15SPaul Saab 55a5f0fb15SPaul Saab====================================================================== 56a5f0fb15SPaul Saab 57b24bfc5aSXin LI Major changes between "less" versions 443 and 444 58b24bfc5aSXin LI 59b24bfc5aSXin LI* Fix bug in unget handling that can cause strange effects on the 60b24bfc5aSXin LI command line. 61b24bfc5aSXin LI 62b24bfc5aSXin LI* Remove vestiges of obsolete -l option that can cause a crash. 63b24bfc5aSXin LI 64b24bfc5aSXin LI====================================================================== 65b24bfc5aSXin LI 6633096f16SXin LI Major changes between "less" versions 436 and 443 6733096f16SXin LI 6833096f16SXin LI* Change search behavior such that when a search is given an explicit 6933096f16SXin LI pattern, the entire displayed screen is included in the search and 7033096f16SXin LI not just the portion after the target line. 7133096f16SXin LI 7233096f16SXin LI* Add -A option to change search behavior to the old way: only 7333096f16SXin LI the portion of the screen after the target line is searched. 7433096f16SXin LI 7533096f16SXin LI* Add %F formatting to prompt strings, replaced by the last component 7633096f16SXin LI of the input file. 7733096f16SXin LI 7833096f16SXin LI* Control-G while editing a command exits the command. 7933096f16SXin LI 8033096f16SXin LI* Less now exits with status 2 if control-C is pressed and -K is in effect. 8133096f16SXin LI 8233096f16SXin LI* Fix "ungetc overflow" when passing long commands via the -p option. 8333096f16SXin LI 8433096f16SXin LI* Fix bug in using line filtering via the & command 8533096f16SXin LI in combination with -i and -I. 8633096f16SXin LI 8733096f16SXin LI* Fix bug in handling negative arguments to the -j option. 8833096f16SXin LI 8933096f16SXin LI* Fix bug in handling %t in prompt strings. 9033096f16SXin LI 9133096f16SXin LI* Improve handling of long option names. 9233096f16SXin LI 9333096f16SXin LI* Improve percentage calculation for very large files. 9433096f16SXin LI 9533096f16SXin LI====================================================================== 9633096f16SXin LI 97f0be0a1fSXin LI Major changes between "less" versions 429 and 436 98f0be0a1fSXin LI 99f0be0a1fSXin LI* Don't pass "-" to non-pipe LESSOPEN unless it starts with "-". 100f0be0a1fSXin LI 101f0be0a1fSXin LI* Allow a fraction as the argument to the -# (--shift) option. 102f0be0a1fSXin LI 103f0be0a1fSXin LI* Fix highlight bug when underlined/overstruck text matches at end of line. 104f0be0a1fSXin LI 105f0be0a1fSXin LI* Fix non-regex searches with ctrl-R. 106f0be0a1fSXin LI 107f0be0a1fSXin LI====================================================================== 108f0be0a1fSXin LI 1097374caaaSXin LI Major changes between "less" versions 424 and 429 1107374caaaSXin LI 1117374caaaSXin LI* LESSOPEN pipe will now be used on standard input, if the LESSOPEN 1127374caaaSXin LI environment variable begins with "|-". 1137374caaaSXin LI 1147374caaaSXin LI* The -D option with one number now means use the normal background color. 1157374caaaSXin LI 1167374caaaSXin LI* Don't change permissions on history file if it is not a regular file. 1177374caaaSXin LI 1187374caaaSXin LI* Fix non-ANSI-compliant code that caused problems with some compilers. 1197374caaaSXin LI 1207374caaaSXin LI* Fix binary file detection in UTF-8 mode. 1217374caaaSXin LI 1227374caaaSXin LI* Fix display problems with long lines on "ignaw" terminals. 1237374caaaSXin LI 1247374caaaSXin LI* Fix problem interrupting the line number calculation for initial prompt. 1257374caaaSXin LI 1267374caaaSXin LI* Fix SGR emulation when dealing with multiple attributes (eg. bold+underline). 1277374caaaSXin LI 1287374caaaSXin LI* Fix highlight bug when searching for underlined/overstruck text. 1297374caaaSXin LI 1307374caaaSXin LI====================================================================== 1317374caaaSXin LI 1327374caaaSXin LI Major changes between "less" versions 418 and 424 1337374caaaSXin LI 1347374caaaSXin LI* New "&" command allows filtering of lines based on a pattern. 1357374caaaSXin LI 1367374caaaSXin LI* Status column now displays a search match, even if the matched 1377374caaaSXin LI string is scrolled off screen because -S is in effect. 1387374caaaSXin LI 1397374caaaSXin LI* Improve behavior of -F option. 1407374caaaSXin LI 1417374caaaSXin LI* Allow CSI character (0x9B) to work in UTF-8 mode. 1427374caaaSXin LI 1437374caaaSXin LI* Output carriage return at startup in case terminal doesn't default 1447374caaaSXin LI to column 1. 1457374caaaSXin LI 1467374caaaSXin LI* Fix bug in '' (quote, quote) command after G command. 1477374caaaSXin LI 1487374caaaSXin LI====================================================================== 1497374caaaSXin LI 1507374caaaSXin LI Major changes between "less" versions 416 and 418 1517374caaaSXin LI 1527374caaaSXin LI* Color escape sequences are now supported in WIN32 build. 1537374caaaSXin LI 1547374caaaSXin LI* Makefile now uses EXEEXT feature of autoconf. 1557374caaaSXin LI 1567374caaaSXin LI* Fix search bug when using -R and text contains ANSI color escape sequences. 1577374caaaSXin LI 1587374caaaSXin LI* Fix crash when using -r with UTF-8 text containing 0x9B bytes. 1597374caaaSXin LI 1607374caaaSXin LI* Fix display bug when using ' command to move less than one page forward. 1617374caaaSXin LI 1627374caaaSXin LI* Update GPL to version 3. 1637374caaaSXin LI 1647374caaaSXin LI====================================================================== 165a5f0fb15SPaul Saab 16633a9f6abSXin LI Major changes between "less" versions 409 and 416 167464501a8SXin LI 168464501a8SXin LI* New --follow-name option makes F command follow the name of a file 169464501a8SXin LI rather than the file descriptor if an open file is renamed. 170464501a8SXin LI 171464501a8SXin LI* Make searching with -i/-I work correctly with non-ASCII text. 172464501a8SXin LI 173464501a8SXin LI* Fix DJGPP build. 174464501a8SXin LI 175464501a8SXin LI====================================================================== 176464501a8SXin LI 177f78327b5SXin LI Major changes between "less" versions 406 and 409 1781c6a5c10SXin LI 1791c6a5c10SXin LI* Support CSI escape sequences, like SGR escape sequences. 1801c6a5c10SXin LI 1811c6a5c10SXin LI* Fix bug which caused screen to fail to repaint when window is resized. 1821c6a5c10SXin LI 1831c6a5c10SXin LI* Fix bug in using -i and -I flags with non-ASCII text. 1841c6a5c10SXin LI 1851c6a5c10SXin LI* Fix configure bug on systems which don't support langinfo.h. 1861c6a5c10SXin LI 187f78327b5SXin LI* Fix crash when searching text containing certain invalid UTF-8 sequences. 188f78327b5SXin LI 1891c6a5c10SXin LI====================================================================== 1901c6a5c10SXin LI 191efd72c2eSXin LI Major changes between "less" versions 394 and 406 1927f074f9cSXin LI 1937f074f9cSXin LI* Allow decimal point in number for % (percent) command. 1947f074f9cSXin LI 1957f074f9cSXin LI* Allow decimal point in number for -j option (fraction of screen height). 1967f074f9cSXin LI 1977f074f9cSXin LI* Make n command fetch previous pattern from history file on first search. 1987f074f9cSXin LI 1997f074f9cSXin LI* Don't rewrite history file if it has not changed. 2007f074f9cSXin LI 2017f074f9cSXin LI* Don't move to bottom of screen on first page. 2027f074f9cSXin LI 2037f074f9cSXin LI* Don't output extraneous newlines, so copy & pasting lines from the 2047f074f9cSXin LI output works better. 2057f074f9cSXin LI 2067f074f9cSXin LI* The -c option has been made identical with the -C option. 2077f074f9cSXin LI 2087f074f9cSXin LI* Allow "/dev/null" as synomym for "-" in LESSHISTFILE to indicate 2097f074f9cSXin LI that no history file should be used. 2107f074f9cSXin LI 2117f074f9cSXin LI* Search can now find text which follows a null byte, if the PCRE 2127f074f9cSXin LI library is used, or if no-regex searching (ctrl-R) is used. 2137f074f9cSXin LI 2147f074f9cSXin LI* Better compatibility with POSIX more specification. 2157f074f9cSXin LI 2167f074f9cSXin LI* Make -f work for directories. 2177f074f9cSXin LI 2187f074f9cSXin LI* Make "t" cmd traverse tags in the correct order. 2197f074f9cSXin LI 2207f074f9cSXin LI* Allow a few binary characters in the input file before warning 2217f074f9cSXin LI that the file is binary. 2227f074f9cSXin LI 2237f074f9cSXin LI* Don't warn that file is binary if it merely contains ANSI color sequences 2247f074f9cSXin LI and -R is in effect. 2257f074f9cSXin LI 2267f074f9cSXin LI* Update Unicode character tables. 2277f074f9cSXin LI 2287f074f9cSXin LI* Support DESTDIR in Makefile. 2297f074f9cSXin LI 2307f074f9cSXin LI* Fix bug when filename contains certain shell metacharacters such as "$". 2317f074f9cSXin LI 2327f074f9cSXin LI* Fix bug when resizing the window while waiting for input from a pipe. 2337f074f9cSXin LI 2347f074f9cSXin LI* Fix configure bugs. 2357f074f9cSXin LI 2367f074f9cSXin LI====================================================================== 2377f074f9cSXin LI 2386dcb072bSXin LI Major changes between "less" versions 382 and 394 2396dcb072bSXin LI 2406dcb072bSXin LI* Add history file to save search and shell command history between 2416dcb072bSXin LI invocations of less. 2426dcb072bSXin LI 2436dcb072bSXin LI* Improve behavior of history list for search and shell commands. 2446dcb072bSXin LI 2456dcb072bSXin LI* Add -K (or --quit-on-intr) option to make less exit immediately on ctrl-C. 2466dcb072bSXin LI 2476dcb072bSXin LI* Improve handling of UTF-8 files and commands, including better 2486dcb072bSXin LI line wrapping and handling double-width chars. 2496dcb072bSXin LI 2506dcb072bSXin LI* Added LESSUTFBINFMT environment variable to control display of 2516dcb072bSXin LI non-printable characters in a UTF-8 file. 2526dcb072bSXin LI 2536dcb072bSXin LI* Add --with-secure option to configure, to make it easier to 2546dcb072bSXin LI build a secure version of less. 2556dcb072bSXin LI 2566dcb072bSXin LI* Show search matches in the status column even if search highlights 2576dcb072bSXin LI are disabled via the -G option or the ESC-u command. 2586dcb072bSXin LI 2596dcb072bSXin LI* Improve performance when the file contains very long lines. 2606dcb072bSXin LI 2616dcb072bSXin LI* Add "windows" charset. 2626dcb072bSXin LI 2636dcb072bSXin LI* Add man page for lessecho. 2646dcb072bSXin LI 2656dcb072bSXin LI* Add support for erase2 character, treated same as erase. 2666dcb072bSXin LI 2676dcb072bSXin LI* Use ASCII lowercase/uppercase logic when operating on the command line. 2686dcb072bSXin LI 2696dcb072bSXin LI* Update makefile for Borland C++ 5.5.1. 2706dcb072bSXin LI 2716dcb072bSXin LI* Fix bug in calculating number of pages for %D prompt. 2726dcb072bSXin LI 2736dcb072bSXin LI* Fix bug in handling tag file error. 2746dcb072bSXin LI 2756dcb072bSXin LI* Fix obscure bug if input file is deleted while viewing help. 2766dcb072bSXin LI 2776dcb072bSXin LI* Fix bug handling filenames which include square brackets. 2786dcb072bSXin LI 2796dcb072bSXin LI* Fix possible buffer overflow in "global" tag search. 2806dcb072bSXin LI 2816dcb072bSXin LI* Fix possible buffer overflow in usage of LESSOPEN and LESSCLOSE. 2826dcb072bSXin LI 2836dcb072bSXin LI* Fix buffer overflow in reverse search. 2846dcb072bSXin LI 2856dcb072bSXin LI====================================================================== 2866dcb072bSXin LI 2876dcb072bSXin LI Major changes between "less" versions 381 and 382 2886dcb072bSXin LI 2896dcb072bSXin LI* Removed some old copyrighted code. 2906dcb072bSXin LI This probably breaks OS/9 support. 2916dcb072bSXin LI 2926dcb072bSXin LI====================================================================== 2936dcb072bSXin LI 294000ba3e8STim J. Robbins Major changes between "less" versions 378 and 381 295000ba3e8STim J. Robbins 296000ba3e8STim J. Robbins* New -L option to disable LESSOPEN processing. 297000ba3e8STim J. Robbins 298000ba3e8STim J. Robbins* Further support for large (64 bit) file addressing. 299000ba3e8STim J. Robbins Large file support is now set up by the configure script. 300000ba3e8STim J. Robbins 301000ba3e8STim J. Robbins* Use autoconf 2.54. 302000ba3e8STim J. Robbins Replace configure.in, acconfig.h, defines.h.top with configure.ac. 303000ba3e8STim J. Robbins 304000ba3e8STim J. Robbins* Overstriking underscore with underscore is now bold or underlined 305000ba3e8STim J. Robbins depending on context. 306000ba3e8STim J. Robbins 307000ba3e8STim J. Robbins* Use only 7 spaces for line numbers in -N mode, if possible. 308000ba3e8STim J. Robbins 309000ba3e8STim J. Robbins* Fix some bugs in handling overstriking in UTF-8 files. 310000ba3e8STim J. Robbins 311000ba3e8STim J. Robbins* Fix some nroff issues in the man page. 312000ba3e8STim J. Robbins 313000ba3e8STim J. Robbins====================================================================== 314000ba3e8STim J. Robbins 315000ba3e8STim J. Robbins Major changes between "less" versions 376 and 378 316000ba3e8STim J. Robbins 317000ba3e8STim J. Robbins* Bug fixes: 318000ba3e8STim J. Robbins Default buffer space is now 64K as documented. 319000ba3e8STim J. Robbins Search highlighting works properly when used with -R. 320000ba3e8STim J. Robbins Windows version works properly when input file contains carriage returns. 321000ba3e8STim J. Robbins Clean up some compiler warnings. 322000ba3e8STim J. Robbins 323000ba3e8STim J. Robbins====================================================================== 324000ba3e8STim J. Robbins 325000ba3e8STim J. Robbins Major changes between "less" versions 358 and 376 326c9346414SPaul Saab 327c9346414SPaul Saab* -x option can now specify multiple variable-width tab stops. 328c9346414SPaul Saab 329c9346414SPaul Saab* -X option no longer disables keypad initialization. 330c9346414SPaul Saab New option --no-keypad disables keypad initialization. 331c9346414SPaul Saab 332c9346414SPaul Saab* New commands t and T step through multiple tag matches. 333c9346414SPaul Saab Added support for "global(1)" tags 334c9346414SPaul Saab (see http://www.gnu.org/software/global/global.html). 335c9346414SPaul Saab 336c9346414SPaul Saab* New prompt style set by option -Pw defines the message printed 337c9346414SPaul Saab while waiting for data in the F command. 338c9346414SPaul Saab 339c9346414SPaul Saab* System-wide lesskey file now defaults to sysless in etc directory 340c9346414SPaul Saab instead of .sysless in bin directory. 341c9346414SPaul Saab Use "configure --sysconfdir=..." to change it. 342c9346414SPaul Saab (For backwards compatibility, .sysless in bin is still recognized.) 343c9346414SPaul Saab 344c9346414SPaul Saab* Pressing RightArrow or LeftArrow while entering a number now shifts 345c9346414SPaul Saab the display N columns rather than editing the number itself. 346c9346414SPaul Saab 347c9346414SPaul Saab* Status column (enabled with -J) now shows search results. 348c9346414SPaul Saab 349c9346414SPaul Saab* Windows version sets window title. 350c9346414SPaul Saab 351c9346414SPaul Saab* Default LESSCHARSET for MS-DOS versions is now "dos". 352c9346414SPaul Saab 353000ba3e8STim J. Robbins* Searching works better with ANSI (SGR) escape sequences. 354000ba3e8STim J. Robbins ANSI color escape sequences are now supported in the MS-DOS (DJGPP) version. 355000ba3e8STim J. Robbins 356000ba3e8STim J. Robbins* Improved performance in reading very large pipes. 357c9346414SPaul Saab 358c9346414SPaul Saab* Eliminated some dependencies on file offets being 32 bits. 359c9346414SPaul Saab 360c9346414SPaul Saab* Fixed problems when viewing files with very long lines. 361c9346414SPaul Saab 362c9346414SPaul Saab* Fixed overstriking in UTF-8 mode, and overstriking tabs. 363c9346414SPaul Saab 364c9346414SPaul Saab* Improved horizontal shifting of text using -R option with ANSI color. 365c9346414SPaul Saab 366000ba3e8STim J. Robbins* Improved handling of filenames containing shell metacharacters. 367000ba3e8STim J. Robbins 368c9346414SPaul Saab* Some fixes for EBCDIC systems. 369c9346414SPaul Saab 370c9346414SPaul Saab* Some fixes for OS/2 systems. 371c9346414SPaul Saab 372c9346414SPaul Saab====================================================================== 373c9346414SPaul Saab 3748ed69c6fSPaul Saab Major changes between "less" versions 354 and 358 3758ed69c6fSPaul Saab 3768ed69c6fSPaul Saab* Add -J (--status-column) option to display a status column. 3778ed69c6fSPaul Saab 3788ed69c6fSPaul Saab* Add -# (--shift) option to set default horizontal shift distance. 3798ed69c6fSPaul Saab Default horizontal shift distance is now one-half screen width. 3808ed69c6fSPaul Saab 3818ed69c6fSPaul Saab* Horizontal shifting does not shift line numbers if -N is in effect. 3828ed69c6fSPaul Saab 3838ed69c6fSPaul Saab* Horizontal shifting acts as though -S were set, to avoid confusion. 3848ed69c6fSPaul Saab 3858ed69c6fSPaul Saab====================================================================== 3868ed69c6fSPaul Saab 3878ed69c6fSPaul Saab 388a5f0fb15SPaul Saab Major changes between "less" versions 352 and 354 389a5f0fb15SPaul Saab 390a5f0fb15SPaul Saab* Allow space after numeric-valued command line options. 391a5f0fb15SPaul Saab 392a5f0fb15SPaul Saab* Fix problem with configuring terminal libraries on some systems. 393a5f0fb15SPaul Saab 394a5f0fb15SPaul Saab* Add support for PCRE regular expression library. 395a5f0fb15SPaul Saab 396a5f0fb15SPaul Saab* Add --with-regex option to configure to allow manually selecting 397a5f0fb15SPaul Saab a regular expression library. 398a5f0fb15SPaul Saab 399a5f0fb15SPaul Saab* Fix bug compiling with SECURE = 1. 400a5f0fb15SPaul Saab 401a5f0fb15SPaul Saab====================================================================== 402a5f0fb15SPaul Saab 403a5f0fb15SPaul Saab 404a5f0fb15SPaul Saab Major changes between "less" versions 346 and 352 405a5f0fb15SPaul Saab 406a5f0fb15SPaul Saab* Enable UTF-8 if "UTF-8" appears in locale-related environment variables. 407a5f0fb15SPaul Saab 408a5f0fb15SPaul Saab* Add --with-editor option to configure script. 409a5f0fb15SPaul Saab 410a5f0fb15SPaul Saab* The -M prompt and = message now show the top and bottom line number. 411a5f0fb15SPaul Saab 412a5f0fb15SPaul Saab* Fix bug in running the editor on a file whose name contains quotes, etc. 413a5f0fb15SPaul Saab 414a5f0fb15SPaul Saab* Fix bug in horizontal scrolling of long lines. 415a5f0fb15SPaul Saab 416a5f0fb15SPaul Saab* Fix bug in doing :d on a file which contains marks. 417a5f0fb15SPaul Saab 418a5f0fb15SPaul Saab* Fix bug causing cleared lines to sometimes be filled with standout, 419a5f0fb15SPaul Saab bold, underline, etc. on certain terminals. 420a5f0fb15SPaul Saab 421a5f0fb15SPaul Saab* Fixes for MS-DOS (DJGPP) version. 422a5f0fb15SPaul Saab 423a5f0fb15SPaul Saab====================================================================== 424a5f0fb15SPaul Saab 425a5f0fb15SPaul Saab 426a5f0fb15SPaul Saab Major changes between "less" versions 340 and 346 427a5f0fb15SPaul Saab 428a5f0fb15SPaul Saab* The UTF-8 character set is now supported. 429a5f0fb15SPaul Saab 430a5f0fb15SPaul Saab* The default character set is now latin1 rather than ascii. 431a5f0fb15SPaul Saab 432a5f0fb15SPaul Saab* New option -R (--RAW-CONTROL-CHARS) is like -r but handles 433a5f0fb15SPaul Saab long (wrapped) lines correctly, as long as the input contains only 434a5f0fb15SPaul Saab normal text and ANSI color escape sequences. 435a5f0fb15SPaul Saab 436a5f0fb15SPaul Saab* New option -F (--quit-if-one-screen) quits if the text fits on 437a5f0fb15SPaul Saab the first screen. 438a5f0fb15SPaul Saab 439a5f0fb15SPaul Saab* The -w option now highlights the target line of a g or p command. 440a5f0fb15SPaul Saab 441a5f0fb15SPaul Saab* A system-wide lesskey file is supported (LESSKEY_SYSTEM). 442a5f0fb15SPaul Saab 443a5f0fb15SPaul Saab* New escape for prompt strings: %c is replaced by column number. 444a5f0fb15SPaul Saab 445a5f0fb15SPaul Saab* New escape for prompt strings: %P is replaced by percentage into 446a5f0fb15SPaul Saab file, based on line number rather than byte offset. 447a5f0fb15SPaul Saab 448a5f0fb15SPaul Saab* HOME and END keys now jump to beginning of file or end of file. 449a5f0fb15SPaul Saab 450a5f0fb15SPaul Saab====================================================================== 451a5f0fb15SPaul Saab 452a5f0fb15SPaul Saab 453a5f0fb15SPaul Saab Major changes between "less" versions 337 and 340 454a5f0fb15SPaul Saab 455a5f0fb15SPaul Saab* Command line options for less may now be given in either the old 456a5f0fb15SPaul Saab single-letter form, or a new long name form (--option-name). 457a5f0fb15SPaul Saab See the less man page or "less --help" for the list of long option names. 458a5f0fb15SPaul Saab 459a5f0fb15SPaul Saab* Command line options for lesskey may now be given in a new long name 460a5f0fb15SPaul Saab form. See the lesskey man page for the list of long option names. 461a5f0fb15SPaul Saab 462a5f0fb15SPaul Saab* New command -- toggles an option using the long option name. 463a5f0fb15SPaul Saab 464a5f0fb15SPaul Saab* New command __ queries an option using the long option name. 465a5f0fb15SPaul Saab 466a5f0fb15SPaul Saab* The old -- command is renamed as -!. 467a5f0fb15SPaul Saab 468a5f0fb15SPaul Saab* If a ^P is entered between the dash and the option letter of the - 469a5f0fb15SPaul Saab command, the message describing the new setting is suppressed. 470a5f0fb15SPaul Saab 471a5f0fb15SPaul Saab* Lesskey files may now contain \k escape sequences to represent the 472a5f0fb15SPaul Saab "special" keys (arrows, PAGE-UP/PAGE-DOWN, HOME, END, INSERT, DELETE). 473a5f0fb15SPaul Saab 474a5f0fb15SPaul Saab* New command :d removes the current file from the list of files. 475a5f0fb15SPaul Saab 476a5f0fb15SPaul Saab* New option -~ (like -w before version 335) 477a5f0fb15SPaul Saab suppresses tildes after end-of-file. 478a5f0fb15SPaul Saab 479a5f0fb15SPaul Saab* Less is now released under the GNU General Public License. 480a5f0fb15SPaul Saab 481a5f0fb15SPaul Saab====================================================================== 482a5f0fb15SPaul Saab 483a5f0fb15SPaul Saab 484a5f0fb15SPaul Saab Major changes between "less" versions 335 and 337 485a5f0fb15SPaul Saab 486a5f0fb15SPaul Saab* Fixed bugs in "make install". 487a5f0fb15SPaul Saab 488a5f0fb15SPaul Saab====================================================================== 489a5f0fb15SPaul Saab 490a5f0fb15SPaul Saab 491a5f0fb15SPaul Saab Major changes between "less" versions 332 and 335 492a5f0fb15SPaul Saab 493a5f0fb15SPaul Saab* The old -w flag (suppress tildes after end-of-file) has been removed. 494a5f0fb15SPaul Saab 495a5f0fb15SPaul Saab* New -w flag highlights the first new line after a forward-screen. 496a5f0fb15SPaul Saab 497a5f0fb15SPaul Saab* New -W flag highlights the first new line after any forward movement. 498a5f0fb15SPaul Saab 499a5f0fb15SPaul Saab* Window resize works even if LINES and/or COLUMNS environment 500a5f0fb15SPaul Saab variables are incorrect. 501a5f0fb15SPaul Saab 502a5f0fb15SPaul Saab* New percent escapes for prompt strings: 503a5f0fb15SPaul Saab %d is replaced by the page number, and 504a5f0fb15SPaul Saab %D is replaced by the number of pages in the file. 505a5f0fb15SPaul Saab 506a5f0fb15SPaul Saab* Added charsets "iso8859" and "ebcdic". 507a5f0fb15SPaul Saab 508a5f0fb15SPaul Saab* In Windows version, uses HOMEDRIVE and HOMEPATH if HOME is not defined. 509a5f0fb15SPaul Saab 510a5f0fb15SPaul Saab* Fixed some bugs causing incorrect display on DOS/Windows. 511a5f0fb15SPaul Saab 512a5f0fb15SPaul Saab====================================================================== 513a5f0fb15SPaul Saab 514a5f0fb15SPaul Saab 515a5f0fb15SPaul Saab Major changes between "less" versions 330 and 332 516a5f0fb15SPaul Saab 517a5f0fb15SPaul Saab* Filenames from the command line are entered into the command history, 518a5f0fb15SPaul Saab so UPARROW/DOWNARROW can be used to retrieve them from the :e command. 519a5f0fb15SPaul Saab 520a5f0fb15SPaul Saab* Now works correctly on Windows when using a scrolling terminal 521a5f0fb15SPaul Saab window (buffer larger than display window). 522a5f0fb15SPaul Saab 523a5f0fb15SPaul Saab* On Windows, now restores the console screen on exit. 524a5f0fb15SPaul Saab Use -X to get the old behavior. 525a5f0fb15SPaul Saab 526a5f0fb15SPaul Saab* Fixed bug on Windows when CAPS-LOCK or NUM-LOCK is pressed. 527a5f0fb15SPaul Saab 528a5f0fb15SPaul Saab* Fixed bug on Windows when piping output of an interactive program. 529a5f0fb15SPaul Saab 530a5f0fb15SPaul Saab* Fixed bug in tags file processing when tags file has DOS-style 531a5f0fb15SPaul Saab line terminators (CR/LF). 532a5f0fb15SPaul Saab 533a5f0fb15SPaul Saab* Fixed compilation problem on OS/2. 534a5f0fb15SPaul Saab 535a5f0fb15SPaul Saab====================================================================== 536a5f0fb15SPaul Saab 537a5f0fb15SPaul Saab 538a5f0fb15SPaul Saab Major changes between "less" versions 321 and 330 539a5f0fb15SPaul Saab 540a5f0fb15SPaul Saab* Now supports filenames containing spaces (in double quotes). 541a5f0fb15SPaul Saab New option -" can be used to change the quoting characters. 542a5f0fb15SPaul Saab 543a5f0fb15SPaul Saab* In filename completion, a slash is appended to a directory name. 544a5f0fb15SPaul Saab If the environment variable LESSSEPARATOR is set, the value of 545a5f0fb15SPaul Saab that variable, rather than a slash, is appended. 546a5f0fb15SPaul Saab 547a5f0fb15SPaul Saab* LeftArrow and RightArrow are same as ESC-[ and ESC-]. 548a5f0fb15SPaul Saab 549a5f0fb15SPaul Saab* Added commands ESC-( and ESC-), same as ESC-[ and ESC-]. 550a5f0fb15SPaul Saab 551a5f0fb15SPaul Saab* A "quit" command defined in a lesskey file may now have an "extra" 552a5f0fb15SPaul Saab string, which is used to return an exit code from less when it quits. 553a5f0fb15SPaul Saab 554a5f0fb15SPaul Saab* New environment variables LESSMETACHARS and LESSMETAESCAPE provide 555a5f0fb15SPaul Saab more control over how less interfaces to the shell. 556a5f0fb15SPaul Saab 557a5f0fb15SPaul Saab* Ported to Microsoft Visual C compiler for Windows. 558a5f0fb15SPaul Saab 559a5f0fb15SPaul Saab* Ported to DJGPP compiler for MS-DOS. 560a5f0fb15SPaul Saab 561a5f0fb15SPaul Saab* Bug fixes. 562a5f0fb15SPaul Saab 563a5f0fb15SPaul Saab====================================================================== 564a5f0fb15SPaul Saab 565a5f0fb15SPaul Saab 566a5f0fb15SPaul Saab Major changes between "less" versions 291 and 321 567a5f0fb15SPaul Saab 568a5f0fb15SPaul Saab* Command line at bottom of screen now scrolls, so it can be longer 569a5f0fb15SPaul Saab than the screen width. 570a5f0fb15SPaul Saab 571a5f0fb15SPaul Saab* New commands ESC-] and ESC-[ scroll the display horizontally. 572a5f0fb15SPaul Saab 573a5f0fb15SPaul Saab* New command ESC-SPACE scrolls forward a full screen, even if it 574a5f0fb15SPaul Saab hits end-of-file. 575a5f0fb15SPaul Saab 576a5f0fb15SPaul Saab* Alternate modifiers for search commands: ^N is same as !, 577a5f0fb15SPaul Saab ^F is same as @, and ^E is same as *. 578a5f0fb15SPaul Saab 579a5f0fb15SPaul Saab* New modifier for search commands: ^K means highlight the matches 580a5f0fb15SPaul Saab currently on-screen, but don't move to the first match. 581a5f0fb15SPaul Saab 582a5f0fb15SPaul Saab* New modifier for search commands: ^R means don't use regular 583a5f0fb15SPaul Saab expressions in the search. 584a5f0fb15SPaul Saab 585a5f0fb15SPaul Saab* Environment variable LESSKEY gives name of default lesskey file. 586a5f0fb15SPaul Saab 587a5f0fb15SPaul Saab* Environment variable LESSSECURE will force less to run in 588a5f0fb15SPaul Saab "secure" mode. 589a5f0fb15SPaul Saab 590a5f0fb15SPaul Saab* Command line argument "--" signals that the rest of the arguments 591a5f0fb15SPaul Saab are files (not option flags). 592a5f0fb15SPaul Saab 593a5f0fb15SPaul Saab* Help file (less.hlp) is no longer installed. Help text is now 594a5f0fb15SPaul Saab embedded in the less executable itself. 595a5f0fb15SPaul Saab 596a5f0fb15SPaul Saab* Added -Ph to change the prompt for the help text. 597a5f0fb15SPaul Saab Added -Ps to change the default short prompt (same as plain -P). 598a5f0fb15SPaul Saab 599a5f0fb15SPaul Saab* Ported to the Borland C compiler for MS-DOS. 600a5f0fb15SPaul Saab 601a5f0fb15SPaul Saab* Ported to Windows 95 & Windows NT. 602a5f0fb15SPaul Saab 603a5f0fb15SPaul Saab* Ported to OS-9. 604a5f0fb15SPaul Saab 605a5f0fb15SPaul Saab* Ported to GNU Hurd. 606a5f0fb15SPaul Saab 607a5f0fb15SPaul Saab====================================================================== 608a5f0fb15SPaul Saab 609a5f0fb15SPaul Saab 610a5f0fb15SPaul Saab Major changes between "less" versions 290 and 291 611a5f0fb15SPaul Saab 612a5f0fb15SPaul Saab* Less environment variables can be specified in lesskey files. 613a5f0fb15SPaul Saab 614a5f0fb15SPaul Saab* Fixed MS-DOS build. 615a5f0fb15SPaul Saab 616a5f0fb15SPaul Saab====================================================================== 617a5f0fb15SPaul Saab 618a5f0fb15SPaul Saab 619a5f0fb15SPaul Saab Major changes between "less" versions 278 and 290 620a5f0fb15SPaul Saab 621a5f0fb15SPaul Saab* Accepts GNU-style options "--help" and "--version". 622a5f0fb15SPaul Saab 623a5f0fb15SPaul Saab* OS/2 version looks for less.ini in $HOME before $INIT and $PATH. 624a5f0fb15SPaul Saab 625a5f0fb15SPaul Saab* Bug fixes 626a5f0fb15SPaul Saab 627a5f0fb15SPaul Saab====================================================================== 628a5f0fb15SPaul Saab 629a5f0fb15SPaul Saab 630a5f0fb15SPaul Saab Major changes between "less" versions 252 and 278 631a5f0fb15SPaul Saab 632a5f0fb15SPaul Saab* A LESSOPEN preprocessor may now pipe the converted file data to less, 633a5f0fb15SPaul Saab rather than writing it to a temporary file. 634a5f0fb15SPaul Saab 635a5f0fb15SPaul Saab* Search pattern highlighting has been fixed. It now highlights 636a5f0fb15SPaul Saab reliably, even if a string is split across two screen lines, 637a5f0fb15SPaul Saab contains TABs, etc. 638a5f0fb15SPaul Saab 639a5f0fb15SPaul Saab* The -F flag (which suppress search highlighting) has been changed 640a5f0fb15SPaul Saab to -G. A new flag, -g, changes search highlighting to highlight 641a5f0fb15SPaul Saab only the string found by the last search command, instead of all 642a5f0fb15SPaul Saab strings which match the last search command. 643a5f0fb15SPaul Saab 644a5f0fb15SPaul Saab* New flag -I acts like -i, but ignores case even if the search 645a5f0fb15SPaul Saab pattern contains uppercase letters. 646a5f0fb15SPaul Saab 647a5f0fb15SPaul Saab* Less now checks for the environment variable VISUAL before EDITOR. 648a5f0fb15SPaul Saab 649a5f0fb15SPaul Saab* Ported to OS/2. 650a5f0fb15SPaul Saab 651a5f0fb15SPaul Saab====================================================================== 652a5f0fb15SPaul Saab 653a5f0fb15SPaul Saab 654a5f0fb15SPaul Saab Major changes between "less" versions 237 and 252 655a5f0fb15SPaul Saab 656a5f0fb15SPaul Saab* Changes in line-editing keys: 657a5f0fb15SPaul Saab The literal key is now ^V or ^A rather than \ (backslash). 658a5f0fb15SPaul Saab Filename completion commands (TAB and ^L) are disabled 659a5f0fb15SPaul Saab when typing a search pattern. 660a5f0fb15SPaul Saab 661a5f0fb15SPaul Saab* Line-editing command keys can be redefined using lesskey. 662a5f0fb15SPaul Saab 663a5f0fb15SPaul Saab* Lesskey with no input file defaults to $HOME/.lesskey 664a5f0fb15SPaul Saab rather than standard input. 665a5f0fb15SPaul Saab 666a5f0fb15SPaul Saab* New option -V displays version number of less. 667a5f0fb15SPaul Saab 668a5f0fb15SPaul Saab* New option -V displays version number of lesskey. 669a5f0fb15SPaul Saab 670a5f0fb15SPaul Saab* Help file less.hlp is now installed by default in /usr/local/share 671a5f0fb15SPaul Saab rather than /usr/local/lib. 672a5f0fb15SPaul Saab 673a5f0fb15SPaul Saab 674a5f0fb15SPaul Saab====================================================================== 675a5f0fb15SPaul Saab 676a5f0fb15SPaul Saab 677a5f0fb15SPaul Saab Major changes between "less" versions 170 and 237 678a5f0fb15SPaul Saab 679a5f0fb15SPaul Saab* By popular demand, text which matches the current search pattern 680a5f0fb15SPaul Saab is highlighted. New -F flag disables this feature. 681a5f0fb15SPaul Saab 682a5f0fb15SPaul Saab* Henry Spencer's regexp.c is now included, for systems which do not 683a5f0fb15SPaul Saab have a regular expression library. 684a5f0fb15SPaul Saab regexp.c is Copyright (c) 1986 by University of Toronto. 685a5f0fb15SPaul Saab 686a5f0fb15SPaul Saab* New line-editing keys, including command history (arrow keys) and 687a5f0fb15SPaul Saab filename completion (TAB). 688a5f0fb15SPaul Saab 689a5f0fb15SPaul Saab* Input preprocessor allows modification of input files (e.g. uncompress) 690a5f0fb15SPaul Saab via LESSOPEN/LESSCLOSE environment variables. 691a5f0fb15SPaul Saab 692a5f0fb15SPaul Saab* New -X flag disables sending termcap "ti" and "te" (initialize and 693a5f0fb15SPaul Saab deinitialize) strings to the terminal. 694a5f0fb15SPaul Saab 695a5f0fb15SPaul Saab* Changing -i from within less now correctly affects a subsequent 696a5f0fb15SPaul Saab repeated search. 697a5f0fb15SPaul Saab 698a5f0fb15SPaul Saab* Searching for underlined or overstruck text now works when the -u 699a5f0fb15SPaul Saab flag is in effect, rather than the -i flag. 700a5f0fb15SPaul Saab 701a5f0fb15SPaul Saab* Use setlocale (LANG and LC_CTYPE environment variables) to determine 702a5f0fb15SPaul Saab the character set if LESSCHARSET/LESSCHARDEF are not set. 703a5f0fb15SPaul Saab 704a5f0fb15SPaul Saab* The default format for displaying binary characters is now standout 705a5f0fb15SPaul Saab (reverse video) rather than blinking. This can still be changed by 706a5f0fb15SPaul Saab setting the LESSBINFMT environment variable. 707a5f0fb15SPaul Saab 708a5f0fb15SPaul Saab* Use autoconf installation technology. 709a5f0fb15SPaul Saab 710a5f0fb15SPaul Saab* Ported to MS-DOS. 711a5f0fb15SPaul Saab 712a5f0fb15SPaul Saab ******************************** 713a5f0fb15SPaul Saab Things that may surprise you 714a5f0fb15SPaul Saab ******************************** 715a5f0fb15SPaul Saab 716a5f0fb15SPaul Saab* When you enter text at the bottom of the screen (search string, 717a5f0fb15SPaul Saab filename, etc.), some keys act different than previously. 718a5f0fb15SPaul Saab Specifically, \ (backslash), ESC, TAB, BACKTAB, and control-L 719a5f0fb15SPaul Saab now have line editing functions. 720a5f0fb15SPaul Saab 721a5f0fb15SPaul Saab* Some previous unofficial versions of less were able to display 722a5f0fb15SPaul Saab compressed files. The new LESSOPEN/LESSCLOSE feature now provides 723a5f0fb15SPaul Saab this functionality in a different way. 724a5f0fb15SPaul Saab 725a5f0fb15SPaul Saab* Some previous unofficial versions of less provided a -Z flag to 726a5f0fb15SPaul Saab set the number of lines of text to retain between full screen scrolls. 727a5f0fb15SPaul Saab The -z-n flag (that is, -z with a negative number) provides this 728a5f0fb15SPaul Saab functionality. 729a5f0fb15SPaul Saab 730a5f0fb15SPaul Saab 731a5f0fb15SPaul Saab====================================================================== 732a5f0fb15SPaul Saab 733a5f0fb15SPaul Saab 734a5f0fb15SPaul Saab Major changes between "less" versions 123 and 170 735a5f0fb15SPaul Saab 736a5f0fb15SPaul Saab* New option -j allows target lines to be positioned anywhere on screen. 737a5f0fb15SPaul Saab 738a5f0fb15SPaul Saab* New option -S truncates displayed line at the screen width, 739a5f0fb15SPaul Saab rather than wrapping onto the next line. 740a5f0fb15SPaul Saab 741a5f0fb15SPaul Saab* New option -y limits amount of forward scroll. 742a5f0fb15SPaul Saab 743a5f0fb15SPaul Saab* New option -T specifies a "tags" file. 744a5f0fb15SPaul Saab 745a5f0fb15SPaul Saab* Non-printable, non-control characters are displayed in octal. 746a5f0fb15SPaul Saab Such characters, as well as control characters, are displayed 747a5f0fb15SPaul Saab in blinking mode. 748a5f0fb15SPaul Saab 749a5f0fb15SPaul Saab* New command -+ sets an option to its default. 750a5f0fb15SPaul Saab* New command -- sets an option to the opposite of its default. 751a5f0fb15SPaul Saab 752a5f0fb15SPaul Saab* Lesskey file may have a string appended to a key's action, 753a5f0fb15SPaul Saab which acts as though typed in after the command. 754a5f0fb15SPaul Saab 755a5f0fb15SPaul Saab* New commands ESC-^F and ESC-^B match arbitrary types of brackets. 756a5f0fb15SPaul Saab 757a5f0fb15SPaul Saab* New command F monitors a growing file (like "tail -f"). 758a5f0fb15SPaul Saab 759a5f0fb15SPaul Saab* New command | pipes a section of the input file into a shell command. 760a5f0fb15SPaul Saab 761a5f0fb15SPaul Saab* New command :x directly jumps to a file in the command line list. 762a5f0fb15SPaul Saab 763a5f0fb15SPaul Saab* Search commands have been enhanced and reorganized: 764a5f0fb15SPaul Saab n Repeat search, same direction. 765a5f0fb15SPaul Saab N Repeat search, opposite direction. 766a5f0fb15SPaul Saab ESC-/ Search forward thru file boundaries 767a5f0fb15SPaul Saab ESC-? Search backward thru file boundaries 768a5f0fb15SPaul Saab ESC-n Repeat search thru file boundaries, same direction. 769a5f0fb15SPaul Saab ESC-N Repeat search thru file boundaries, opposite direction. 770a5f0fb15SPaul Saab Special character * causes search to search thru file boundaries. 771a5f0fb15SPaul Saab Special character @ causes search to begin at start/end of file list. 772a5f0fb15SPaul Saab 773a5f0fb15SPaul Saab* Examining a new file adds it to the command line list. 774a5f0fb15SPaul Saab A list of files, or an expression which matches more than one file, 775a5f0fb15SPaul Saab may be examined; all of them are added to the command line list. 776a5f0fb15SPaul Saab 777a5f0fb15SPaul Saab* Environment variables LESSCHARSET and LESSCHARDEF can define 778a5f0fb15SPaul Saab a non-ASCII character set. 779a5f0fb15SPaul Saab 780a5f0fb15SPaul Saab* Partial support for MSDOS, including options -R for repainting screen 781a5f0fb15SPaul Saab on quit, -v/-V to select video mode, and -W to change window size. 782a5f0fb15SPaul Saab 783a5f0fb15SPaul Saab 784a5f0fb15SPaul Saab====================================================================== 785a5f0fb15SPaul Saab 786a5f0fb15SPaul Saab 787a5f0fb15SPaul Saab Major changes between "less" versions 97 and 123 788a5f0fb15SPaul Saab 789a5f0fb15SPaul Saab* New option (-N) causes line numbers to be displayed in the 790a5f0fb15SPaul Saab text of the file (like vi "set nu"). 791a5f0fb15SPaul Saab 792a5f0fb15SPaul Saab* New option (-?) prints help message immediately. 793a5f0fb15SPaul Saab 794a5f0fb15SPaul Saab* New option (-r) displays "raw" control characters, without 795a5f0fb15SPaul Saab mapping them to ^X notation. 796a5f0fb15SPaul Saab 797a5f0fb15SPaul Saab* New option (-f) forces less to open non-regular files 798a5f0fb15SPaul Saab (directories, etc). 799a5f0fb15SPaul Saab 800a5f0fb15SPaul Saab* New option (-k) can be used to specify lesskey files by name. 801a5f0fb15SPaul Saab 802a5f0fb15SPaul Saab* New option (-y) can be used to set a forward scroll limit 803a5f0fb15SPaul Saab (like -h sets a backward scroll limit). 804a5f0fb15SPaul Saab 805a5f0fb15SPaul Saab* File marks (set by the m command) are now preserved when a new 806a5f0fb15SPaul Saab file is edited. The ' command can thus be used to switch files. 807a5f0fb15SPaul Saab 808a5f0fb15SPaul Saab* New command ESC-/ searches all files (on the command line) 809a5f0fb15SPaul Saab for a pattern. 810a5f0fb15SPaul Saab 811a5f0fb15SPaul Saab* New command ESC-n repeats previous search, spanning files. 812a5f0fb15SPaul Saab 813a5f0fb15SPaul Saab* The N command has been changed to repeat the previous search 814a5f0fb15SPaul Saab in the reverse direction. The old N command is still available 815a5f0fb15SPaul Saab via :n. 816a5f0fb15SPaul Saab 817a5f0fb15SPaul Saab* New command ESC-N repeats previous search in the reverse 818a5f0fb15SPaul Saab direction and spanning files. 819a5f0fb15SPaul Saab 820a5f0fb15SPaul Saab* 8 bit characters are now supported. A new option (-g) can be 821a5f0fb15SPaul Saab used to strip off the eighth bit (the previous behavior). 822a5f0fb15SPaul Saab 823a5f0fb15SPaul Saab* Options which take a following string (like -t) may now 824a5f0fb15SPaul Saab optionally have a space between the option letter and the string. 825a5f0fb15SPaul Saab 826a5f0fb15SPaul Saab* Six new commands { } ( ) [ and ] can be used to match 827a5f0fb15SPaul Saab brackets of specific types, similar to vi % command. 828a5f0fb15SPaul Saab 829a5f0fb15SPaul Saab* New commands z and w move forward/backward one window and 830a5f0fb15SPaul Saab simultaneously set the window size. 831a5f0fb15SPaul Saab 832a5f0fb15SPaul Saab* Prompt string expansion now has %L for line number of the last 833a5f0fb15SPaul Saab line in the file, and %E for the name of the editor. 834a5f0fb15SPaul Saab Also, % escapes which refer to a line (b=bottom, t=top, etc.) 835a5f0fb15SPaul Saab can use j for the jump target line. 836a5f0fb15SPaul Saab 837a5f0fb15SPaul Saab* New environment variable LESSEDIT can be used to tailor the 838a5f0fb15SPaul Saab command string passed to the editor by the v command. 839a5f0fb15SPaul Saab 840a5f0fb15SPaul Saab* Examining a file which was previously examined will return 841a5f0fb15SPaul Saab to the same position in the file. 842a5f0fb15SPaul Saab 843a5f0fb15SPaul Saab* A "%" is expanded to the current filename and a "#" to the 844a5f0fb15SPaul Saab previous filename, in both shell commands and the E command. 845a5f0fb15SPaul Saab (Previously % worked only in shell commands and # worked 846a5f0fb15SPaul Saab only in the E command.) 847a5f0fb15SPaul Saab 848a5f0fb15SPaul Saab* New command ":ta" is equivalent to "-t". 849a5f0fb15SPaul Saab 850a5f0fb15SPaul Saab* New command "s" is equivalent to "-l". 851a5f0fb15SPaul Saab 852a5f0fb15SPaul Saab* The - command may be followed by "+X" to revert to the default 853a5f0fb15SPaul Saab for option X, or "-X" to get the opposite of the default. 854a5f0fb15SPaul Saab 855a5f0fb15SPaul Saab* Lesskey files may now include characters after the action as 856a5f0fb15SPaul Saab extra input to be parsed after the action; for example: 857a5f0fb15SPaul Saab "toggle-option X" to toggle a specific option X. 8587f074f9cSXin LI 8597f074f9cSXin LI 8607f074f9cSXin LI 861f78327b5SXin LI 862464501a8SXin LI 863