]> www.wagner.pp.ru Git - oss/less.git/blob - NEWS
Removed code page operation. Fix GLOB macros for 64-bit win32. Fixed debug flags...
[oss/less.git] / NEWS
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 bug-less@gnu.org
11
12 ======================================================================
13
14         Major changes between "less" versions 458 and 481
15
16 * Don't overwrite history file; just append to it.
17
18 * New command ESC-G goes to end of currently buffered data in a pipe.
19
20 * Disable history feature when compiled with LESSHISTFILE set to "-".
21
22 * In more-compatible mode, make the -p option apply to every file opened,
23   not just the first one.
24
25 * In more-compatible mode, change the -e option to work like -E, not -EF.
26
27 * Treat multiple CRs before LF are like one CR (all the CRs are hidden).
28
29 * Allow "extra" string in lesskey file to append to a multi-char command
30   (like a search pattern), without executing the command.
31
32 * Ignore -u/-U setting while viewing help file, so that 
33   underline and bold chars are displayed correctly.
34
35 * Improve detection of "binary" files in UTF-8 mode.
36
37 * Fix bug with ++ commands.
38
39 * Fix bug where prompt was sometimes not displayed with +G.
40
41 * Fix possible memory corruption 
42
43 * Fix bugs and improve performance in ampersand filtering.
44
45 * Automate construction of Unicode tables from Unicode database.
46
47 * Allow %% escape sequence in LESSOPEN variable.
48
49 ======================================================================
50
51         Major changes between "less" versions 451 and 458
52
53 * Allow backslash escaping of metacharacters in LESS environment variable
54   after the --use-backslash option.
55
56 * Don't quit if syntax errors are found in command line options.
57
58 * Increase sizes of some internal buffers.
59
60 * Fix configure bug with --with-regex=none.
61
62 * Fix crash with "stty rows 0".
63
64 * Fix Win32 attribute display bug.
65
66 * Fix display bug when using up/down arrow on the command line.
67
68 ======================================================================
69
70         Major changes between "less" versions 444 and 451
71
72 * Add ESC-F command to keep reading data until a pattern is found.
73
74 * Use exit code of LESSOPEN script if LESSOPEN starts with "||".
75
76 * When up/down arrow is used on the command line immediately after
77   typing text, the next command starting with that text is found.
78
79 * Add support for GNU regex.
80
81 * Add configure option --with-regex=none and fix compile errors
82   when compiling with no regex library.
83
84 * Fix bugs handling SGR sequences in Win32.
85
86 * Fix possible crashes caused by malformed LESSOPEN or 
87   LESSCLOSE variables.
88
89 * Fix bug highlighting text which is discontiguous in the file 
90   due to backspace processing.
91
92 * Fix bug in displaying status column when scrolling backwards 
93   with -J and -S in effect.
94
95 ======================================================================
96
97         Major changes between "less" versions 443 and 444
98
99 * Fix bug in unget handling that can cause strange effects on the
100   command line.
101
102 * Remove vestiges of obsolete -l option that can cause a crash.
103
104 ======================================================================
105
106         Major changes between "less" versions 436 and 443
107
108 * Change search behavior such that when a search is given an explicit 
109   pattern, the entire displayed screen is included in the search and 
110   not just the portion after the target line.
111
112 * Add -A option to change search behavior to the old way: only
113   the portion of the screen after the target line is searched.
114
115 * Add %F formatting to prompt strings, replaced by the last component
116   of the input file.
117
118 * Control-G while editing a command exits the command.
119
120 * Less now exits with status 2 if control-C is pressed and -K is in effect.
121
122 * Fix "ungetc overflow" when passing long commands via the -p option.
123
124 * Fix bug in using line filtering via the & command 
125   in combination with -i and -I.
126
127 * Fix bug in handling negative arguments to the -j option.
128
129 * Fix bug in handling %t in prompt strings.
130
131 * Improve handling of long option names.
132
133 * Improve percentage calculation for very large files.
134
135 ======================================================================
136
137         Major changes between "less" versions 429 and 436
138
139 * Don't pass "-" to non-pipe LESSOPEN unless it starts with "-".
140
141 * Allow a fraction as the argument to the -# (--shift) option.
142
143 * Fix highlight bug when underlined/overstruck text matches at end of line.
144
145 * Fix non-regex searches with ctrl-R.
146
147 ======================================================================
148
149         Major changes between "less" versions 424 and 429
150
151 * LESSOPEN pipe will now be used on standard input, if the LESSOPEN
152   environment variable begins with "|-".
153
154 * The -D option with one number now means use the normal background color.
155
156 * Don't change permissions on history file if it is not a regular file.
157
158 * Fix non-ANSI-compliant code that caused problems with some compilers.
159
160 * Fix binary file detection in UTF-8 mode.
161
162 * Fix display problems with long lines on "ignaw" terminals.
163
164 * Fix problem interrupting the line number calculation for initial prompt.
165
166 * Fix SGR emulation when dealing with multiple attributes (eg. bold+underline).
167
168 * Fix highlight bug when searching for underlined/overstruck text.
169
170 ======================================================================
171
172         Major changes between "less" versions 418 and 424
173
174 * New "&" command allows filtering of lines based on a pattern.
175
176 * Status column now displays a search match, even if the matched
177   string is scrolled off screen because -S is in effect.
178
179 * Improve behavior of -F option.
180
181 * Allow CSI character (0x9B) to work in UTF-8 mode.
182
183 * Output carriage return at startup in case terminal doesn't default
184   to column 1.
185
186 * Fix bug in '' (quote, quote) command after G command.
187
188 ======================================================================
189
190         Major changes between "less" versions 416 and 418
191
192 * Color escape sequences are now supported in WIN32 build.
193
194 * Makefile now uses EXEEXT feature of autoconf.
195
196 * Fix search bug when using -R and text contains ANSI color escape sequences.
197
198 * Fix crash when using -r with UTF-8 text containing 0x9B bytes.
199
200 * Fix display bug when using ' command to move less than one page forward.
201
202 * Update GPL to version 3.
203
204 ======================================================================
205
206         Major changes between "less" versions 409 and 416
207
208 * New --follow-name option makes F command follow the name of a file
209   rather than the file descriptor if an open file is renamed.
210
211 * Make searching with -i/-I work correctly with non-ASCII text.
212
213 * Fix DJGPP build.
214
215 ======================================================================
216
217         Major changes between "less" versions 406 and 409
218
219 * Support CSI escape sequences, like SGR escape sequences.
220
221 * Fix bug which caused screen to fail to repaint when window is resized.
222
223 * Fix bug in using -i and -I flags with non-ASCII text.
224
225 * Fix configure bug on systems which don't support langinfo.h.
226
227 * Fix crash when searching text containing certain invalid UTF-8 sequences.
228
229 ======================================================================
230
231         Major changes between "less" versions 394 and 406
232
233 * Allow decimal point in number for % (percent) command.
234
235 * Allow decimal point in number for -j option (fraction of screen height).
236
237 * Make n command fetch previous pattern from history file on first search.
238
239 * Don't rewrite history file if it has not changed.
240
241 * Don't move to bottom of screen on first page.
242
243 * Don't output extraneous newlines, so copy & pasting lines from the
244   output works better.
245
246 * The -c option has been made identical with the -C option.
247
248 * Allow "/dev/null" as synomym for "-" in LESSHISTFILE to indicate
249   that no history file should be used.
250
251 * Search can now find text which follows a null byte, if the PCRE
252   library is used, or if no-regex searching (ctrl-R) is used.
253
254 * Better compatibility with POSIX more specification.
255
256 * Make -f work for directories.
257
258 * Make "t" cmd traverse tags in the correct order.
259
260 * Allow a few binary characters in the input file before warning
261   that the file is binary.
262
263 * Don't warn that file is binary if it merely contains ANSI color sequences
264   and -R is in effect.
265
266 * Update Unicode character tables.
267
268 * Support DESTDIR in Makefile.
269
270 * Fix bug when filename contains certain shell metacharacters such as "$".
271
272 * Fix bug when resizing the window while waiting for input from a pipe.
273
274 * Fix configure bugs.
275
276 ======================================================================
277
278         Major changes between "less" versions 382 and 394
279
280 * Add history file to save search and shell command history between
281   invocations of less.
282
283 * Improve behavior of history list for search and shell commands.
284
285 * Add -K (or --quit-on-intr) option to make less exit immediately on ctrl-C.
286
287 * Improve handling of UTF-8 files and commands, including better
288   line wrapping and handling double-width chars.
289
290 * Added LESSUTFBINFMT environment variable to control display of
291   non-printable characters in a UTF-8 file.
292
293 * Add --with-secure option to configure, to make it easier to
294   build a secure version of less.
295
296 * Show search matches in the status column even if search highlights
297   are disabled via the -G option or the ESC-u command.
298
299 * Improve performance when the file contains very long lines.
300
301 * Add "windows" charset.
302
303 * Add man page for lessecho.
304
305 * Add support for erase2 character, treated same as erase.
306
307 * Use ASCII lowercase/uppercase logic when operating on the command line.
308
309 * Update makefile for Borland C++ 5.5.1.
310
311 * Fix bug in calculating number of pages for %D prompt.
312
313 * Fix bug in handling tag file error.
314
315 * Fix obscure bug if input file is deleted while viewing help.
316
317 * Fix bug handling filenames which include square brackets.
318
319 * Fix possible buffer overflow in "global" tag search.
320
321 * Fix possible buffer overflow in usage of LESSOPEN and LESSCLOSE.
322
323 * Fix buffer overflow in reverse search.
324
325 ======================================================================
326
327         Major changes between "less" versions 381 and 382
328
329 * Removed some old copyrighted code.
330   This probably breaks OS/9 support.
331
332 ======================================================================
333
334         Major changes between "less" versions 378 and 381
335
336 * New -L option to disable LESSOPEN processing.
337
338 * Further support for large (64 bit) file addressing.
339   Large file support is now set up by the configure script.
340
341 * Use autoconf 2.54.
342   Replace configure.in, acconfig.h, defines.h.top with configure.ac.
343
344 * Overstriking underscore with underscore is now bold or underlined 
345   depending on context.
346
347 * Use only 7 spaces for line numbers in -N mode, if possible.
348
349 * Fix some bugs in handling overstriking in UTF-8 files.
350
351 * Fix some nroff issues in the man page.
352
353 ======================================================================
354
355         Major changes between "less" versions 376 and 378
356
357 * Bug fixes:
358   Default buffer space is now 64K as documented.
359   Search highlighting works properly when used with -R.
360   Windows version works properly when input file contains carriage returns.
361   Clean up some compiler warnings.
362
363 ======================================================================
364
365         Major changes between "less" versions 358 and 376
366
367 * -x option can now specify multiple variable-width tab stops.
368
369 * -X option no longer disables keypad initialization.
370   New option --no-keypad disables keypad initialization.
371
372 * New commands t and T step through multiple tag matches.
373   Added support for "global(1)" tags
374   (see http://www.gnu.org/software/global/global.html).
375
376 * New prompt style set by option -Pw defines the message printed 
377   while waiting for data in the F command.
378
379 * System-wide lesskey file now defaults to sysless in etc directory 
380   instead of .sysless in bin directory.
381   Use "configure --sysconfdir=..." to change it.
382   (For backwards compatibility, .sysless in bin is still recognized.)
383
384 * Pressing RightArrow or LeftArrow while entering a number now shifts
385   the display N columns rather than editing the number itself.
386
387 * Status column (enabled with -J) now shows search results.
388
389 * Windows version sets window title.
390
391 * Default LESSCHARSET for MS-DOS versions is now "dos".
392
393 * Searching works better with ANSI (SGR) escape sequences.
394   ANSI color escape sequences are now supported in the MS-DOS (DJGPP) version.
395
396 * Improved performance in reading very large pipes.
397
398 * Eliminated some dependencies on file offets being 32 bits.
399
400 * Fixed problems when viewing files with very long lines.
401
402 * Fixed overstriking in UTF-8 mode, and overstriking tabs.
403
404 * Improved horizontal shifting of text using -R option with ANSI color.
405
406 * Improved handling of filenames containing shell metacharacters.
407
408 * Some fixes for EBCDIC systems.
409
410 * Some fixes for OS/2 systems.
411
412 ======================================================================
413
414         Major changes between "less" versions 354 and 358
415
416 * Add -J (--status-column) option to display a status column.
417
418 * Add -# (--shift) option to set default horizontal shift distance.
419   Default horizontal shift distance is now one-half screen width.
420
421 * Horizontal shifting does not shift line numbers if -N is in effect.
422
423 * Horizontal shifting acts as though -S were set, to avoid confusion.
424
425 ======================================================================
426
427
428         Major changes between "less" versions 352 and 354
429
430 * Allow space after numeric-valued command line options.
431
432 * Fix problem with configuring terminal libraries on some systems.
433
434 * Add support for PCRE regular expression library.
435
436 * Add --with-regex option to configure to allow manually selecting
437   a regular expression library.
438
439 * Fix bug compiling with SECURE = 1.
440
441 ======================================================================
442
443
444         Major changes between "less" versions 346 and 352
445
446 * Enable UTF-8 if "UTF-8" appears in locale-related environment variables.
447
448 * Add --with-editor option to configure script.
449
450 * The -M prompt and = message now show the top and bottom line number.
451
452 * Fix bug in running the editor on a file whose name contains quotes, etc.
453
454 * Fix bug in horizontal scrolling of long lines.
455
456 * Fix bug in doing :d on a file which contains marks.
457
458 * Fix bug causing cleared lines to sometimes be filled with standout, 
459   bold, underline, etc. on certain terminals.
460
461 * Fixes for MS-DOS (DJGPP) version.
462
463 ======================================================================
464
465
466         Major changes between "less" versions 340 and 346
467
468 * The UTF-8 character set is now supported.
469
470 * The default character set is now latin1 rather than ascii.
471
472 * New option -R (--RAW-CONTROL-CHARS) is like -r but handles 
473   long (wrapped) lines correctly, as long as the input contains only 
474   normal text and ANSI color escape sequences.
475
476 * New option -F (--quit-if-one-screen) quits if the text fits on
477   the first screen.
478
479 * The -w option now highlights the target line of a g or p command.
480
481 * A system-wide lesskey file is supported (LESSKEY_SYSTEM).
482
483 * New escape for prompt strings: %c is replaced by column number.
484
485 * New escape for prompt strings: %P is replaced by percentage into
486   file, based on line number rather than byte offset.
487
488 * HOME and END keys now jump to beginning of file or end of file.
489
490 ======================================================================
491
492
493         Major changes between "less" versions 337 and 340
494
495 * Command line options for less may now be given in either the old 
496   single-letter form, or a new long name form (--option-name).
497   See the less man page or "less --help" for the list of long option names.
498
499 * Command line options for lesskey may now be given in a new long name
500   form.  See the lesskey man page for the list of long option names.
501
502 * New command -- toggles an option using the long option name.
503
504 * New command __ queries an option using the long option name.
505
506 * The old -- command is renamed as -!.
507
508 * If a ^P is entered between the dash and the option letter of the -
509   command, the message describing the new setting is suppressed.
510
511 * Lesskey files may now contain \k escape sequences to represent the
512   "special" keys (arrows, PAGE-UP/PAGE-DOWN, HOME, END, INSERT, DELETE).
513
514 * New command :d removes the current file from the list of files.
515
516 * New option -~ (like -w before version 335)
517   suppresses tildes after end-of-file.
518
519 * Less is now released under the GNU General Public License.
520
521 ======================================================================
522
523
524         Major changes between "less" versions 335 and 337
525
526 * Fixed bugs in "make install".
527
528 ======================================================================
529
530
531         Major changes between "less" versions 332 and 335
532
533 * The old -w flag (suppress tildes after end-of-file) has been removed.
534
535 * New -w flag highlights the first new line after a forward-screen.
536
537 * New -W flag highlights the first new line after any forward movement.
538
539 * Window resize works even if LINES and/or COLUMNS environment 
540   variables are incorrect.
541
542 * New percent escapes for prompt strings:
543   %d is replaced by the page number, and
544   %D is replaced by the number of pages in the file.
545
546 * Added charsets "iso8859" and "ebcdic".
547
548 * In Windows version, uses HOMEDRIVE and HOMEPATH if HOME is not defined.
549
550 * Fixed some bugs causing incorrect display on DOS/Windows.
551
552 ======================================================================
553
554
555         Major changes between "less" versions 330 and 332
556
557 * Filenames from the command line are entered into the command history,
558   so UPARROW/DOWNARROW can be used to retrieve them from the :e command.
559
560 * Now works correctly on Windows when using a scrolling terminal
561   window (buffer larger than display window).
562
563 * On Windows, now restores the console screen on exit.  
564   Use -X to get the old behavior.
565
566 * Fixed bug on Windows when CAPS-LOCK or NUM-LOCK is pressed.
567
568 * Fixed bug on Windows when piping output of an interactive program.
569
570 * Fixed bug in tags file processing when tags file has DOS-style
571   line terminators (CR/LF).
572
573 * Fixed compilation problem on OS/2.
574
575 ======================================================================
576
577
578         Major changes between "less" versions 321 and 330
579
580 * Now supports filenames containing spaces (in double quotes).
581   New option -" can be used to change the quoting characters.
582
583 * In filename completion, a slash is appended to a directory name.
584   If the environment variable LESSSEPARATOR is set, the value of
585   that variable, rather than a slash, is appended.
586
587 * LeftArrow and RightArrow are same as ESC-[ and ESC-].
588
589 * Added commands ESC-( and ESC-), same as ESC-[ and ESC-].
590
591 * A "quit" command defined in a lesskey file may now have an "extra" 
592   string, which is used to return an exit code from less when it quits.
593
594 * New environment variables LESSMETACHARS and LESSMETAESCAPE provide
595   more control over how less interfaces to the shell.
596
597 * Ported to Microsoft Visual C compiler for Windows.
598
599 * Ported to DJGPP compiler for MS-DOS.
600
601 * Bug fixes.
602
603 ======================================================================
604
605
606         Major changes between "less" versions 291 and 321
607
608 * Command line at bottom of screen now scrolls, so it can be longer 
609   than the screen width.
610
611 * New commands ESC-] and ESC-[ scroll the display horizontally.
612
613 * New command ESC-SPACE scrolls forward a full screen, even if it
614   hits end-of-file.
615
616 * Alternate modifiers for search commands: ^N is same as !,
617   ^F is same as @, and ^E is same as *.
618
619 * New modifier for search commands: ^K means highlight the matches
620   currently on-screen, but don't move to the first match.
621
622 * New modifier for search commands: ^R means don't use regular
623   expressions in the search.
624
625 * Environment variable LESSKEY gives name of default lesskey file.
626
627 * Environment variable LESSSECURE will force less to run in
628   "secure" mode.
629
630 * Command line argument "--" signals that the rest of the arguments
631   are files (not option flags).
632
633 * Help file (less.hlp) is no longer installed.  Help text is now 
634   embedded in the less executable itself.
635
636 * Added -Ph to change the prompt for the help text.
637   Added -Ps to change the default short prompt (same as plain -P).
638
639 * Ported to the Borland C compiler for MS-DOS.
640
641 * Ported to Windows 95 & Windows NT.
642
643 * Ported to OS-9.
644
645 * Ported to GNU Hurd.
646
647 ======================================================================
648
649
650         Major changes between "less" versions 290 and 291
651
652 * Less environment variables can be specified in lesskey files.
653
654 * Fixed MS-DOS build.
655
656 ======================================================================
657
658
659         Major changes between "less" versions 278 and 290
660
661 * Accepts GNU-style options "--help" and "--version".
662
663 * OS/2 version looks for less.ini in $HOME before $INIT and $PATH.
664
665 * Bug fixes
666
667 ======================================================================
668
669
670         Major changes between "less" versions 252 and 278
671
672 * A LESSOPEN preprocessor may now pipe the converted file data to less,
673   rather than writing it to a temporary file.
674
675 * Search pattern highlighting has been fixed.  It now highlights 
676   reliably, even if a string is split across two screen lines,
677   contains TABs, etc.
678
679 * The -F flag (which suppress search highlighting) has been changed 
680   to -G.  A new flag, -g, changes search highlighting to highlight 
681   only the string found by the last search command, instead of all 
682   strings which match the last search command.
683
684 * New flag -I acts like -i, but ignores case even if the search 
685   pattern contains uppercase letters.
686
687 * Less now checks for the environment variable VISUAL before EDITOR.
688
689 * Ported to OS/2.
690
691 ======================================================================
692
693
694         Major changes between "less" versions 237 and 252
695
696 * Changes in line-editing keys:
697   The literal key is now ^V or ^A rather than \ (backslash).
698   Filename completion commands (TAB and ^L) are disabled 
699   when typing a search pattern.
700
701 * Line-editing command keys can be redefined using lesskey.
702
703 * Lesskey with no input file defaults to $HOME/.lesskey
704   rather than standard input.
705
706 * New option -V displays version number of less.
707
708 * New option -V displays version number of lesskey.
709
710 * Help file less.hlp is now installed by default in /usr/local/share 
711   rather than /usr/local/lib.
712
713
714 ======================================================================
715
716
717         Major changes between "less" versions 170 and 237
718
719 * By popular demand, text which matches the current search pattern
720   is highlighted.  New -F flag disables this feature.
721
722 * Henry Spencer's regexp.c is now included, for systems which do not
723   have a regular expression library.
724   regexp.c is Copyright (c) 1986 by University of Toronto.
725
726 * New line-editing keys, including command history (arrow keys) and 
727   filename completion (TAB).
728
729 * Input preprocessor allows modification of input files (e.g. uncompress)
730   via LESSOPEN/LESSCLOSE environment variables.
731
732 * New -X flag disables sending termcap "ti" and "te" (initialize and
733   deinitialize) strings to the terminal. 
734
735 * Changing -i from within less now correctly affects a subsequent
736   repeated search.  
737
738 * Searching for underlined or overstruck text now works when the -u
739   flag is in effect, rather than the -i flag.
740
741 * Use setlocale (LANG and LC_CTYPE environment variables) to determine
742   the character set if LESSCHARSET/LESSCHARDEF are not set.
743
744 * The default format for displaying binary characters is now standout
745   (reverse video) rather than blinking.  This can still be changed by
746   setting the LESSBINFMT environment variable.
747
748 * Use autoconf installation technology.
749
750 * Ported to MS-DOS.
751
752         ********************************
753           Things that may surprise you
754         ********************************
755
756 * When you enter text at the bottom of the screen (search string, 
757   filename, etc.), some keys act different than previously.  
758   Specifically, \ (backslash), ESC, TAB, BACKTAB, and control-L 
759   now have line editing functions.
760
761 * Some previous unofficial versions of less were able to display
762   compressed files.  The new LESSOPEN/LESSCLOSE feature now provides
763   this functionality in a different way.
764
765 * Some previous unofficial versions of less provided a -Z flag to 
766   set the number of lines of text to retain between full screen scrolls.
767   The -z-n flag (that is, -z with a negative number) provides this 
768   functionality.
769
770
771 ======================================================================
772
773
774         Major changes between "less" versions 123 and 170
775
776 * New option -j allows target lines to be positioned anywhere on screen.
777
778 * New option -S truncates displayed line at the screen width,
779   rather than wrapping onto the next line.
780
781 * New option -y limits amount of forward scroll.
782
783 * New option -T specifies a "tags" file.
784
785 * Non-printable, non-control characters are displayed in octal.
786   Such characters, as well as control characters, are displayed 
787   in blinking mode.
788
789 * New command -+ sets an option to its default.
790 * New command -- sets an option to the opposite of its default.
791
792 * Lesskey file may have a string appended to a key's action,
793   which acts as though typed in after the command.
794
795 * New commands ESC-^F and ESC-^B match arbitrary types of brackets.
796
797 * New command F monitors a growing file (like "tail -f").
798
799 * New command | pipes a section of the input file into a shell command.
800
801 * New command :x directly jumps to a file in the command line list.
802
803 * Search commands have been enhanced and reorganized:
804         n       Repeat search, same direction.
805         N       Repeat search, opposite direction.
806         ESC-/   Search forward thru file boundaries
807         ESC-?   Search backward thru file boundaries
808         ESC-n   Repeat search thru file boundaries, same direction.
809         ESC-N   Repeat search thru file boundaries, opposite direction.
810   Special character * causes search to search thru file boundaries.
811   Special character @ causes search to begin at start/end of file list.
812
813 * Examining a new file adds it to the command line list.
814   A list of files, or an expression which matches more than one file,
815   may be examined; all of them are added to the command line list.
816
817 * Environment variables LESSCHARSET and LESSCHARDEF can define
818   a non-ASCII character set.
819
820 * Partial support for MSDOS, including options -R for repainting screen
821   on quit, -v/-V to select video mode, and -W to change window size.
822
823
824 ======================================================================
825
826
827         Major changes between "less" versions 97 and 123
828
829 * New option (-N) causes line numbers to be displayed in the
830   text of the file (like vi "set nu").
831
832 * New option (-?) prints help message immediately.
833
834 * New option (-r) displays "raw" control characters, without
835   mapping them to ^X notation.
836
837 * New option (-f) forces less to open non-regular files
838   (directories, etc).
839
840 * New option (-k) can be used to specify lesskey files by name.
841
842 * New option (-y) can be used to set a forward scroll limit
843   (like -h sets a backward scroll limit).
844
845 * File marks (set by the m command) are now preserved when a new
846   file is edited.  The ' command can thus be used to switch files.
847
848 * New command ESC-/ searches all files (on the command line) 
849   for a pattern.
850
851 * New command ESC-n repeats previous search, spanning files.
852
853 * The N command has been changed to repeat the previous search
854   in the reverse direction.  The old N command is still available 
855   via :n.
856
857 * New command ESC-N repeats previous search in the reverse
858   direction and spanning files.
859
860 * 8 bit characters are now supported.  A new option (-g) can be 
861   used to strip off the eighth bit (the previous behavior).
862
863 * Options which take a following string (like -t) may now
864   optionally have a space between the option letter and the string.
865
866 * Six new commands { } ( ) [ and ] can be used to match
867   brackets of specific types, similar to vi % command.
868
869 * New commands z and w move forward/backward one window and
870   simultaneously set the window size.
871
872 * Prompt string expansion now has %L for line number of the last
873   line in the file, and %E for the name of the editor.
874   Also, % escapes which refer to a line (b=bottom, t=top, etc.)
875   can use j for the jump target line.
876
877 * New environment variable LESSEDIT can be used to tailor the
878   command string passed to the editor by the v command.
879
880 * Examining a file which was previously examined will return
881   to the same position in the file.
882
883 * A "%" is expanded to the current filename and a "#" to the 
884   previous filename, in both shell commands and the E command.
885   (Previously % worked only in shell commands and # worked 
886   only in the E command.)
887
888 * New command ":ta" is equivalent to "-t".
889
890 * New command "s" is equivalent to "-l".
891
892 * The - command may be followed by "+X" to revert to the default
893   for option X, or "-X" to get the opposite of the default.
894
895 * Lesskey files may now include characters after the action as
896   extra input to be parsed after the action; for example:
897   "toggle-option X" to toggle a specific option X.
898
899
900
901
902