xref: /netbsd-src/external/bsd/less/dist/version.c (revision 838f5788460f0f133b15d706e644d692a9d4d6ec)
1*838f5788Ssimonb /*	$NetBSD: version.c,v 1.4 2023/10/06 05:49:49 simonb Exp $	*/
220006a0bStron 
320006a0bStron /*
4*838f5788Ssimonb  * Copyright (C) 1984-2023  Mark Nudelman
520006a0bStron  *
620006a0bStron  * You may distribute under the terms of either the GNU General Public
720006a0bStron  * License or the Less License, as specified in the README file.
820006a0bStron  *
9ec18bca0Stron  * For more information, see the README file.
1020006a0bStron  */
1120006a0bStron 
1220006a0bStron 
1320006a0bStron /*
1420006a0bStron ----------------------- CHANGE HISTORY --------------------------
1520006a0bStron 
1620006a0bStron        1/29/84  Allowed use on standard input
1720006a0bStron        2/1/84   Added E, N, P commands
1820006a0bStron        4/17/84  Added '=' command, 'stop' signal handling
1920006a0bStron        4/20/84  Added line folding
2020006a0bStron v2     4/27/84  Fixed '=' command to use BOTTOM_PLUS_ONE,
2120006a0bStron                 instead of TOP, added 'p' & 'v' commands
2220006a0bStron v3     5/3/84   Added -m and -t options, '-' command
2320006a0bStron v4     5/3/84   Added LESS environment variable
2420006a0bStron v5     5/3/84   New comments, fixed '-' command slightly
2520006a0bStron v6     5/15/84  Added -Q, visual bell
2620006a0bStron v7     5/24/84  Fixed jump_back(n) bug: n should count real
2720006a0bStron                 lines, not folded lines.  Also allow number on G command.
2820006a0bStron v8     5/30/84  Re-do -q and -Q commands
2920006a0bStron v9     9/25/84  Added "+<cmd>" argument
3020006a0bStron v10    10/10/84 Fixed bug in -b<n> argument processing
3120006a0bStron v11    10/18/84 Made error() ring bell if \n not entered.
3220006a0bStron -----------------------------------------------------------------
3320006a0bStron v12    2/13/85  Reorganized signal handling and made portable to 4.2bsd.
3420006a0bStron v13    2/16/85  Reword error message for '-' command.
3520006a0bStron v14    2/22/85  Added -bf and -bp variants of -b.
3620006a0bStron v15    2/25/85  Miscellaneous changes.
3720006a0bStron v16    3/13/85  Added -u flag for backspace processing.
3820006a0bStron v17    4/13/85  Added j and k commands, changed -t default.
3920006a0bStron v18    4/20/85  Rewrote signal handling code.
4020006a0bStron v19    5/2/85   Got rid of "verbose" eq_message().
4120006a0bStron                 Made search() scroll in some cases.
4220006a0bStron v20    5/21/85  Fixed screen.c ioctls for System V.
4320006a0bStron v21    5/23/85  Fixed some first_cmd bugs.
4420006a0bStron v22    5/24/85  Added support for no RECOMP nor REGCMP.
4520006a0bStron v23    5/25/85  Miscellanous changes and prettying up.
4620006a0bStron                 Posted to USENET.
4720006a0bStron -----------------------------------------------------------------
4820006a0bStron v24    6/3/85   Added ti,te terminal init & de-init.
4920006a0bStron                 (Thanks to Mike Kersenbrock)
5020006a0bStron v25    6/8/85   Added -U flag, standout mode underlining.
5120006a0bStron v26    6/9/85   Added -M flag.
5220006a0bStron                 Use underline termcap (us) if it exists.
5320006a0bStron v27    6/15/85  Renamed some variables to make unique in
5420006a0bStron                 6 chars.  Minor fix to -m.
5520006a0bStron v28    6/28/85  Fixed right margin bug.
5620006a0bStron v29    6/28/85  Incorporated M.Rose's changes to signal.c
5720006a0bStron v30    6/29/85  Fixed stupid bug in argument processing.
5820006a0bStron v31    7/15/85  Added -p flag, changed repaint algorithm.
5920006a0bStron                 Added kludge for magic cookie terminals.
6020006a0bStron v32    7/16/85  Added cat_file if output not a tty.
6120006a0bStron v33    7/23/85  Added -e flag and EDITOR.
6220006a0bStron v34    7/26/85  Added -s flag.
6320006a0bStron v35    7/27/85  Rewrote option handling; added option.c.
6420006a0bStron v36    7/29/85  Fixed -e flag to work if not last file.
6520006a0bStron v37    8/10/85  Added -x flag.
6620006a0bStron v38    8/19/85  Changed prompting; created prompt.c.
6720006a0bStron v39    8/24/85  (Not -p) does not initially clear screen.
6820006a0bStron v40    8/26/85  Added "skipping" indicator in forw().
6920006a0bStron                 Posted to USENET.
7020006a0bStron -----------------------------------------------------------------
7120006a0bStron v41    9/17/85  ONLY_RETURN, control char commands,
7220006a0bStron                 faster search, other minor fixes.
7320006a0bStron v42    9/25/85  Added ++ command line syntax;
7420006a0bStron                 ch_fsize for pipes.
7520006a0bStron v43    10/15/85 Added -h flag, changed prim.c algorithms.
7620006a0bStron v44    10/16/85 Made END print in all cases of eof;
7720006a0bStron                 ignore SIGTTOU after receiv ing SIGTSTP.
7820006a0bStron v45    10/16/85 Never print backspaces unless -u.
7920006a0bStron v46    10/24/85 Backwards scroll in jump_loc.
8020006a0bStron v47    10/30/85 Fixed bug in edit(): *first_cmd==0
8120006a0bStron v48    11/16/85 Use TIOCSETN instead of TIOCSETP.
8220006a0bStron                 Added marks (m and ' commands).
8320006a0bStron                 Posted to USENET.
8420006a0bStron -----------------------------------------------------------------
8520006a0bStron v49    1/9/86   Fixed bug: signal didn't clear mcc.
8620006a0bStron v50    1/15/86  Added ' (quote) to gomark.
8720006a0bStron v51    1/16/86  Added + cmd, fixed problem if first_cmd
8820006a0bStron                 fails, made g cmd sort of "work" on pipes
8920006a0bStron                 ev en if bof is no longer buffered.
9020006a0bStron v52    1/17/86  Made short files work better.
9120006a0bStron v53    1/20/86  Added -P option.
9220006a0bStron v54    1/20/86  Changed help to use HELPFILE.
9320006a0bStron v55    1/23/86  Messages work better if not tty output.
9420006a0bStron v56    1/24/86  Added -l option.
9520006a0bStron v57    1/31/86  Fixed -l to get confirmation before
9620006a0bStron                 ov erwriting an existing file.
9720006a0bStron v58    8/28/86  Added filename globbing.
9820006a0bStron v59    9/15/86  Fixed some bugs with very long filenames.
9920006a0bStron v60    9/26/86  Incorporated changes from Leith (Casey)
10020006a0bStron                 Leedom for boldface and -z option.
10120006a0bStron v61    9/26/86  Got rid of annoying repaints after ! cmd.
10220006a0bStron                 Posted to USENET.
10320006a0bStron -----------------------------------------------------------------
10420006a0bStron v62    12/23/86 Added is_directory(); change -z default to
10520006a0bStron                 -1 instead of 24; cat-and-exit if -e and
10620006a0bStron                 file is less than a screenful.
10720006a0bStron v63    1/8/87   Fixed bug in cat-and-exit if > 1 file.
10820006a0bStron v64    1/12/87  Changed puts/putstr, putc/putchr,
10920006a0bStron                 getc/getchr to av oid name conflict with
11020006a0bStron                 stdio functions.
11120006a0bStron v65    1/26/87  Allowed '-' command to change NUMBER
11220006a0bStron                 v alued options (thanks to Gary Puckering)
11320006a0bStron v66    2/13/87  Fixed bug: prepaint should use force=1.
11420006a0bStron v67    2/24/87  Added !! and % expansion to ! command.
11520006a0bStron v68    2/25/87  Added SIGWINCH and TIOCGWINSZ support;
11620006a0bStron                 changed is_directory to bad_file.
11720006a0bStron                 (thanks to J. Robert Ward)
11820006a0bStron v69    2/25/87  Added SIGWIND and WIOCGETD (for Unix PC).
11920006a0bStron v70    3/13/87  Changed help cmd from 'h' to 'H'; better
12020006a0bStron                 error msgs in bad_file, errno_message.
12120006a0bStron v71    5/11/87  Changed -p to -c, made triple -c/-C
12220006a0bStron                 for clear-eol like more's -c.
12320006a0bStron v72    6/26/87  Added -E, -L, use $SHELL in lsystem().
12420006a0bStron                 (thanks to Stev e Spearman)
12520006a0bStron v73    6/26/87  Allow Examine "#" for previous file.
12620006a0bStron                 Posted to USENET 8/25/87.
12720006a0bStron -----------------------------------------------------------------
12820006a0bStron v74    9/18/87  Fix conflict in EOF symbol with stdio.h,
12920006a0bStron                 Make os.c more portable to BSD.
13020006a0bStron v75    9/23/87  Fix problems in get_term (thanks to
13120006a0bStron                 Paul Eggert); new backwards scrolling in
13220006a0bStron                 jump_loc (thanks to Marion Hakanson).
13320006a0bStron v76    9/23/87  Added -i flag; allow single "!" to
13420006a0bStron                 inv oke a shell (thanks to Franco Barber).
13520006a0bStron v77    9/24/87  Added -n flag and line number support.
13620006a0bStron v78    9/25/87  Fixed problem with prompts longer than
13720006a0bStron                 the screen width.
13820006a0bStron v79    9/29/87  Added the _ command.
13920006a0bStron v80    10/6/87  Allow signal to break out of linenum scan.
14020006a0bStron v81    10/6/87  Allow -b to be changed from within less.
14120006a0bStron v82    10/7/87  Add cmd_decode to use a table for key
14220006a0bStron                 binding (thanks to Dav id Nason).
14320006a0bStron v83    10/9/87  Allow .less file for user-defined keys.
14420006a0bStron v84    10/11/87 Fix -e/-E problems (thanks to Felix Lee).
14520006a0bStron v85    10/15/87 Search now keeps track of line numbers.
14620006a0bStron v86    10/20/87 Added -B option and autobuf; fixed
14720006a0bStron                 "pipe error" bug.
14820006a0bStron v87    3/1/88   Fix bug re BSD signals while reading file.
14920006a0bStron v88    3/12/88  Use new format for -P option (thanks to
15020006a0bStron                 der Mouse), allow "+-c" without message,
15120006a0bStron                 fix bug re BSD hangup.
15220006a0bStron v89    3/18/88  Turn off line numbers if linenum scan
15320006a0bStron                 is interrupted.
15420006a0bStron v90    3/30/88  Allow -P from within less.
15520006a0bStron v91    3/30/88  Added tags file support (new -t option)
15620006a0bStron                 (thanks to Brian Campbell).
15720006a0bStron v92    4/4/88   Added -+option syntax.
15820006a0bStron v93    4/11/88  Add support for slow input (thanks to
15920006a0bStron                 Joe Orost & apologies for taking almost
16020006a0bStron                 3 years to get this in!)
16120006a0bStron v94    4/11/88  Redo reading/signal stuff.
16220006a0bStron v95    4/20/88  Repaint screen better after signal.
16320006a0bStron v96    4/21/88  Add /! and ?! commands.
16420006a0bStron v97    5/17/88  Allow -l/-L from within less.
16520006a0bStron                 Eliminate some static arrays (use calloc).
16620006a0bStron                 Posted to USENET.
16720006a0bStron -----------------------------------------------------------------
16820006a0bStron v98    10/14/88 Fix incorrect calloc call; uninitialized
16920006a0bStron                 var in exec_mca; core dump on unknown TERM.
17020006a0bStron                 Make v cmd work if past last line of file.
17120006a0bStron                 Fix some signal bugs.
17220006a0bStron v99    10/29/88 Allow space between -X and string,
17320006a0bStron                 when X is a string-valued option.
17420006a0bStron v100   1/5/89   Fix globbing bug when $SHELL not set;
17520006a0bStron                 allow spaces after -t command.
17620006a0bStron v101   1/6/89   Fix problem with long (truncated) lines
17720006a0bStron                 in tags file (thanks to Neil Dixon).
17820006a0bStron v102   1/6/89   Fix bug with E# when no prev file;
17920006a0bStron                 allow spaces after -l command.
18020006a0bStron v103   3/14/89  Add -N, -f and -? options.  Add z and w
18120006a0bStron                 commands.  Add %L for prompt strings.
18220006a0bStron v104   3/16/89  Added EDITPROTO.
18320006a0bStron v105   3/20/89  Fix bug in find_linenum which cached
18420006a0bStron                 incorrectly on long lines.
18520006a0bStron v106   3/31/89  Added -k option and multiple lesskey
18620006a0bStron                 files.
18720006a0bStron v107   4/27/89  Add 8-bit char support and -g option.
18820006a0bStron                 Split option code into 3 files.
18920006a0bStron v108   5/5/89   Allocate position table dynamically
19020006a0bStron                 (thanks to Paul Eggert); change % command
19120006a0bStron                 from "percent" to vi-style brace finder.
19220006a0bStron v109   5/10/89  Added ESC-% command, split prim.c.
19320006a0bStron v110   5/24/89  Fixed bug in + option; fixed repaint bug
19420006a0bStron                 under Sun windows (thanks to Paul Eggert).
19520006a0bStron v111   5/25/89  Generalized # and % expansion; use
19620006a0bStron                 calloc for some error messages.
19720006a0bStron v112   5/30/89  Get rid of ESC-%, add {}()[] commands.
19820006a0bStron v113   5/31/89  Optimize lseeks (thanks to Paul Eggert).
19920006a0bStron v114   7/25/89  Added ESC-/ and ESC-/! commands.
20020006a0bStron v115   7/26/89  Added ESC-n command.
20120006a0bStron v116   7/31/89  Added find_pos to optimize g command.
20220006a0bStron v117   8/1/89   Change -f option to -r.
20320006a0bStron v118   8/2/89   Save positions for all previous files,
20420006a0bStron                 not just the immediately previous one.
20520006a0bStron v119   8/7/89   Save marks across file boundaries.
20620006a0bStron                 Add file handle stuff.
20720006a0bStron v120   8/11/89  Add :ta command.
20820006a0bStron v121   8/16/89  Add -f option.
20920006a0bStron v122   8/30/89  Fix performance with many buffers.
21020006a0bStron v123   8/31/89  Verbose prompts for string options.
21120006a0bStron                 Posted beta to USENET.
21220006a0bStron -----------------------------------------------------------------
21320006a0bStron v124   9/18/89  Reorganize search commands,
21420006a0bStron                 N = rev, ESC-n = span, add ESC-N.
21520006a0bStron v125   9/18/89  Fix tab bug (thanks to Alex Liu).
21620006a0bStron                 Fix EOF bug when both -w and -c.
21720006a0bStron v126   10/25/89 Add -j option.
21820006a0bStron v127   10/27/89 Fix problems with blank lines before BOF.
21920006a0bStron v128   10/27/89 Add %bj, etc. to prompt strings.
22020006a0bStron v129   11/3/89  Add -+,-- commands; add set-option and
22120006a0bStron                 unset-option to lesskey.
22220006a0bStron v130   11/6/89  Generalize A_EXTRA to string, remove
22320006a0bStron                 set-option, unset-option from lesskey.
22420006a0bStron v131   11/7/89  Changed name of EDITPROTO to LESSEDIT.
22520006a0bStron v132   11/8/89  Allow editing of command prefix.
22620006a0bStron v133   11/16/89 Add -y option (thanks to Jeff Sullivan).
22720006a0bStron v134   12/1/89  Glob filenames in the -l command.
22820006a0bStron v135   12/5/89  Combined {}()[] commands into one, and
22920006a0bStron                 added ESC-^F and ESC-^B commands.
23020006a0bStron v136   1/20/90  Added -S, -R flags.  Added | command.
23120006a0bStron                 Added warning for binary files. (thanks
23220006a0bStron                 to Richard Brittain and J. Sullivan).
23320006a0bStron v137   1/21/90  Rewrote horrible pappend code.
23420006a0bStron                 Added * notation for hi-bit chars.
23520006a0bStron v138   1/24/90  Fix magic cookie terminal handling.
23620006a0bStron                 Get rid of "cleanup" loop in ch_get.
23720006a0bStron v139   1/27/90  Added MSDOS support.  (many thanks
23820006a0bStron                 to Richard Brittain).
23920006a0bStron v140   2/7/90   Editing a new file adds it to the
24020006a0bStron                 command line list.
24120006a0bStron v141   2/8/90   Add edit_list for editing >1 file.
24220006a0bStron v142   2/10/90  Add :x command.
24320006a0bStron v143   2/11/90  Add * and @ modifies to search cmds.
24420006a0bStron                 Change ESC-/ cmd from /@* to / *.
24520006a0bStron v144   3/1/90   Messed around with ch_zero;
24620006a0bStron                 no real change.
24720006a0bStron v145   3/2/90   Added -R and -v/-V for MSDOS;
24820006a0bStron                 renamed FILENAME to avoid conflict.
24920006a0bStron v146   3/5/90   Pull cmdbuf functions out of command.c
25020006a0bStron v147   3/7/90   Implement ?@; fix multi-file edit bugs.
25120006a0bStron v148   3/29/90  Fixed bug in :e<file> then :e#.
25220006a0bStron v149   4/3/90   Change error,ierror,query to use PARG.
25320006a0bStron v150   4/6/90   Add LESS_CHARSET, LESS_CHARDEF.
25420006a0bStron v151   4/13/90  Remove -g option; clean up ispipe.
25520006a0bStron v152   4/14/90  lsystem() closes input file, for
25620006a0bStron                 editors which require exclusive open.
25720006a0bStron v153   4/18/90  Fix bug if SHELL unset;
25820006a0bStron                 fix bug in overstrike control char.
25920006a0bStron v154   4/25/90  Output to fd 2 via buffer.
26020006a0bStron v155   4/30/90  Ignore -i if uppercase in pattern
26120006a0bStron                 (thanks to Michael Rendell.)
26220006a0bStron v156   5/3/90   Remove scroll limits in forw() & back();
26320006a0bStron                 causes problems with -c.
26420006a0bStron v157   5/4/90   Forward search starts at next real line
26520006a0bStron                 (not screen line) after jump target.
26620006a0bStron v158   6/14/90  Added F command.
26720006a0bStron v159   7/29/90  Fix bug in exiting: output not flushed.
26820006a0bStron v160   7/29/90  Clear screen before initial output w/ -c.
26920006a0bStron v161   7/29/90  Add -T flag.
27020006a0bStron v162   8/14/90  Fix bug with +F on command line.
27120006a0bStron v163   8/21/90  Added LESSBINFMT variable.
27220006a0bStron v164   9/5/90   Added -p, LINES, COLUMNS and
27320006a0bStron                 unset mark ' == BOF, for 1003.2 D5.
27420006a0bStron v165   9/6/90   At EOF with -c set, don't display empty
27520006a0bStron                 screen when try to page forward.
27620006a0bStron v166   9/6/90   Fix G when final line in file wraps.
27720006a0bStron v167   9/11/90  Translate CR/LF -> LF for 1003.2.
27820006a0bStron v168   9/13/90  Return to curr file if "tag not found".
27920006a0bStron v169   12/12/90 G goes to EOF even if file has grown.
28020006a0bStron v170   1/17/91  Add optimization for BSD _setjmp;
28120006a0bStron                 fix #include ioctl.h TERMIO problem.
28220006a0bStron                 (thanks to Paul Eggert)
28320006a0bStron                 Posted to USENET.
28420006a0bStron -----------------------------------------------------------------
28520006a0bStron v171   3/6/91   Fix -? bug in get_filename.
28620006a0bStron v172   3/15/91  Fix G bug in empty file.
28720006a0bStron                 Fix bug with ?\n and -i and uppercase
28820006a0bStron                 pattern at EOF!
28920006a0bStron                 (thanks to Paul Eggert)
29020006a0bStron v173   3/17/91  Change N cmd to not permanently change
29120006a0bStron                 direction. (thanks to Brian Matthews)
29220006a0bStron v174   3/18/91  Fix bug with namelogfile not getting
29320006a0bStron                 cleared when change files.
29420006a0bStron v175   3/18/91  Fix bug with ++cmd on command line.
29520006a0bStron                 (thanks to Jim Meyering)
29620006a0bStron v176   4/2/91   Change | to not force current screen,
29720006a0bStron                 include marked line, start/end from
29820006a0bStron                 top of screen.  Improve search speed.
29920006a0bStron                 (thanks to Don Mears)
30020006a0bStron v177   4/2/91   Add LESSHELP variable.
30120006a0bStron                 Fix bug with F command with -e.
30220006a0bStron                 Try /dev/tty for input before using fd 2.
30320006a0bStron                 Patches posted to USENET  4/2/91.
30420006a0bStron -----------------------------------------------------------------
30520006a0bStron v178   4/8/91   Fixed bug in globbing logfile name.
30620006a0bStron                 (thanks to Jim Meyering)
30720006a0bStron v179   4/9/91   Allow negative -z for screen-relative.
30820006a0bStron v180   4/9/91   Clear to eos rather than eol if "db";
30920006a0bStron                 don't use "sr" if "da".
31020006a0bStron                 (thanks to Tor Lillqvist)
31120006a0bStron v181   4/18/91  Fixed bug with "negative" chars 80 - FF.
31220006a0bStron                 (thanks to Benny Sander Hofmann)
31320006a0bStron v182   5/16/91  Fixed bug with attribute at EOL.
31420006a0bStron                 (thanks to Brian Matthews)
31520006a0bStron v183   6/1/91   Rewrite linstall to do smart config.
31620006a0bStron v184   7/11/91  Process \b in searches based on -u
31720006a0bStron                 rather than -i.
31820006a0bStron v185   7/11/91  -Pxxx sets short prompt; assume SIGWINCH
31920006a0bStron                 after a SIGSTOP. (thanks to Ken Laprade)
32020006a0bStron -----------------------------------------------------------------
32120006a0bStron v186   4/20/92  Port to MS-DOS (Microsoft C).
32220006a0bStron v187   4/23/92  Added -D option & TAB_COMPLETE_FILENAME.
32320006a0bStron v188   4/28/92  Added command line editing features.
32420006a0bStron v189   12/8/92  Fix mem overrun in anscreen.c:init;
32520006a0bStron                 fix edit_list to recover from bin file.
32620006a0bStron v190   2/13/93  Make TAB enter one filename at a time;
32720006a0bStron                 create ^L with old TAB functionality.
32820006a0bStron v191   3/10/93  Defer creating "flash" page for MS-DOS.
32920006a0bStron v192   9/6/93   Add BACK-TAB.
33020006a0bStron v193   9/17/93  Simplify binary_file handling.
33120006a0bStron v194   1/4/94   Add rudiments of alt_filename handling.
33220006a0bStron v195   1/11/94  Port back to Unix; support keypad.
33320006a0bStron -----------------------------------------------------------------
33420006a0bStron v196   6/7/94   Fix bug with bad filename; fix IFILE
33520006a0bStron                 type problem. (thanks to David MacKenzie)
33620006a0bStron v197   6/7/94   Fix bug with .less tables inserted wrong.
33720006a0bStron v198   6/23/94  Use autoconf installation technology.
33820006a0bStron                 (thanks to David MacKenzie)
33920006a0bStron v199   6/29/94  Fix MS-DOS build (thanks to Tim Wiegman).
34020006a0bStron v200   7/25/94  Clean up copyright, minor fixes.
34120006a0bStron         Posted to prep.ai.mit.edu
34220006a0bStron -----------------------------------------------------------------
34320006a0bStron v201   7/27/94  Check for no memcpy; add casts to calloc;
34420006a0bStron                 look for regcmp in libgen.a.
34520006a0bStron                 (thanks to Kaveh Ghazi).
34620006a0bStron v202   7/28/94  Fix bug in edit_next/edit_prev with
347ec18bca0Stron                 non-existent files.
34820006a0bStron v203   8/2/94   Fix a variety of configuration bugs on
34920006a0bStron                 various systems. (thanks to Sakai
35020006a0bStron                 Kiyotaka, Harald Koenig, Bjorn Brox,
35120006a0bStron                 Teemu Rantanen, and Thorsten Lockert)
35220006a0bStron v204   8/3/94   Use strerror if available.
35320006a0bStron                 (thanks to J.T. Conklin)
35420006a0bStron v205   8/5/94   Fix bug in finding "me" termcap entry.
35520006a0bStron                 (thanks to Andreas Stolcke)
35620006a0bStron 8/10/94         v205+: Change BUFSIZ to LBUFSIZE to avoid name
35720006a0bStron                 conflict with stdio.h.
35820006a0bStron                 Posted to prep.ai.mit.edu
35920006a0bStron -----------------------------------------------------------------
36020006a0bStron v206   8/10/94  Use initial_scrpos for -t to avoid
36120006a0bStron                 displaying first page before init().
36220006a0bStron                 (thanks to Dominique Petitpierre)
36320006a0bStron v207   8/12/94  Fix bug if stdout is not tty.
36420006a0bStron v208   8/16/94  Fix bug in close_altfile if goto err1
36520006a0bStron                 in edit_ifile. (Thanks to M.J. Hewitt)
36620006a0bStron v209   8/16/94  Change scroll to wscroll to avoid
36720006a0bStron                 conflict with library function.
36820006a0bStron v210   8/16/94  Fix bug with bold on 8 bit chars.
36920006a0bStron                 (thanks to Vitor Duarte)
37020006a0bStron v211   8/16/94  Don't quit on EOI in jump_loc / forw.
37120006a0bStron v212   8/18/94  Use time_t if available.
37220006a0bStron v213   8/20/94  Allow ospeed to be defined in termcap.h.
37320006a0bStron v214   8/20/94  Added HILITE_SEARCH, -F, ESC-u cmd.
37420006a0bStron                 (thanks to Paul Lew and Bob Byrnes)
37520006a0bStron v215   8/23/94  Fix -i toggle behavior.
37620006a0bStron v216   8/23/94  Process BS in all searches, not only -u.
37720006a0bStron v217   8/24/94  Added -X flag.
37820006a0bStron v218   8/24/94  Reimplement undo_search.
37920006a0bStron v219   8/24/94  Find tags marked with line number
38020006a0bStron                 instead of pattern.
38120006a0bStron v220   8/24/94  Stay at same position after SIG_WINCH.
38220006a0bStron v221   8/24/94  Fix bug in file percentage in big file.
38320006a0bStron v222   8/25/94  Do better if can't reopen current file.
38420006a0bStron v223   8/27/94  Support setlocale.
38520006a0bStron                 (thanks to Robert Joop)
38620006a0bStron v224   8/29/94  Revert v216: process BS in search
38720006a0bStron                 only if -u.
38820006a0bStron v225   9/6/94   Rewrite undo_search again: toggle.
38920006a0bStron v226   9/15/94  Configuration fixes.
39020006a0bStron                 (thanks to David MacKenzie)
39120006a0bStron v227   9/19/94  Fixed strerror config problem.
39220006a0bStron                 Posted to prep.ai.mit.edu
39320006a0bStron -----------------------------------------------------------------
39420006a0bStron v228   9/21/94  Fix bug in signals: repeated calls to
39520006a0bStron                 get_editkeys overflowed st_edittable.
39620006a0bStron v229   9/21/94  Fix "Nothing to search" error if -a
39720006a0bStron                 and SRCH_PAST_EOF.
39820006a0bStron v230   9/21/94  Don't print extra error msg in search
39920006a0bStron                 after regerror().
40020006a0bStron v231   9/22/94  Fix hilite bug if search matches 0 chars.
40120006a0bStron                 (thanks to John Polstra)
40220006a0bStron v232   9/23/94  Deal with weird systems that have
40320006a0bStron                 termios.h but not tcgetattr().
40420006a0bStron                 Posted to prep.ai.mit.edu
40520006a0bStron -----------------------------------------------------------------
40620006a0bStron v233   9/26/94  Use get_term() instead of pos_init() in
40720006a0bStron                 psignals to re-get lower_left termcap.
40820006a0bStron                 (Thanks to John Malecki)
40920006a0bStron v234   9/26/94  Make MIDDLE closer to middle of screen.
41020006a0bStron v235   9/27/94  Use local strchr if system doesn't have.
41120006a0bStron v236   9/28/94  Don't use libucb; use libterm if
41220006a0bStron                 libtermcap & libcurses doesn't work.
41320006a0bStron                 (Fix for Solaris; thanks to Frank Kaefer)
41420006a0bStron v237   9/30/94  Use system isupper() etc if provided.
41520006a0bStron                 Posted to prep.ai.mit.edu
41620006a0bStron -----------------------------------------------------------------
41720006a0bStron v238   10/6/94  Make binary non-blinking if LESSBINFMT
41820006a0bStron                 is set to a string without a *.
41920006a0bStron v239   10/7/94  Don't let delimit_word run back past
42020006a0bStron                 beginning of cmdbuf.
42120006a0bStron v240   10/10/94 Don't write into termcap buffer.
42220006a0bStron                 (Thanks to Benoit Speckel)
42320006a0bStron v241   10/13/94 New lesskey file format.
42420006a0bStron                 Don't expand filenames in search command.
42520006a0bStron v242   10/14/94 Allow lesskey specification of "literal".
42620006a0bStron v243   10/14/94 Add #stop command to lesskey.
42720006a0bStron v244   10/16/94 Add -f flag to lesskey.
42820006a0bStron v245   10/25/94 Allow TAB_COMPLETE_FILENAME to be undefd.
42920006a0bStron v246   10/27/94 Move help file to /usr/local/share.
43020006a0bStron v247   10/27/94 Add -V option.
43120006a0bStron v248   11/5/94  Add -V option to lesskey.
43220006a0bStron v249   11/5/94  Remove -f flag from lesskey; default
43320006a0bStron                 input file is ~/.lesskey.in, not stdin.
43420006a0bStron v250   11/7/94  Lesskey input file "-" means stdin.
43520006a0bStron v251   11/9/94  Convert cfgetospeed result to ospeed.
43620006a0bStron                 (Thanks to Andrew Chernov)
43720006a0bStron v252   11/16/94 Change default lesskey input file from
43820006a0bStron                 .lesskey.in to .lesskey.
43920006a0bStron                 Posted to prep.ai.mit.edu
44020006a0bStron -----------------------------------------------------------------
44120006a0bStron v253   11/21/94 Fix bug when tags file has a backslash.
44220006a0bStron v254   12/6/94  Fix -k option.
44320006a0bStron v255   12/8/94  Add #define EXAMINE to disable :e etc.
44420006a0bStron v256   12/10/94 Change highlighting: only highlite search
44520006a0bStron                 results (but now it is reliable).
44620006a0bStron v257   12/10/94 Add goto_line and repaint_highlight
44720006a0bStron                 to optimize highlight repaints.
44820006a0bStron v258   12/12/94 Fixup in hilite_line if BS_SPECIAL.
44920006a0bStron v259   12/12/94 Convert to autoconf 2.0.
45020006a0bStron v260   12/13/94 Add SECURE define.
45120006a0bStron v261   12/14/94 Use system WERASE char as EC_W_BACKSPACE.
45220006a0bStron v262   12/16/94 Add -g/-G flag and screen_hilite.
45320006a0bStron v263   12/20/94 Reimplement/optimize -G flag behavior.
45420006a0bStron v264   12/23/94 Allow EXTRA string after line-edit cmd
45520006a0bStron                 in lesskey file.
45620006a0bStron v265   12/24/94 Add LESSOPEN=|cmd syntax.
45720006a0bStron v266   12/26/94 Add -I flag.
45820006a0bStron v267   12/28/94 Formalize the four-byte header emitted
45920006a0bStron                 by a LESSOPEN pipe.
46020006a0bStron v268   12/28/94 Get rid of four-byte header.
46120006a0bStron v269   1/2/95   Close alt file before open new one.
46220006a0bStron                 Avoids multiple popen().
46320006a0bStron v270   1/3/95   Use VISUAL; use S_ISDIR/S_ISREG; fix
46420006a0bStron                 config problem with Solaris POSIX regcomp.
46520006a0bStron v271   1/4/95   Don't quit on read error.
46620006a0bStron v272   1/5/95   Get rid of -L.
46720006a0bStron v273   1/6/95   Fix ch_ungetchar bug; don't call
46820006a0bStron                 LESSOPEN on a pipe.
46920006a0bStron v274   1/6/95   Ported to OS/2 (thanks to Kai Uwe Rommel)
47020006a0bStron v275   1/18/95  Fix bug if toggle -G at EOF.
47120006a0bStron v276   1/30/95  Fix OS/2 version.
47220006a0bStron v277   1/31/95  Add "next" charset; don't display ^X
47320006a0bStron                 for X > 128.
47420006a0bStron v278   2/14/95  Change default for -G.
47520006a0bStron                 Posted to prep.ai.mit.edu
47620006a0bStron -----------------------------------------------------------------
47720006a0bStron v279   2/22/95  Add GNU options --help, --version.
47820006a0bStron                 Minor config fixes.
47920006a0bStron v280   2/24/95  Clean up calls to glob(); don't set #
48020006a0bStron                 if we can't open the new file.
48120006a0bStron v281   2/24/95  Repeat search should turn on hilites.
48220006a0bStron v282   3/2/95   Minor fixes.
48320006a0bStron v283   3/2/95   Fix homefile; make OS2 look in $HOME.
48420006a0bStron v284   3/2/95   Error if "v" on LESSOPENed file;
48520006a0bStron                 "%" figures out file size on pipe.
48620006a0bStron v285   3/7/95   Don't set # in lsystem;
48720006a0bStron                 lesskey try $HOME first.
48820006a0bStron v286   3/7/95   Reformat change history (too much free time?).
48920006a0bStron v287   3/8/95   Fix hilite bug if overstrike multiple chars.
49020006a0bStron v288   3/8/95   Allow lesskey to override get_editkey keys.
49120006a0bStron v289   3/9/95   Fix adj_hilite bug when line gets processed by
49220006a0bStron                 hilite_line more than once.
49320006a0bStron v290   3/9/95   Make configure automatically.  Fix Sequent problem
49420006a0bStron                 with incompatible sigsetmask().
49520006a0bStron                 Posted to prep.ai.mit.edu
49620006a0bStron -----------------------------------------------------------------
49720006a0bStron v291   3/21/95  Add #env to lesskey.  Fix MS-DOS build.
49820006a0bStron                 Posted to simtel.
49920006a0bStron -----------------------------------------------------------------
50020006a0bStron v292   4/24/95  Add MS-DOS support for Borland C.
50120006a0bStron                 Fix arrow keys in MS-DOS versions.
50220006a0bStron v293   4/28/95  Add auto-versioning stuff to make dist.
50320006a0bStron v294   5/12/95  Fix Borland build.
50420006a0bStron v295   1/20/96  Fix search on squished file; add /@@.
50520006a0bStron v296   1/23/96  Allow cmdbuf larger than screen width.
50620006a0bStron v297   1/24/96  Don't call termcap if tgetent fails;
50720006a0bStron                 add #defines for buffers.
50820006a0bStron v298   1/24/96  Change @@ to ^K.
50920006a0bStron                 Add alternate search modifiers ^N, ^F, ^E.
51020006a0bStron v299   1/25/96  Fix percent overflow in jump_percent (thanks to Brent Wiese);
51120006a0bStron                 don't send "ti" after shell command till RETURN pressed.
51220006a0bStron v300   1/25/96  Change -U to print tabs as ^I.
51320006a0bStron v301   1/30/96  Make hilites work in cmd F output.
51420006a0bStron v302   1/31/96  Fix cmd F to notice window-change signals.
51520006a0bStron v303   1/31/96  Add ESC-SPACE command.
51620006a0bStron v304   2/1/96   Add ^R search modifier; add LESSSECURE.
51720006a0bStron v305   2/2/96   Workaround Linux /proc kernel bug; add LESSKEY.
51820006a0bStron v306   3/16/96  Minor fixes.
51920006a0bStron v307   3/25/96  Allow cmd line arg "--"; fix DOS & OS/2 defines.h.
52020006a0bStron v308   4/4/96   Port to OS-9 (thanks to Boisy Pitre); fix -d.
52120006a0bStron v309   4/9/96   Fix OS-9 version; fix tags bug with "$".
52220006a0bStron v310   4/10/96  Get rid of HELPFILE.
52320006a0bStron v311   4/22/96  Add Windows32 support; merge doscreen.c into screen.c.
52420006a0bStron v312   4/24/96  Don't quit after "cannot reopen" error.
52520006a0bStron v313   4/25/96  Added horizontal scrolling.
52620006a0bStron v314   4/26/96  Modified -e to quit on reaching end of a squished file.
52720006a0bStron v315   4/26/96  Fix "!;TAB" bug.
52820006a0bStron v316   5/2/96   Make "|a" when (a < curr screen) go to end of curr screen.
52920006a0bStron v317   5/14/96  Various fixes for the MS-DOS and OS/2 builds.
53020006a0bStron                 Added ## and %% handling for filenames
53120006a0bStron v318   5/29/96  Port to OS-9 Microware compiler; minor fixes
53220006a0bStron                 (thanks to Martin Gregorie).
53320006a0bStron v319   7/8/96   Fix Windows port (thanks to Jeff Paquette).
53420006a0bStron v320   7/11/96  Final fixes for Windows port.
53520006a0bStron v321   7/18/96  Minor fixes.
53620006a0bStron                 Posted to Web page.
53720006a0bStron -----------------------------------------------------------------
53820006a0bStron v322   8/13/96  Fix bug in shell escape from help file; add support for
53920006a0bStron                 Microsoft Visual C under Windows; numerous small fixes.
54020006a0bStron v323   8/19/96  Fixes for Windows version (thanks to Simon Munton);
54120006a0bStron                 fix for Linux library weirdness (thanks to Jim Diamond);
54220006a0bStron                 port to DJGPP (thanks to Eli Zaretskii).
54320006a0bStron v324   8/21/96  Add support for spaces in filenames (thanks to Simon Munton).
54420006a0bStron v325   8/21/96  Add lessecho, for spaces in filenames under Unix.
54520006a0bStron v326   8/27/96  Fix DJGPP version.
54620006a0bStron v327   9/1/96   Reorganize lglob, make spaces in filenames work better in Unix.
54720006a0bStron v328   10/7/96  Append / to directory name in filename completion.
54820006a0bStron                 Fix MS-DOS and OS-9 versions.
54920006a0bStron v329   10/11/96 Fix more MS-DOS bugs; add LESSSEPARATOR; add -" option.
55020006a0bStron                 Add LESSMETACHARS, LESSMETAESCAPE.
55120006a0bStron v330   10/21/96 Minor fixes.
55220006a0bStron                 Posted to Web page.
55320006a0bStron -----------------------------------------------------------------
55420006a0bStron v331   4/22/97  Various Windows fixes (thanks to Gurusamy Sarathy).
55520006a0bStron v332   4/22/97  Enter filenames from cmd line into edit history.
55620006a0bStron                 Posted to Web page.
55720006a0bStron -----------------------------------------------------------------
55820006a0bStron v333    3/4/99  Changed -w to highlite new line after forward movement.
55920006a0bStron v334    3/9/99  Avoid overflowing prompt buffer; add %d and %D.
56020006a0bStron v335   3/20/99  Add EBCDIC support (thanks to Thomas Dorner).
56120006a0bStron                 Use HOMEDRIVE/HOMEPATH on Windows (thanks to Preston Bannister).
56220006a0bStron                 Posted to Web page.
56320006a0bStron -----------------------------------------------------------------
56420006a0bStron v336    4/8/99  Fix installation bugs.
56520006a0bStron v337    4/9/99  Fix another installation bug.
56620006a0bStron                 Posted to Web page.
56720006a0bStron -----------------------------------------------------------------
56820006a0bStron v338   4/13/99  Add support for long option names.
56920006a0bStron v339   4/18/99  Add \k, long option names to lesskey.  Add -^P.  Add :d.
57020006a0bStron v340   4/21/99  Add regexec2.  Fix Windows build.
57120006a0bStron                 Posted to Web page.
57220006a0bStron -----------------------------------------------------------------
57320006a0bStron v341    5/6/99  Add -F option; %c & ?c prompt escapes.
57420006a0bStron                 (Thanks to Michele Maltoni)
57520006a0bStron v342   7/22/99  Add system-wide lesskey file; allow GPL or Less License.
57620006a0bStron v343   9/23/99  Support UTF-8 (Thanks to Robert Brady).
57720006a0bStron                 Add %P and ?P in prompts.
57820006a0bStron v344  10/27/99  -w highlights target line of g and p commands.
57920006a0bStron v345  10/29/99  Make -R pass thru ESC but not other control chars.
58020006a0bStron                 Posted to Web page.
58120006a0bStron -----------------------------------------------------------------
58220006a0bStron v346   11/4/99  Fix bugs in long option processing; R cmd should clear hilites.
58320006a0bStron                 Posted to Web page.
58420006a0bStron -----------------------------------------------------------------
58520006a0bStron v347  12/13/99  Fixes for DJGPP version (thanks to Eli Zaretskii).
58620006a0bStron v348  12/28/99  Fix deleting file with marks (thanks to Dimitar Jekov).
58720006a0bStron                 Fix color problem in DJGPP version (thanks to Eli Zaretskii).
58820006a0bStron v349   1/24/00  Fix minor DJGPP bugs; check environment vars for UTF-8;
58920006a0bStron                 add --with-editor (thanks to Eli, Markus Kuhn, Thomas Schoepf).
59020006a0bStron v350   3/1/00   Fix clear-while-standout bug.
59120006a0bStron v351   3/5/00   Change -M and = prompts to show top & bottom line number.
59220006a0bStron                 Posted to Web page.
59320006a0bStron -----------------------------------------------------------------
59420006a0bStron v352   3/8/00   Fix scan_option NULL dereference.
59520006a0bStron -----------------------------------------------------------------
59620006a0bStron v353   3/20/00  Fix SECURE compile bug, allow space after numeric option.
59720006a0bStron v354   3/23/00  Add support for PCRE; add --with-regex configure option.
59820006a0bStron -----------------------------------------------------------------
59920006a0bStron v355   6/28/00  Add -# option (thanks to Andy Levinson).
60020006a0bStron v356   7/5/00   Add -J option.
60120006a0bStron v357   7/6/00   Support sigprocmask.
60220006a0bStron -----------------------------------------------------------------
60320006a0bStron v358   7/8/00   Fix problems with #stop in lesskey file.
60420006a0bStron                 Posted to Web page.
60520006a0bStron -----------------------------------------------------------------
60620006a0bStron v359  9/10/00   Fixes for Win32 display problems (thanks to Maurizio Vairani).
60720006a0bStron v360  1/17/01   Move sysless to etc.
60820006a0bStron v361  12/4/01   Add IBM-1047 charset & EBCDIC fixes (thanks to Thomas Dorner).
60920006a0bStron                 Fix 32 bit dependencies (thanks to Paul Eggert).
61020006a0bStron                 Fix UTF-8 overstriking (thanks to Robert Brady).
61120006a0bStron v362  12/4/01   Make status column show search targets.
61220006a0bStron v363  12/6/01   Add --no-keypad option.
61320006a0bStron                 Add variable width tabstops (thanks to Peter Samuelson).
61420006a0bStron v364 12/10/01   Better handling of very long lines in input;
61520006a0bStron                 Fix horizontal shifting of colored text.
61620006a0bStron v365 12/11/01   Fix overstriking of tabs;
61720006a0bStron                 Add support for global(1) and multiple tag matches
61820006a0bStron                 (thanks to Shigio Yamaguchi and Tim Vanderhoek).
61920006a0bStron v366 12/11/01   Fixes for OS/2 (thanks to Kyosuke Tokoro).
62020006a0bStron v367 12/13/01   Allow -D and -x options to terminate without dollar sign;
62120006a0bStron                 Right/left arrow when entering N are shift cmds, not line edit.
62220006a0bStron v368 12/18/01   Update lesskey commands.
62320006a0bStron v370 12/23/01   Fix tags error messages.
62420006a0bStron                 Posted to Web page.
62520006a0bStron -----------------------------------------------------------------
62620006a0bStron v371 12/26/01   Fix new_file bug; use popen in Windows version;
62720006a0bStron                 fix some compiler warnings.
62820006a0bStron v372 12/29/01   Make -b be in units of 1K.
62920006a0bStron v373  1/14/02   Improve handling of filenames containing shell metachars.
63020006a0bStron v374   2/7/02   Fix memory leak; fix bug in -x argument parsing.
63120006a0bStron v375   4/7/02   Fix searching for SGR sequences; fix SECURE build;
63220006a0bStron                 add SGR support to DJGPP version (thanks to Eli Zaretskii).
63320006a0bStron v376  6/10/02   Fix bug in overstriking mulitbyte UTF-8 characters
63420006a0bStron                 (thanks to Jungshik Shin).
63520006a0bStron                 Posted to Web page.
63620006a0bStron -----------------------------------------------------------------
63720006a0bStron v377  9/10/02   Fix bug in Windows version when file contains CR;
63820006a0bStron                 fix bug in search highlights with -R;
63920006a0bStron                 make initial buffer limit really be 64K not unlimited.
64020006a0bStron v378  9/30/02   Misc bug fixes and compiler warning cleanup.
64120006a0bStron                 Posted to Web page.
64220006a0bStron -----------------------------------------------------------------
64320006a0bStron v379 11/23/02   Add -L option; fix bug with ctrl-K in lesskey files;
64420006a0bStron                 improve UTF-8 overstriking and underscore overstriking;
64520006a0bStron                 fix minor man page problems; change to autoconf 2.54.
64620006a0bStron v380 11/24/02   Make LINENUM same as POSITION.
64720006a0bStron v381 11/28/02   Make -N use 7 columns for line number if possible.
64820006a0bStron -----------------------------------------------------------------
64920006a0bStron v382   2/3/04   Remove copyrighted code.
65020006a0bStron -----------------------------------------------------------------
65120006a0bStron v383  2/16/04   Add history file; add -K option; improve UTF-8 handling;
65220006a0bStron                 fix some signed char bugs (thanks to Christian Biere);
65320006a0bStron                 fix some upper/lower case bugs (thanks to Bjoern Jacke);
65420006a0bStron                 add erase2 char (thanks to David Lawrence);
65520006a0bStron                 add windows charset (thanks to Dimitar Zhekov).
65620006a0bStron v384  2/20/04   Improvements in UTF-8 handling.
65720006a0bStron v385  2/23/04   Fix UTF-8 output bug.
65820006a0bStron -----------------------------------------------------------------
65920006a0bStron v386  9/13/05   Improvements to UTF-8 shift & color (thanks to Charles Levert);
66020006a0bStron                 protect against invalid LESSOPEN and LESSCLOSE values.
66120006a0bStron v387  9/14/05   Update Charles Levert's UTF-8 patch.
66220006a0bStron v388  9/14/05   Change history behavior; change most sprintf calls to snprintf.
66320006a0bStron v389  9/14/05   Fix copy & paste with long lines; improve performance of
66420006a0bStron                 expand_linebuf; fix crash in init_mlist;
66520006a0bStron v390  9/15/05   Show search matches in status column even if -G is set.
66620006a0bStron -----------------------------------------------------------------
66720006a0bStron v391  9/17/05   Fix bugs.
66820006a0bStron v392  10/14/05  Fix line wrapping bug.
66920006a0bStron v393  10/19/05  Allow multiple attributes per char; fix bold+underline bug
67020006a0bStron                 (thanks again to Charles Levert).
67120006a0bStron v394  11/8/05   Fix prompt bug; fix compile problem in Windows build.
67220006a0bStron -----------------------------------------------------------------
67320006a0bStron v395  1/12/07   Update Unicode tables (thanks to Charles Levert);
67420006a0bStron                 don't chmod if LESSHISTFILE = /dev/null;
67520006a0bStron                 make -f work for directories; support DESTDIR in Makefile;
67620006a0bStron                 fix sigset_t detection in configure;
67720006a0bStron                 make "t" cmd traverse tags in correct order
67820006a0bStron v396  1/13/07   Add compatibility with POSIX more.
67920006a0bStron v397  3/21/07   Allow decimal point in number for % command;
68020006a0bStron                 Allow decimal point in number for -j option;
68120006a0bStron                 Allow n command to fetch last search pattern from history
68220006a0bStron                 (thanks to arno).
68320006a0bStron v398  3/22/07   Don't rewrite history file if not necessary;
68420006a0bStron                 fix bug when filenames contain "$".
68520006a0bStron v399  3/22/07   Don't move to bottom of screen at startup;
68620006a0bStron                 don't output extraneous newlines.
68720006a0bStron v400  3/23/07   Allow search to find pattern after null byte (PCRE and no-regex)
68820006a0bStron                 (thanks to Michael Constant).
68920006a0bStron -----------------------------------------------------------------
69020006a0bStron v401  3/24/07   Minor documentation fixes.
69120006a0bStron v402  3/30/07   Fix autoconf bug when memcpy etc are inline;
69220006a0bStron                 fix bug in terminating number following -j option.
69320006a0bStron v403  5/25/07   Fix Windows build.
69420006a0bStron v404  6/5/07    Fix display bug with F command and long lines.
69520006a0bStron v405  6/17/07   Fix display bug when using -w option.
69620006a0bStron v406  6/17/07   Fix secure build.
69720006a0bStron v407  8/16/07   Fix bugs; support CSI chars.
69820006a0bStron v408  10/1/07   Fix bug in -i with non-ASCII chars.
69920006a0bStron v409  10/12/07  Fix crash when viewing text with invalid UTF-8 sequences.
70020006a0bStron v411  11/6/07   Fix case-insensitive searching with non-ASCII text.
70120006a0bStron v412  11/6/07   Use symbolic SEEK constants.
70220006a0bStron v413  11/6/07   Fix search highlight bug with non-ASCII text.
70320006a0bStron v414  11/6/07   Fix display bug with no-wrap terminals.
70420006a0bStron v415  11/14/07  Add --follow-name option.
70520006a0bStron v416  11/22/07  Fix crash when searching text with invalid UTF-8 sequences.
70620006a0bStron v417  12/31/07  Don't support single-char CSI in UTF-8 mode;
70720006a0bStron                 fix bug with -R and invalid CSI sequences;
70820006a0bStron                 fix bug searching text with SGR sequences with -r;
70920006a0bStron                 emulate SGR sequences in WIN32 build.
71020006a0bStron v418  12/31/07  Clean up.
71120006a0bStron -----------------------------------------------------------------
71220006a0bStron v419  1/16/08   Make CSI char 0x9B work in UTF-8 mode (thanks to Colin Watson).
71320006a0bStron v420  2/24/08   Add & command; fix -F option; fix '' after G.
71420006a0bStron v421  2/24/08   Ignore filtered lines when searching.
71520006a0bStron v422  3/2/08    Output CR at startup.
71620006a0bStron v423  5/27/08   Clean up.
71720006a0bStron v424  6/16/08   Fix compile bug with pcre; don't filter help file.
71820006a0bStron v425  7/14/08   Fix non-ANSI code in list handling in ch.c.
71920006a0bStron v426  10/27/08  Fix ignaw terminal handling (thanks to Per Hedeland);
72020006a0bStron                 fix binary file detection in UTF-8 mode.
72120006a0bStron v427  3/16/09   A few Win32 fixes (thanks to Jason Hood).
72220006a0bStron v428  3/30/09   Add "|-" syntax to LESSOPEN.
72320006a0bStron v429  4/10/09   Fix search highlighting bug with underlined text.
72420006a0bStron -----------------------------------------------------------------
72520006a0bStron v430  4/22/09   Don't pass "-" to non-pipe LESSOPEN unless it starts with "-".
72620006a0bStron v431  4/29/09   Fix highlight bug when match is at end of line.
72720006a0bStron v432  6/27/09   Better fix for highlight bugs;
72820006a0bStron                 fix new problems with ignaw terminals.
72920006a0bStron v433  6/28/09   Cleanup search code.
73020006a0bStron v434  6/29/09   More cleanup.
73120006a0bStron v435  7/04/09   Fix bugs with non-regex filtering.
73220006a0bStron v436  7/05/09   Fix memory leak.
73320006a0bStron -----------------------------------------------------------------
73420006a0bStron v437  7/14/09   Fix bug in handling some long option names;
73520006a0bStron                 make percentage calculation more accurate.
73620006a0bStron v438  12/29/10  Fix bugs with -i/-I and & filtering;
73720006a0bStron                 exit with status 2 on ctrl-C with -K.
73820006a0bStron v439  12/31/10  Add -A option.
73920006a0bStron v440  1/5/11    Fix bug displaying prompt after = command.
74020006a0bStron v441  1/21/11   Fix semi-infinite loop if no newlines in file;
74120006a0bStron                 make new -A behavior the default.
74220006a0bStron -----------------------------------------------------------------
74320006a0bStron v442  3/2/11    Fix search bug.
74420006a0bStron                 Add ctrl-G line edit command.
74520006a0bStron v443  4/9/11    Fix Windows build.
74620006a0bStron v444  6/8/11    Fix ungetc bug; remove vestiges of obsolete -l option.
747ec18bca0Stron -----------------------------------------------------------------
748ec18bca0Stron v445  10/19/11  Fix hilite bug in backwards scroll with -J.
749ec18bca0Stron                 Fix hilite bug with backspaces.
750ec18bca0Stron                 Fix bugs handling SGR sequences in Win32 (thanks to Eric Lee).
751ec18bca0Stron                 Add support for GNU regex (thanks to Reuben Thomas).
752ec18bca0Stron v446  5/15/12   Up/down arrows in cmd editing search for matching cmd.
753ec18bca0Stron v447  5/21/12   Add ESC-F command, two-pipe LESSOPEN syntax.
754ec18bca0Stron v448  6/15/12   Print name of regex library in version message.
755ec18bca0Stron v449  6/23/12   Allow config option --with-regex=none.
756ec18bca0Stron v450  7/4/12    Fix EOF bug with ESC-F.
757ec18bca0Stron v451  7/20/12   Fix typo.
758ec18bca0Stron -----------------------------------------------------------------
759ec18bca0Stron v452  10/19/12  Fix --with-regex=none, fix "stty 0", fix Win32.
760ec18bca0Stron                 Don't quit if errors in cmd line options.
761ec18bca0Stron v453  10/27/12  Increase buffer sizes.
762ec18bca0Stron v454  11/5/12   Fix typo.
763ec18bca0Stron v455  11/5/12   Fix typo.
764ec18bca0Stron v456  11/8/12   Fix option string incompatibility.
765ec18bca0Stron v457  12/8/12   Use new option string syntax only after --use-backslash.
766ec18bca0Stron v458  4/4/13    Fix display bug in using up/down in cmd buffer.
767*838f5788Ssimonb -----------------------------------------------------------------
768*838f5788Ssimonb v459  5/6/13    Fix ++ bug.
769*838f5788Ssimonb v460  6/19/13   Automate construction of Unicode tables.
770*838f5788Ssimonb v461  6/21/13   Collapse multiple CRs before LF.
771*838f5788Ssimonb v462  11/26/13  Don't overwrite history file, just append to it.
772*838f5788Ssimonb v463  7/13/14   Misc. fixes.
773*838f5788Ssimonb v464  7/19/14   Fix bugs & improve performance in & filtering
774*838f5788Ssimonb                 (thanks to John Sullivan).
775*838f5788Ssimonb v465  8/9/14    More fixes from John Sullivan.
776*838f5788Ssimonb v466  8/23/14   Add colon to LESSANSIMIDCHARS.
777*838f5788Ssimonb v467  9/18/14   Misc. fixes.
778*838f5788Ssimonb v468  9/18/14   Fix typo
779*838f5788Ssimonb v469  10/2/14   Allow extra string in command to append to a multichar
780*838f5788Ssimonb                 cmd without executing it; fix bug using GNU regex.
781*838f5788Ssimonb v470  10/5/14   Fix some compiler warnings.
782*838f5788Ssimonb v471  12/14/14  Fix unget issues with prompt. Allow disabling history
783*838f5788Ssimonb                 when compiled value of LESSHISTFILE = "-".
784*838f5788Ssimonb v473  12/19/14  Fix prompt bug with stdin and -^P in lesskey extra string.
785*838f5788Ssimonb v474  1/30/15   Fix bug in backwards search with match on bottom line.
786*838f5788Ssimonb                 Make follow mode reopen file if file shrinks.
787*838f5788Ssimonb v475  3/2/15    Fix possible buffer overrun with invalid UTF-8;
788*838f5788Ssimonb                 fix bug when compiled with no regex; fix non-match search.
789*838f5788Ssimonb v476  5/3/15    Update man pages.
790*838f5788Ssimonb v477  5/19/15   Fix off-by-one in jump_forw_buffered;
791*838f5788Ssimonb                 don't add FAKE_* files to cmd history.
792*838f5788Ssimonb v478  5/21/15   Fix nonportable pointer usage in hilite tree.
793*838f5788Ssimonb v479  7/6/15    Allow %% escapes in LESSOPEN variable.
794*838f5788Ssimonb v480  7/24/15   Fix bug in no-regex searches; support MSVC v1900.
795*838f5788Ssimonb v481  8/20/15   Fix broken -g option.
796*838f5788Ssimonb -----------------------------------------------------------------
797*838f5788Ssimonb v482  2/25/16   Update Unicode database to "2015-06-16, 20:24:00 GMT [KW]".
798*838f5788Ssimonb v483  2/27/16   Regenerate hilite when change search caselessness.
799*838f5788Ssimonb                 (Thanks to Jason Hood)
800*838f5788Ssimonb                 Fix bug when terminal has no "cm". (Thanks to Noel Cragg)
801*838f5788Ssimonb v484  9/20/16   Update to Unicode 9.0.0 database.
802*838f5788Ssimonb v485  10/21/16  Fix "nothing to search" bug when top/bottom line is empty;
803*838f5788Ssimonb                 Display line numbers in bold. (thanks to Jason Hood);
804*838f5788Ssimonb                 Fix incorrect display when entering double-width chars in
805*838f5788Ssimonb                 search string.
806*838f5788Ssimonb v486  10/22/16  New commands ESC-{ and ESC-} to shift to start/end of
807*838f5788Ssimonb                 displayed lines; new option -Da in Windows version to
808*838f5788Ssimonb                 enable SGR mode (thanks to Jason Hood).
809*838f5788Ssimonb v487  10/23/16  configure --help formatting.
810*838f5788Ssimonb -----------------------------------------------------------------
811*838f5788Ssimonb v488  2/23/17   Fix memory leaks in search (thanks to John Brooks).
812*838f5788Ssimonb v489  3/30/17   Make -F not do init/deinit if file fits on one screen
813*838f5788Ssimonb                 (thanks to Jindrich Novy).
814*838f5788Ssimonb v490  4/5/17    Switch to ANSI prototypes in funcs.h; remove "register".
815*838f5788Ssimonb v491  4/7/17    Fix signed char bug.
816*838f5788Ssimonb v492  4/21/17   Handle SIGTERM.
817*838f5788Ssimonb v493  6/22/17   Fix bug initializing charset in MSDOS build.
818*838f5788Ssimonb v494  6/26/17   Update Unicode tables; make Cf chars composing not binary.
819*838f5788Ssimonb v495  7/3/17    Improve binary file detection (thanks to Bela Lubkin);
820*838f5788Ssimonb                 do -R filter when matching tags (thanks to Matthew Malcomson).
821*838f5788Ssimonb v496  7/5/17    Add LESSRSCROLL marker.
822*838f5788Ssimonb v497  7/5/17    Sync.
823*838f5788Ssimonb v498  7/7/17    Fix early truncation of text if last char is double-width.
824*838f5788Ssimonb v499  7/10/17   Misc fixes.
825*838f5788Ssimonb v500  7/11/17   Fix bug where certain env variables couldn't be set in lesskey.
826*838f5788Ssimonb v501  7/12/17   Make sure rscroll char is standout by default.
827*838f5788Ssimonb v502  7/13/17   Control rscroll char via command line option not env variable.
828*838f5788Ssimonb v503  7/13/17   Switch to git.
829*838f5788Ssimonb v504  7/13/17   Call opt_rscroll at startup; change mkhelp.c to mkhelp.pl.
830*838f5788Ssimonb v505  7/17/17   Add M and ESC-M commands;
831*838f5788Ssimonb                 fix buffer handling with stdin and LESSOPEN.
832*838f5788Ssimonb v506  7/17/17   On Windows, convert UTF-8 to multibyte if console is not UTF-8;
833*838f5788Ssimonb                 handle extended chars on input (thanks to Jason Hood).
834*838f5788Ssimonb v507  7/18/17   Fix some bugs handling filenames containing shell metachars.
835*838f5788Ssimonb v508  7/19/17   Fix bugs when using LESSOPEN to read stdin.
836*838f5788Ssimonb v509  7/19/17   Fix another stdin bug.
837*838f5788Ssimonb v510  7/20/17   Fix bug in determining when to reopen a file.
838*838f5788Ssimonb v511  7/25/17   Fix bugs in recent MSDOS changes (thanks to Jason Hood).
839*838f5788Ssimonb v512  7/26/17   Fix MSDOS build.
840*838f5788Ssimonb v513  7/26/17   Fix switch to normal attr at end of line with -R and rscroll.
841*838f5788Ssimonb v514  7/27/17   Fix bug in fcomplete when pattern does not match a file.
842*838f5788Ssimonb v515  7/28/17   Allow 'u' in -D option on Windows.
843*838f5788Ssimonb v516  7/29/17   Fix bug using LESSOPEN with filename containing metachars.
844*838f5788Ssimonb v517  7/30/17   Status column shows matches even if hiliting is disabled via -G.
845*838f5788Ssimonb v518  8/1/17    Use underline in sgr mode in MSDOS (thanks to Jason Hood).
846*838f5788Ssimonb v519  8/10/17   Fix rscroll bug when last char of line starts coloration.
847*838f5788Ssimonb v520  9/3/17    Fix compiler warning.
848*838f5788Ssimonb v521  10/20/17  Fix binary file warning in UTF-8 files with SGI sequences.
849*838f5788Ssimonb v522  10/20/17  Handle keypad ENTER key properly.
850*838f5788Ssimonb v523  10/23/17  Cleanup.
851*838f5788Ssimonb v524  10/24/17  Fix getcc bug.
852*838f5788Ssimonb v525  10/24/17  Change M command to mark last displayed line.
853*838f5788Ssimonb v526  10/25/17  Fix search hilite bug introduced in v517.
854*838f5788Ssimonb v527  10/30/17  Fix search hilite bug on last page with -a.
855*838f5788Ssimonb v528  11/3/17   Make second ESC-u clear status column.
856*838f5788Ssimonb v529  11/12/17  Display Unicode formatting chars in hex if -U is set.
857*838f5788Ssimonb v530  12/2/17   Minor doc change and add missing VOID_PARAM.
858*838f5788Ssimonb -----------------------------------------------------------------
859*838f5788Ssimonb v531  5/13/18   Fix bug with v on empty file; fix bug with v on file with
860*838f5788Ssimonb                 metachars in name; add --nohistdups option.
861*838f5788Ssimonb v532  7/27/18   Redraw screen on SIGWINCH even if screen size doesn't change.
862*838f5788Ssimonb v533  8/1/18    Shell escape filenames in history; use PCRE_UTF8 flag;
863*838f5788Ssimonb                 use wide-chars for Windows console title (thanks to Jason Hood).
864*838f5788Ssimonb v534  8/9/18    Support PCRE2.
865*838f5788Ssimonb v535  8/16/18   Don't count lines of initial screen if using -X with -F
866*838f5788Ssimonb                 (thanks to Linus Torvalds).
867*838f5788Ssimonb v536  8/31/18   Use descriptive error messages for PCRE2.
868*838f5788Ssimonb v537  8/31/18   Support mingw build system (thanks to Mike Soyka).
869*838f5788Ssimonb v538  9/3/18    Clean up some WIN32 code.
870*838f5788Ssimonb v539  9/13/18   Fix spurious input on Windows with CAPSLOCK.
871*838f5788Ssimonb v540  10/29/18  Add --mouse option.
872*838f5788Ssimonb v541  10/30/18  Add --MOUSE option.
873*838f5788Ssimonb v542  11/6/18   Add mouse support for WIN32; add --wheel-lines option.
874*838f5788Ssimonb                 (thanks to Jason Hood).
875*838f5788Ssimonb v543  11/12/18  Code cleanup.
876*838f5788Ssimonb v544  11/16/18  Don't init/deinit keyboard/mouse if quit due to -F.
877*838f5788Ssimonb v545  11/22/18  Fix Windows build, memory leaks.
878*838f5788Ssimonb v546  11/29/18  Add --save-marks option.
879*838f5788Ssimonb v547  11/30/18  Fix some bugs with saved marks.
880*838f5788Ssimonb v548  12/14/18  Ignore mouse input when line editing.
881*838f5788Ssimonb v549  2/10/19   Support X11 mouse extension 1006;
882*838f5788Ssimonb                 Win32 fixes (thanks to Jason Hood).
883*838f5788Ssimonb v550  2/16/19   Fix Win32 build; don't enable mouse unless --mouse is set.
884*838f5788Ssimonb v551  6/10/19   Doc changes.
885*838f5788Ssimonb -----------------------------------------------------------------
886*838f5788Ssimonb v552  7/8/19    Update Unicode tables.
887*838f5788Ssimonb v553  10/17/19  Support tinfow; handle zero-width Hangul chars.
888*838f5788Ssimonb v554  1/19/20   Remove erroneous free().
889*838f5788Ssimonb v555  3/15/20   Display error msg immediately when toggle -o without stdin.
890*838f5788Ssimonb v556  3/15/20   Update copyright.
891*838f5788Ssimonb v557  3/21/20   Fix memory corruption with libtermcap.
892*838f5788Ssimonb v558  4/17/20   Don't init terminal if -F and file fits on one screen (WIN32).
893*838f5788Ssimonb v559  4/19/20   Handle deinit correctly on WIN32.
894*838f5788Ssimonb v560  5/3/20    Fix regression when command results in no movement;
895*838f5788Ssimonb                 fix some less.nro issues (thanks to Bjarni I. Gislason).
896*838f5788Ssimonb v561  5/11/20   Fix erroneous EOF calculation when F command is interrupted.
897*838f5788Ssimonb v562  5/19/20   Update Unicode tables; minor doc formatting.
898*838f5788Ssimonb v563  6/13/20   Fix crash due to realpath() incompatibility.
899*838f5788Ssimonb v564  8/25/20   Handle realpath consistently; update docs.
900*838f5788Ssimonb v565  11/3/20   Add ESC-U command, optimize calls to realpath().
901*838f5788Ssimonb v566  11/25/20  Fix crash when reopening a file while using LESSOPEN;
902*838f5788Ssimonb                 support OSC 8 hyperlinks.
903*838f5788Ssimonb v567  11/25/20  Fix typo.
904*838f5788Ssimonb v568  11/29/20  Fix some hyperlink bugs; add ^W search modifier
905*838f5788Ssimonb                 (thanks to Arminius); allow Makefile.aut to use Python
906*838f5788Ssimonb                 instead of Perl (thanks to Charlie Lin).
907*838f5788Ssimonb v569  12/1/20   Allow multiple & filters (thanks to Mattias Johansson),
908*838f5788Ssimonb                 allow ^X to exit F command.
909*838f5788Ssimonb v570  12/12/20  Better handling of multiple + or -p options;
910*838f5788Ssimonb                 fix bugs in horizontal scrolling.
911*838f5788Ssimonb v571  12/30/20  Add --line-num-width and --status-col-width options.
912*838f5788Ssimonb v572  1/4/21    Save lastmark in history file; don't toggle mouse reporting;
913*838f5788Ssimonb                 implement termcap delays.
914*838f5788Ssimonb v573  1/9/21    Limit eof bell to 1 per second.
915*838f5788Ssimonb v574  1/13/21   Add incremental search.
916*838f5788Ssimonb v575  1/17/21   Fix build without HILITE_SEARCH;
917*838f5788Ssimonb                 fix bug with ^K in lesskey extra string.
918*838f5788Ssimonb v576  2/4/21    Make sure search result is visible; add --use-color and --color.
919*838f5788Ssimonb v577  2/9/21    Use ttyname to get name of tty device.
920*838f5788Ssimonb v578  2/9/21    Doc
921*838f5788Ssimonb v579  2/14/21   Fix double-width char bugs and non-match search crash.
922*838f5788Ssimonb v580  3/2/21    Some color fixes; fix compiler warnings; some lesstest support.
923*838f5788Ssimonb v581  4/6/21    Ignore SIGTSTP in secure mode; don't print "skipping" when filtering.
924*838f5788Ssimonb v582  4/21/21   Less now reads lesskey source file rather than binary;
925*838f5788Ssimonb                 fix bug in finding tags with backslashes.
926*838f5788Ssimonb v583  4/21/21   Use XDG_CONFIG_HOME and XDG_DATA_HOME to find files.
927*838f5788Ssimonb v584  4/30/21   Add --file-size option.
928*838f5788Ssimonb v585  5/2/21    Allow color desc W per man page.
929*838f5788Ssimonb v586  5/7/21    Doc changes.
930*838f5788Ssimonb v587  5/27/21   Fix --with-secure; fix --file-size message on Windows;
931*838f5788Ssimonb                 fix colored search hilite in colored text; don't exit
932*838f5788Ssimonb                 if -F and screen is resized; fix memcpy usage.
933*838f5788Ssimonb v588  5/27/21   Fix release.
934*838f5788Ssimonb v589  5/29/21   Copyright & build changes.
935*838f5788Ssimonb v590  6/3/21    Fix non-autoconf Makefiles.
936*838f5788Ssimonb v591  8/8/21    Use \kB for backspace key in lesskey; add more \k codes;
937*838f5788Ssimonb                 handle multibyte chars in prompt.
938*838f5788Ssimonb v592  8/24/21   Add --status-line option; limit use of /proc kludge; add --header.
939*838f5788Ssimonb v593  8/30/21   Add header columns, --no-number-headers.
940*838f5788Ssimonb v594  10/1/21   Let regex library handle caseless; add --redraw-on-quit option;
941*838f5788Ssimonb                 add #version to lesskey.
942*838f5788Ssimonb v595  10/12/21  Add H color type; add += to lesskey var section;
943*838f5788Ssimonb                 add --search-options.
944*838f5788Ssimonb v596  11/8/21   Look for lesskey in $HOME/.config.
945*838f5788Ssimonb v597  11/16/21  Fix bugs in --header.
946*838f5788Ssimonb v598  12/6/21   Look for lesshst in $XDG_STATE_HOME and $HOME/.local/state.
947*838f5788Ssimonb v599  12/28/21  Defer moving to lower left in some cases;
948*838f5788Ssimonb                 suppress TAB expansion in some cases.
949*838f5788Ssimonb v600  1/7/22    Use /dev/tty if cannot open ttyname().
950*838f5788Ssimonb v601  1/31/22   Add --exit-follow-on-close option.
951*838f5788Ssimonb v602  3/1/22    Doc changes.
952*838f5788Ssimonb v603  3/14/22   Fix --header.
953*838f5788Ssimonb v604  5/14/22   Fix termlib detection; fix non-ASCII input on Windows.
954*838f5788Ssimonb v605  6/14/22   Update version number.
955*838f5788Ssimonb v606  7/17/22   Fix bug with multibyte chars and --incsearch;
956*838f5788Ssimonb                 escape filenames in LESSCLOSE; fix bin_file overrun.
957*838f5788Ssimonb v607  7/19/22   Update Unicode tables.
958*838f5788Ssimonb v608  7/22/22   Fix highlighting on colored text boundaries.
959*838f5788Ssimonb v609  11/10/22  Add LESSUTFCHARDEF; fix overstrike color bug;
960*838f5788Ssimonb                 fix procfs bug; fix signal race.
961*838f5788Ssimonb v610  11/14/22  Update Unicode tables; fix again-search after filter;
962*838f5788Ssimonb                 improve ^X to interrupt F command.
963*838f5788Ssimonb v611  11/16/22  Fix EOF bug related to ^X change.
964*838f5788Ssimonb v612  11/18/22  Fix more bugs related to ^X change.
965*838f5788Ssimonb v613  11/28/22  Even more ^X issues.
966*838f5788Ssimonb v614  11/28/22  Add ^X to wait message.
967*838f5788Ssimonb v615  11/30/22  Add --no-vbell option.
968*838f5788Ssimonb v616  12/9/22   Don't open tty as input file without -f.
969*838f5788Ssimonb v617  12/10/22  Support poll on newer versions of MacOS.
970*838f5788Ssimonb v618  12/29/22  Add --no-search-headers option; use C89 function definitions.
971*838f5788Ssimonb v619  12/30/22  Fix bug using 'n' before '/'.
972*838f5788Ssimonb v620  1/12/23   Add --modelines option; add --intr option;
973*838f5788Ssimonb                 add subpattern coloring.
974*838f5788Ssimonb v621  1/15/23   Add --wordwrap option; add LESS_LINES & LESS_COLUMNS.
975*838f5788Ssimonb v622  1/27/23   Add --show-preproc-errors option.
976*838f5788Ssimonb v623  2/2/23    Add # command; add ^S search modifier.
977*838f5788Ssimonb v624  2/11/23   Add --proc-backspace, --proc-tab and --proc-return options.
978*838f5788Ssimonb v625  2/16/23   Minor fixes.
979*838f5788Ssimonb v626  2/19/23   Fix rare crash in add_attr_normal.
980*838f5788Ssimonb v627  2/19/23   Doc.
981*838f5788Ssimonb v628  2/20/23   Don't require newline after +&...
982*838f5788Ssimonb v629  2/26/23   Delay "waiting for data" message for 500 ms.
983*838f5788Ssimonb v630  3/18/23   Add LESS_DATA_DELAY.
984*838f5788Ssimonb v631  3/26/23   Fix input of dead keys on Windows.
985*838f5788Ssimonb v632  4/6/23    Make lesstest work on MacOS; minor fixes.
986*838f5788Ssimonb v633  5/3/23    Fix build on systems with ncurses/termcap.h or ncursesw/termcap.h.
987*838f5788Ssimonb v634  5/29/23   Allow program piping into less to access tty;
988*838f5788Ssimonb                 fix search modifier ^E after ^W.
989*838f5788Ssimonb v635  6/2/23    Fix crash with ! search modifier.
990*838f5788Ssimonb v636  6/18/23   Fix -D in MS-DOS build; fix mouse wheel in MS-DOS build.
991*838f5788Ssimonb v637  6/28/23   Fix early EOF when SIGWINCH is received.
992*838f5788Ssimonb v638  6/29/23   Fix compile error with ECHONL.
993*838f5788Ssimonb v639  6/29/23   Fix SIGWINCH while reading tty.
994*838f5788Ssimonb v640  7/10/23   Add lesstest to release.
995*838f5788Ssimonb v641  7/10/23   Fix release.
996*838f5788Ssimonb v642  7/10/23   Fix release.
997*838f5788Ssimonb v643  7/20/23   Fix crash on Windows with -o.
99820006a0bStron */
99920006a0bStron 
1000*838f5788Ssimonb char version[] = "643";
1001