Lines Matching +full:en +full:- +full:csi +full:- +full:v2 +full:- +full:0

2  * Copyright (C) 1984-2024  Mark Nudelman
12 ----------------------- CHANGE HISTORY --------------------------
18 v2 4/27/84 Fixed '=' command to use BOTTOM_PLUS_ONE,
20 v3 5/3/84 Added -m and -t options, '-' command
22 v5 5/3/84 New comments, fixed '-' command slightly
23 v6 5/15/84 Added -Q, visual bell
26 v8 5/30/84 Re-do -q and -Q commands
28 v10 10/10/84 Fixed bug in -b<n> argument processing
30 -----------------------------------------------------------------
32 v13 2/16/85 Reword error message for '-' command.
33 v14 2/22/85 Added -bf and -bp variants of -b.
35 v16 3/13/85 Added -u flag for backspace processing.
36 v17 4/13/85 Added j and k commands, changed -t default.
45 -----------------------------------------------------------------
46 v24 6/3/85 Added ti,te terminal init & de-init.
48 v25 6/8/85 Added -U flag, standout mode underlining.
49 v26 6/9/85 Added -M flag.
52 6 chars. Minor fix to -m.
56 v31 7/15/85 Added -p flag, changed repaint algorithm.
59 v33 7/23/85 Added -e flag and EDITOR.
60 v34 7/26/85 Added -s flag.
62 v36 7/29/85 Fixed -e flag to work if not last file.
63 v37 8/10/85 Added -x flag.
65 v39 8/24/85 (Not -p) does not initially clear screen.
68 -----------------------------------------------------------------
73 v43 10/15/85 Added -h flag, changed prim.c algorithms.
76 v45 10/16/85 Never print backspaces unless -u.
78 v47 10/30/85 Fixed bug in edit(): *first_cmd==0
82 -----------------------------------------------------------------
87 ev en if bof is no longer buffered.
89 v53 1/20/86 Added -P option.
92 v56 1/24/86 Added -l option.
93 v57 1/31/86 Fixed -l to get confirmation before
98 Leedom for boldface and -z option.
101 -----------------------------------------------------------------
102 v62 12/23/86 Added is_directory(); change -z default to
103 -1 instead of 24; cat-and-exit if -e and
105 v63 1/8/87 Fixed bug in cat-and-exit if > 1 file.
109 v65 1/26/87 Allowed '-' command to change NUMBER
119 v71 5/11/87 Changed -p to -c, made triple -c/-C
120 for clear-eol like more's -c.
121 v72 6/26/87 Added -E, -L, use $SHELL in lsystem().
125 -----------------------------------------------------------------
131 v76 9/23/87 Added -i flag; allow single "!" to
133 v77 9/24/87 Added -n flag and line number support.
138 v81 10/6/87 Allow -b to be changed from within less.
141 v83 10/9/87 Allow .less file for user-defined keys.
142 v84 10/11/87 Fix -e/-E problems (thanks to Felix Lee).
144 v86 10/20/87 Added -B option and autobuf; fixed
147 v88 3/12/88 Use new format for -P option (thanks to
148 der Mouse), allow "+-c" without message,
152 v90 3/30/88 Allow -P from within less.
153 v91 3/30/88 Added tags file support (new -t option)
155 v92 4/4/88 Added -+option syntax.
162 v97 5/17/88 Allow -l/-L from within less.
165 -----------------------------------------------------------------
170 v99 10/29/88 Allow space between -X and string,
171 when X is a string-valued option.
173 allow spaces after -t command.
177 allow spaces after -l command.
178 v103 3/14/89 Add -N, -f and -? options. Add z and w
183 v106 3/31/89 Added -k option and multiple lesskey
185 v107 4/27/89 Add 8-bit char support and -g option.
189 from "percent" to vi-style brace finder.
190 v109 5/10/89 Added ESC-% command, split prim.c.
195 v112 5/30/89 Get rid of ESC-%, add {}()[] commands.
197 v114 7/25/89 Added ESC-/ and ESC-/! commands.
198 v115 7/26/89 Added ESC-n command.
200 v117 8/1/89 Change -f option to -r.
206 v121 8/16/89 Add -f option.
210 -----------------------------------------------------------------
212 N = rev, ESC-n = span, add ESC-N.
214 Fix EOF bug when both -w and -c.
215 v126 10/25/89 Add -j option.
218 v129 11/3/89 Add -+,-- commands; add set-option and
219 unset-option to lesskey.
221 set-option, unset-option from lesskey.
224 v133 11/16/89 Add -y option (thanks to Jeff Sullivan).
225 v134 12/1/89 Glob filenames in the -l command.
227 added ESC-^F and ESC-^B commands.
228 v136 1/20/90 Added -S, -R flags. Added | command.
232 Added * notation for hi-bit chars.
242 Change ESC-/ cmd from /@* to / *.
245 v145 3/2/90 Added -R and -v/-V for MSDOS;
248 v147 3/7/90 Implement ?@; fix multi-file edit bugs.
252 v151 4/13/90 Remove -g option; clean up ispipe.
258 v155 4/30/90 Ignore -i if uppercase in pattern
261 causes problems with -c.
266 v160 7/29/90 Clear screen before initial output w/ -c.
267 v161 7/29/90 Add -T flag.
270 v164 9/5/90 Added -p, LINES, COLUMNS and
272 v165 9/6/90 At EOF with -c set, don't display empty
275 v167 9/11/90 Translate CR/LF -> LF for 1003.2.
282 -----------------------------------------------------------------
283 v171 3/6/91 Fix -? bug in get_filename.
285 Fix bug with ?\n and -i and uppercase
299 Fix bug with F command with -e.
302 -----------------------------------------------------------------
305 v179 4/9/91 Allow negative -z for screen-relative.
309 v181 4/18/91 Fixed bug with "negative" chars 80 - FF.
314 v184 7/11/91 Process \b in searches based on -u
315 rather than -i.
316 v185 7/11/91 -Pxxx sets short prompt; assume SIGWINCH
318 -----------------------------------------------------------------
319 v186 4/20/92 Port to MS-DOS (Microsoft C).
320 v187 4/23/92 Added -D option & TAB_COMPLETE_FILENAME.
326 v191 3/10/93 Defer creating "flash" page for MS-DOS.
327 v192 9/6/93 Add BACK-TAB.
331 -----------------------------------------------------------------
337 v199 6/29/94 Fix MS-DOS build (thanks to Tim Wiegman).
340 -----------------------------------------------------------------
345 non-existent files.
357 -----------------------------------------------------------------
358 v206 8/10/94 Use initial_scrpos for -t to avoid
371 v214 8/20/94 Added HILITE_SEARCH, -F, ESC-u cmd.
373 v215 8/23/94 Fix -i toggle behavior.
374 v216 8/23/94 Process BS in all searches, not only -u.
375 v217 8/24/94 Added -X flag.
385 only if -u.
391 -----------------------------------------------------------------
394 v229 9/21/94 Fix "Nothing to search" error if -a
398 v231 9/22/94 Fix hilite bug if search matches 0 chars.
403 -----------------------------------------------------------------
405 psignals to re-get lower_left termcap.
414 -----------------------------------------------------------------
415 v238 10/6/94 Make binary non-blinking if LESSBINFMT
425 v244 10/16/94 Add -f flag to lesskey.
428 v247 10/27/94 Add -V option.
429 v248 11/5/94 Add -V option to lesskey.
430 v249 11/5/94 Remove -f flag from lesskey; default
432 v250 11/7/94 Lesskey input file "-" means stdin.
438 -----------------------------------------------------------------
440 v254 12/6/94 Fix -k option.
450 v262 12/16/94 Add -g/-G flag and screen_hilite.
451 v263 12/20/94 Reimplement/optimize -G flag behavior.
452 v264 12/23/94 Allow EXTRA string after line-edit cmd
455 v266 12/26/94 Add -I flag.
456 v267 12/28/94 Formalize the four-byte header emitted
458 v268 12/28/94 Get rid of four-byte header.
464 v272 1/5/95 Get rid of -L.
468 v275 1/18/95 Fix bug if toggle -G at EOF.
472 v278 2/14/95 Change default for -G.
474 -----------------------------------------------------------------
475 v279 2/22/95 Add GNU options --help, --version.
494 -----------------------------------------------------------------
495 v291 3/21/95 Add #env to lesskey. Fix MS-DOS build.
497 -----------------------------------------------------------------
498 v292 4/24/95 Add MS-DOS support for Borland C.
499 Fix arrow keys in MS-DOS versions.
500 v293 4/28/95 Add auto-versioning stuff to make dist.
510 v300 1/25/96 Change -U to print tabs as ^I.
512 v302 1/31/96 Fix cmd F to notice window-change signals.
513 v303 1/31/96 Add ESC-SPACE command.
517 v307 3/25/96 Allow cmd line arg "--"; fix DOS & OS/2 defines.h.
518 v308 4/4/96 Port to OS-9 (thanks to Boisy Pitre); fix -d.
519 v309 4/9/96 Fix OS-9 version; fix tags bug with "$".
524 v314 4/26/96 Modified -e to quit on reaching end of a squished file.
527 v317 5/14/96 Various fixes for the MS-DOS and OS/2 builds.
529 v318 5/29/96 Port to OS-9 Microware compiler; minor fixes
535 -----------------------------------------------------------------
546 Fix MS-DOS and OS-9 versions.
547 v329 10/11/96 Fix more MS-DOS bugs; add LESSSEPARATOR; add -" option.
551 -----------------------------------------------------------------
555 -----------------------------------------------------------------
556 v333 3/4/99 Changed -w to highlite new line after forward movement.
561 -----------------------------------------------------------------
565 -----------------------------------------------------------------
567 v339 4/18/99 Add \k, long option names to lesskey. Add -^P. Add :d.
570 -----------------------------------------------------------------
571 v341 5/6/99 Add -F option; %c & ?c prompt escapes.
573 v342 7/22/99 Add system-wide lesskey file; allow GPL or Less License.
574 v343 9/23/99 Support UTF-8 (Thanks to Robert Brady).
576 v344 10/27/99 -w highlights target line of g and p commands.
577 v345 10/29/99 Make -R pass thru ESC but not other control chars.
579 -----------------------------------------------------------------
582 -----------------------------------------------------------------
586 v349 1/24/00 Fix minor DJGPP bugs; check environment vars for UTF-8;
587 add --with-editor (thanks to Eli, Markus Kuhn, Thomas Schoepf).
588 v350 3/1/00 Fix clear-while-standout bug.
589 v351 3/5/00 Change -M and = prompts to show top & bottom line number.
591 -----------------------------------------------------------------
593 -----------------------------------------------------------------
595 v354 3/23/00 Add support for PCRE; add --with-regex configure option.
596 -----------------------------------------------------------------
597 v355 6/28/00 Add -# option (thanks to Andy Levinson).
598 v356 7/5/00 Add -J option.
600 -----------------------------------------------------------------
603 -----------------------------------------------------------------
606 v361 12/4/01 Add IBM-1047 charset & EBCDIC fixes (thanks to Thomas Dorner).
608 Fix UTF-8 overstriking (thanks to Robert Brady).
610 v363 12/6/01 Add --no-keypad option.
618 v367 12/13/01 Allow -D and -x options to terminate without dollar sign;
623 -----------------------------------------------------------------
626 v372 12/29/01 Make -b be in units of 1K.
628 v374 2/7/02 Fix memory leak; fix bug in -x argument parsing.
631 v376 6/10/02 Fix bug in overstriking multibyte UTF-8 characters
634 -----------------------------------------------------------------
636 fix bug in search highlights with -R;
640 -----------------------------------------------------------------
641 v379 11/23/02 Add -L option; fix bug with ctrl-K in lesskey files;
642 improve UTF-8 overstriking and underscore overstriking;
645 v381 11/28/02 Make -N use 7 columns for line number if possible.
646 -----------------------------------------------------------------
648 -----------------------------------------------------------------
649 v383 2/16/04 Add history file; add -K option; improve UTF-8 handling;
654 v384 2/20/04 Improvements in UTF-8 handling.
655 v385 2/23/04 Fix UTF-8 output bug.
656 -----------------------------------------------------------------
657 v386 9/13/05 Improvements to UTF-8 shift & color (thanks to Charles Levert);
659 v387 9/14/05 Update Charles Levert's UTF-8 patch.
663 v390 9/15/05 Show search matches in status column even if -G is set.
664 -----------------------------------------------------------------
670 -----------------------------------------------------------------
673 make -f work for directories; support DESTDIR in Makefile;
678 Allow decimal point in number for -j option;
685 v400 3/23/07 Allow search to find pattern after null byte (PCRE and no-regex)
687 -----------------------------------------------------------------
690 fix bug in terminating number following -j option.
693 v405 6/17/07 Fix display bug when using -w option.
695 v407 8/16/07 Fix bugs; support CSI chars.
696 v408 10/1/07 Fix bug in -i with non-ASCII chars.
697 v409 10/12/07 Fix crash when viewing text with invalid UTF-8 sequences.
698 v411 11/6/07 Fix case-insensitive searching with non-ASCII text.
700 v413 11/6/07 Fix search highlight bug with non-ASCII text.
701 v414 11/6/07 Fix display bug with no-wrap terminals.
702 v415 11/14/07 Add --follow-name option.
703 v416 11/22/07 Fix crash when searching text with invalid UTF-8 sequences.
704 v417 12/31/07 Don't support single-char CSI in UTF-8 mode;
705 fix bug with -R and invalid CSI sequences;
706 fix bug searching text with SGR sequences with -r;
709 -----------------------------------------------------------------
710 v419 1/16/08 Make CSI char 0x9B work in UTF-8 mode (thanks to Colin Watson).
711 v420 2/24/08 Add & command; fix -F option; fix '' after G.
716 v425 7/14/08 Fix non-ANSI code in list handling in ch.c.
718 fix binary file detection in UTF-8 mode.
720 v428 3/30/09 Add "|-" syntax to LESSOPEN.
722 -----------------------------------------------------------------
723 v430 4/22/09 Don't pass "-" to non-pipe LESSOPEN unless it starts with "-".
729 v435 7/04/09 Fix bugs with non-regex filtering.
731 -----------------------------------------------------------------
734 v438 12/29/10 Fix bugs with -i/-I and & filtering;
735 exit with status 2 on ctrl-C with -K.
736 v439 12/31/10 Add -A option.
738 v441 1/21/11 Fix semi-infinite loop if no newlines in file;
739 make new -A behavior the default.
740 -----------------------------------------------------------------
742 Add ctrl-G line edit command.
744 v444 6/8/11 Fix ungetc bug; remove vestiges of obsolete -l option.
745 -----------------------------------------------------------------
746 v445 10/19/11 Fix hilite bug in backwards scroll with -J.
751 v447 5/21/12 Add ESC-F command, two-pipe LESSOPEN syntax.
753 v449 6/23/12 Allow config option --with-regex=none.
754 v450 7/4/12 Fix EOF bug with ESC-F.
756 -----------------------------------------------------------------
757 v452 10/19/12 Fix --with-regex=none, fix "stty 0", fix Win32.
763 v457 12/8/12 Use new option string syntax only after --use-backslash.
765 -----------------------------------------------------------------
781 when compiled value of LESSHISTFILE = "-".
782 v473 12/19/14 Fix prompt bug with stdin and -^P in lesskey extra string.
785 v475 3/2/15 Fix possible buffer overrun with invalid UTF-8;
786 fix bug when compiled with no regex; fix non-match search.
788 v477 5/19/15 Fix off-by-one in jump_forw_buffered;
792 v480 7/24/15 Fix bug in no-regex searches; support MSVC v1900.
793 v481 8/20/15 Fix broken -g option.
794 -----------------------------------------------------------------
795 v482 2/25/16 Update Unicode database to "2015-06-16, 20:24:00 GMT [KW]".
799 v484 9/20/16 Update to Unicode 9.0.0 database.
802 Fix incorrect display when entering double-width chars in
804 v486 10/22/16 New commands ESC-{ and ESC-} to shift to start/end of
805 displayed lines; new option -Da in Windows version to
807 v487 10/23/16 configure --help formatting.
808 -----------------------------------------------------------------
810 v489 3/30/17 Make -F not do init/deinit if file fits on one screen
818 do -R filter when matching tags (thanks to Matthew Malcomson).
821 v498 7/7/17 Fix early truncation of text if last char is double-width.
828 v505 7/17/17 Add M and ESC-M commands;
830 v506 7/17/17 On Windows, convert UTF-8 to multibyte if console is not UTF-8;
838 v513 7/26/17 Fix switch to normal attr at end of line with -R and rscroll.
840 v515 7/28/17 Allow 'u' in -D option on Windows.
842 v517 7/30/17 Status column shows matches even if hiliting is disabled via -G.
846 v521 10/20/17 Fix binary file warning in UTF-8 files with SGI sequences.
852 v527 10/30/17 Fix search hilite bug on last page with -a.
853 v528 11/3/17 Make second ESC-u clear status column.
854 v529 11/12/17 Display Unicode formatting chars in hex if -U is set.
856 -----------------------------------------------------------------
858 metachars in name; add --nohistdups option.
861 use wide-chars for Windows console title (thanks to Jason Hood).
863 v535 8/16/18 Don't count lines of initial screen if using -X with -F
869 v540 10/29/18 Add --mouse option.
870 v541 10/30/18 Add --MOUSE option.
871 v542 11/6/18 Add mouse support for WIN32; add --wheel-lines option.
874 v544 11/16/18 Don't init/deinit keyboard/mouse if quit due to -F.
876 v546 11/29/18 Add --save-marks option.
881 v550 2/16/19 Fix Win32 build; don't enable mouse unless --mouse is set.
883 -----------------------------------------------------------------
885 v553 10/17/19 Support tinfow; handle zero-width Hangul chars.
887 v555 3/15/20 Display error msg immediately when toggle -o without stdin.
890 v558 4/17/20 Don't init terminal if -F and file fits on one screen (WIN32).
898 v565 11/3/20 Add ESC-U command, optimize calls to realpath().
907 v570 12/12/20 Better handling of multiple + or -p options;
909 v571 12/30/20 Add --line-num-width and --status-col-width options.
916 v576 2/4/21 Make sure search result is visible; add --use-color and --color.
919 v579 2/14/21 Fix double-width char bugs and non-match search crash.
925 v584 4/30/21 Add --file-size option.
928 v587 5/27/21 Fix --with-secure; fix --file-size message on Windows;
930 if -F and screen is resized; fix memcpy usage.
933 v590 6/3/21 Fix non-autoconf Makefiles.
936 v592 8/24/21 Add --status-line option; limit use of /proc kludge; add --header.
937 v593 8/30/21 Add header columns, --no-number-headers.
938 v594 10/1/21 Let regex library handle caseless; add --redraw-on-quit option;
941 add --search-options.
943 v597 11/16/21 Fix bugs in --header.
948 v601 1/31/22 Add --exit-follow-on-close option.
950 v603 3/14/22 Fix --header.
951 v604 5/14/22 Fix termlib detection; fix non-ASCII input on Windows.
953 v606 7/17/22 Fix bug with multibyte chars and --incsearch;
959 v610 11/14/22 Update Unicode tables; fix again-search after filter;
965 v615 11/30/22 Add --no-vbell option.
966 v616 12/9/22 Don't open tty as input file without -f.
968 v618 12/29/22 Add --no-search-headers option; use C89 function definitions.
970 v620 1/12/23 Add --modelines option; add --intr option;
972 v621 1/15/23 Add --wordwrap option; add LESS_LINES & LESS_COLUMNS.
973 v622 1/27/23 Add --show-preproc-errors option.
975 v624 2/11/23 Add --proc-backspace, --proc-tab and --proc-return options.
988 v636 6/18/23 Fix -D in MS-DOS build; fix mouse wheel in MS-DOS build.
995 v643 7/20/23 Fix crash on Windows with -o.
996 v644 9/16/23 Improve ^C on non-terminated pipe; fix crash when files are
997 deleted; support large files and non-BMP chars on Windows;
999 add --match-shift.
1000 v645 11/5/23 Default Windows charset is utf-8; update Unicode tables;
1001 fix ESC-} bug; mouse right-click jumps to '#';
1002 add LESSSECURE_ALLOW; add --lesskey-content & LESSKEY_CONTENT;
1005 v647 11/16/23 Fix --+option; fix compiler warnings.
1007 v649 12/1/23 Add line number param to --header.
1008 v650 2/6/24 Add --no-search-header-lines and --no-search-header-columns;
1011 v651 3/4/24 Add --color attributes (*~_&); fix #/% substitution if name
1012 contains spaces; allow --rscroll with non-ASCII char.
1014 v653 3/20/24 Make default charset utf-8.
1017 v655 5/16/24 Fix search history bug with --incsearch.
1020 v658 6/13/24 Fix double-free in lesskey parser; fix crash using small value
1021 for --line-num-width.
1025 v662 8/8/24 Fix build with --with-secure; improve true colors on Windows;
1026 fix crash with --header; fix crash with -S; fix #stop;
1027 fix --shift with fractional parameter; fix EOF bug in R command;
1028 fix --header with short file; fix ^X bug when output is not tty.
1030 v664 8/28/24 Fix Windows compile error, fix output bug on Windows with -Da.
1032 v666 9/21/24 Fix missing first byte from LESSOPEN if >0x7f.
1034 v668 10/6/24 Fix UTF-8 chars in prompt.