xref: /netbsd-src/external/bsd/less/dist/lesstest/lt/version.c.lt (revision e4a6e799a67c2028562d75b4e61407b22434aa36)
1!lesstest!
2!version 1
3!created 2022-10-20 19:57:23
4E "LESS_TERMCAP_am" "1"
5E "LESS_TERMCAP_cd" "S"
6E "LESS_TERMCAP_ce" "L"
7E "LESS_TERMCAP_cl" "A"
8E "LESS_TERMCAP_cr" "<"
9E "LESS_TERMCAP_cm" "%p2%d;%p1%dj"
10E "LESS_TERMCAP_ho" "h"
11E "LESS_TERMCAP_ll" "l"
12E "LESS_TERMCAP_mb" "b"
13E "LESS_TERMCAP_md" ""
14E "LESS_TERMCAP_me" ""
15E "LESS_TERMCAP_se" ""
16E "LESS_TERMCAP_so" ""
17E "LESS_TERMCAP_sr" "r"
18E "LESS_TERMCAP_ue" ""
19E "LESS_TERMCAP_us" ""
20E "LESS_TERMCAP_vb" "g"
21E "LESS_TERMCAP_kr" "OC"
22E "LESS_TERMCAP_kl" "OD"
23E "LESS_TERMCAP_ku" "OA"
24E "LESS_TERMCAP_kd" "OB"
25E "LESS_TERMCAP_kh" "OH"
26E "LESS_TERMCAP_@7" "OF"
27E "COLUMNS" "79"
28E "LINES" "34"
29E "LANG" "C"
30T "version.c"
31A "version.c"
32F "version.c" 50808
33/*
34 * Copyright (C) 1984-2022  Mark Nudelman
35 *
36 * You may distribute under the terms of either the GNU General Public
37 * License or the Less License, as specified in the README file.
38 *
39 * For more information, see the README file.
40 */
41
42
43/*
44----------------------- CHANGE HISTORY --------------------------
45
46       1/29/84  Allowed use on standard input
47       2/1/84   Added E, N, P commands
48       4/17/84  Added '=' command, 'stop' signal handling
49       4/20/84  Added line folding
50v2     4/27/84  Fixed '=' command to use BOTTOM_PLUS_ONE,
51                instead of TOP, added 'p' & 'v' commands
52v3     5/3/84   Added -m and -t options, '-' command
53v4     5/3/84   Added LESS environment variable
54v5     5/3/84   New comments, fixed '-' command slightly
55v6     5/15/84  Added -Q, visual bell
56v7     5/24/84  Fixed jump_back(n) bug: n should count real
57                lines, not folded lines.  Also allow number on G command.
58v8     5/30/84  Re-do -q and -Q commands
59v9     9/25/84  Added "+<cmd>" argument
60v10    10/10/84 Fixed bug in -b<n> argument processing
61v11    10/18/84 Made error() ring bell if \n not entered.
62-----------------------------------------------------------------
63v12    2/13/85  Reorganized signal handling and made portable to 4.2bsd.
64v13    2/16/85  Reword error message for '-' command.
65v14    2/22/85  Added -bf and -bp variants of -b.
66v15    2/25/85  Miscellaneous changes.
67v16    3/13/85  Added -u flag for backspace processing.
68v17    4/13/85  Added j and k commands, changed -t default.
69v18    4/20/85  Rewrote signal handling code.
70v19    5/2/85   Got rid of "verbose" eq_message().
71                Made search() scroll in some cases.
72v20    5/21/85  Fixed screen.c ioctls for System V.
73v21    5/23/85  Fixed some first_cmd bugs.
74v22    5/24/85  Added support for no RECOMP nor REGCMP.
75v23    5/25/85  Miscellanous changes and prettying up.
76                Posted to USENET.
77-----------------------------------------------------------------
78v24    6/3/85   Added ti,te terminal init & de-init.
79                (Thanks to Mike Kersenbrock)
80v25    6/8/85   Added -U flag, standout mode underlining.
81v26    6/9/85   Added -M flag.
82                Use underline termcap (us) if it exists.
83v27    6/15/85  Renamed some variables to make unique in
84                6 chars.  Minor fix to -m.
85v28    6/28/85  Fixed right margin bug.
86v29    6/28/85  Incorporated M.Rose's changes to signal.c
87v30    6/29/85  Fixed stupid bug in argument processing.
88v31    7/15/85  Added -p flag, changed repaint algorithm.
89                Added kludge for magic cookie terminals.
90v32    7/16/85  Added cat_file if output not a tty.
91v33    7/23/85  Added -e flag and EDITOR.
92v34    7/26/85  Added -s flag.
93v35    7/27/85  Rewrote option handling; added option.c.
94v36    7/29/85  Fixed -e flag to work if not last file.
95v37    8/10/85  Added -x flag.
96v38    8/19/85  Changed prompting; created prompt.c.
97v39    8/24/85  (Not -p) does not initially clear screen.
98v40    8/26/85  Added "skipping" indicator in forw().
99                Posted to USENET.
100-----------------------------------------------------------------
101v41    9/17/85  ONLY_RETURN, control char commands,
102                faster search, other minor fixes.
103v42    9/25/85  Added ++ command line syntax;
104                ch_fsize for pipes.
105v43    10/15/85 Added -h flag, changed prim.c algorithms.
106v44    10/16/85 Made END print in all cases of eof;
107                ignore SIGTTOU after receiv ing SIGTSTP.
108v45    10/16/85 Never print backspaces unless -u.
109v46    10/24/85 Backwards scroll in jump_loc.
110v47    10/30/85 Fixed bug in edit(): *first_cmd==0
111v48    11/16/85 Use TIOCSETN instead of TIOCSETP.
112                Added marks (m and ' commands).
113                Posted to USENET.
114-----------------------------------------------------------------
115v49    1/9/86   Fixed bug: signal didn't clear mcc.
116v50    1/15/86  Added ' (quote) to gomark.
117v51    1/16/86  Added + cmd, fixed problem if first_cmd
118                fails, made g cmd sort of "work" on pipes
119                ev en if bof is no longer buffered.
120v52    1/17/86  Made short files work better.
121v53    1/20/86  Added -P option.
122v54    1/20/86  Changed help to use HELPFILE.
123v55    1/23/86  Messages work better if not tty output.
124v56    1/24/86  Added -l option.
125v57    1/31/86  Fixed -l to get confirmation before
126                ov erwriting an existing file.
127v58    8/28/86  Added filename globbing.
128v59    9/15/86  Fixed some bugs with very long filenames.
129v60    9/26/86  Incorporated changes from Leith (Casey)
130                Leedom for boldface and -z option.
131v61    9/26/86  Got rid of annoying repaints after ! cmd.
132                Posted to USENET.
133-----------------------------------------------------------------
134v62    12/23/86 Added is_directory(); change -z default to
135                -1 instead of 24; cat-and-exit if -e and
136                file is less than a screenful.
137v63    1/8/87   Fixed bug in cat-and-exit if > 1 file.
138v64    1/12/87  Changed puts/putstr, putc/putchr,
139                getc/getchr to av oid name conflict with
140                stdio functions.
141v65    1/26/87  Allowed '-' command to change NUMBER
142                v alued options (thanks to Gary Puckering)
143v66    2/13/87  Fixed bug: prepaint should use force=1.
144v67    2/24/87  Added !! and % expansion to ! command.
145v68    2/25/87  Added SIGWINCH and TIOCGWINSZ support;
146                changed is_directory to bad_file.
147                (thanks to J. Robert Ward)
148v69    2/25/87  Added SIGWIND and WIOCGETD (for Unix PC).
149v70    3/13/87  Changed help cmd from 'h' to 'H'; better
150                error msgs in bad_file, errno_message.
151v71    5/11/87  Changed -p to -c, made triple -c/-C
152                for clear-eol like more's -c.
153v72    6/26/87  Added -E, -L, use $SHELL in lsystem().
154                (thanks to Stev e Spearman)
155v73    6/26/87  Allow Examine "#" for previous file.
156                Posted to USENET 8/25/87.
157-----------------------------------------------------------------
158v74    9/18/87  Fix conflict in EOF symbol with stdio.h,
159                Make os.c more portable to BSD.
160v75    9/23/87  Fix problems in get_term (thanks to
161                Paul Eggert); new backwards scrolling in
162                jump_loc (thanks to Marion Hakanson).
163v76    9/23/87  Added -i flag; allow single "!" to
164                inv oke a shell (thanks to Franco Barber).
165v77    9/24/87  Added -n flag and line number support.
166v78    9/25/87  Fixed problem with prompts longer than
167                the screen width.
168v79    9/29/87  Added the _ command.
169v80    10/6/87  Allow signal to break out of linenum scan.
170v81    10/6/87  Allow -b to be changed from within less.
171v82    10/7/87  Add cmd_decode to use a table for key
172                binding (thanks to Dav id Nason).
173v83    10/9/87  Allow .less file for user-defined keys.
174v84    10/11/87 Fix -e/-E problems (thanks to Felix Lee).
175v85    10/15/87 Search now keeps track of line numbers.
176v86    10/20/87 Added -B option and autobuf; fixed
177                "pipe error" bug.
178v87    3/1/88   Fix bug re BSD signals while reading file.
179v88    3/12/88  Use new format for -P option (thanks to
180                der Mouse), allow "+-c" without message,
181                fix bug re BSD hangup.
182v89    3/18/88  Turn off line numbers if linenum scan
183                is interrupted.
184v90    3/30/88  Allow -P from within less.
185v91    3/30/88  Added tags file support (new -t option)
186                (thanks to Brian Campbell).
187v92    4/4/88   Added -+option syntax.
188v93    4/11/88  Add support for slow input (thanks to
189                Joe Orost & apologies for taking almost
190                3 years to get this in!)
191v94    4/11/88  Redo reading/signal stuff.
192v95    4/20/88  Repaint screen better after signal.
193v96    4/21/88  Add /! and ?! commands.
194v97    5/17/88  Allow -l/-L from within less.
195                Eliminate some static arrays (use calloc).
196                Posted to USENET.
197-----------------------------------------------------------------
198v98    10/14/88 Fix incorrect calloc call; uninitialized
199                var in exec_mca; core dump on unknown TERM.
200                Make v cmd work if past last line of file.
201                Fix some signal bugs.
202v99    10/29/88 Allow space between -X and string,
203                when X is a string-valued option.
204v100   1/5/89   Fix globbing bug when $SHELL not set;
205                allow spaces after -t command.
206v101   1/6/89   Fix problem with long (truncated) lines
207                in tags file (thanks to Neil Dixon).
208v102   1/6/89   Fix bug with E# when no prev file;
209                allow spaces after -l command.
210v103   3/14/89  Add -N, -f and -? options.  Add z and w
211                commands.  Add %L for prompt strings.
212v104   3/16/89  Added EDITPROTO.
213v105   3/20/89  Fix bug in find_linenum which cached
214                incorrectly on long lines.
215v106   3/31/89  Added -k option and multiple lesskey
216                files.
217v107   4/27/89  Add 8-bit char support and -g option.
218                Split option code into 3 files.
219v108   5/5/89   Allocate position table dynamically
220                (thanks to Paul Eggert); change % command
221                from "percent" to vi-style brace finder.
222v109   5/10/89  Added ESC-% command, split prim.c.
223v110   5/24/89  Fixed bug in + option; fixed repaint bug
224                under Sun windows (thanks to Paul Eggert).
225v111   5/25/89  Generalized # and % expansion; use
226                calloc for some error messages.
227v112   5/30/89  Get rid of ESC-%, add {}()[] commands.
228v113   5/31/89  Optimize lseeks (thanks to Paul Eggert).
229v114   7/25/89  Added ESC-/ and ESC-/! commands.
230v115   7/26/89  Added ESC-n command.
231v116   7/31/89  Added find_pos to optimize g command.
232v117   8/1/89   Change -f option to -r.
233v118   8/2/89   Save positions for all previous files,
234                not just the immediately previous one.
235v119   8/7/89   Save marks across file boundaries.
236                Add file handle stuff.
237v120   8/11/89  Add :ta command.
238v121   8/16/89  Add -f option.
239v122   8/30/89  Fix performance with many buffers.
240v123   8/31/89  Verbose prompts for string options.
241                Posted beta to USENET.
242-----------------------------------------------------------------
243v124   9/18/89  Reorganize search commands,
244                N = rev, ESC-n = span, add ESC-N.
245v125   9/18/89  Fix tab bug (thanks to Alex Liu).
246                Fix EOF bug when both -w and -c.
247v126   10/25/89 Add -j option.
248v127   10/27/89 Fix problems with blank lines before BOF.
249v128   10/27/89 Add %bj, etc. to prompt strings.
250v129   11/3/89  Add -+,-- commands; add set-option and
251                unset-option to lesskey.
252v130   11/6/89  Generalize A_EXTRA to string, remove
253                set-option, unset-option from lesskey.
254v131   11/7/89  Changed name of EDITPROTO to LESSEDIT.
255v132   11/8/89  Allow editing of command prefix.
256v133   11/16/89 Add -y option (thanks to Jeff Sullivan).
257v134   12/1/89  Glob filenames in the -l command.
258v135   12/5/89  Combined {}()[] commands into one, and
259                added ESC-^F and ESC-^B commands.
260v136   1/20/90  Added -S, -R flags.  Added | command.
261                Added warning for binary files. (thanks
262                to Richard Brittain and J. Sullivan).
263v137   1/21/90  Rewrote horrible pappend code.
264                Added * notation for hi-bit chars.
265v138   1/24/90  Fix magic cookie terminal handling.
266                Get rid of "cleanup" loop in ch_get.
267v139   1/27/90  Added MSDOS support.  (many thanks
268                to Richard Brittain).
269v140   2/7/90   Editing a new file adds it to the
270                command line list.
271v141   2/8/90   Add edit_list for editing >1 file.
272v142   2/10/90  Add :x command.
273v143   2/11/90  Add * and @ modifies to search cmds.
274                Change ESC-/ cmd from /@* to / *.
275v144   3/1/90   Messed around with ch_zero;
276                no real change.
277v145   3/2/90   Added -R and -v/-V for MSDOS;
278                renamed FILENAME to avoid conflict.
279v146   3/5/90   Pull cmdbuf functions out of command.c
280v147   3/7/90   Implement ?@; fix multi-file edit bugs.
281v148   3/29/90  Fixed bug in :e<file> then :e#.
282v149   4/3/90   Change error,ierror,query to use PARG.
283v150   4/6/90   Add LESS_CHARSET, LESS_CHARDEF.
284v151   4/13/90  Remove -g option; clean up ispipe.
285v152   4/14/90  lsystem() closes input file, for
286                editors which require exclusive open.
287v153   4/18/90  Fix bug if SHELL unset;
288                fix bug in overstrike control char.
289v154   4/25/90  Output to fd 2 via buffer.
290v155   4/30/90  Ignore -i if uppercase in pattern
291                (thanks to Michael Rendell.)
292v156   5/3/90   Remove scroll limits in forw() & back();
293                causes problems with -c.
294v157   5/4/90   Forward search starts at next real line
295                (not screen line) after jump target.
296v158   6/14/90  Added F command.
297v159   7/29/90  Fix bug in exiting: output not flushed.
298v160   7/29/90  Clear screen before initial output w/ -c.
299v161   7/29/90  Add -T flag.
300v162   8/14/90  Fix bug with +F on command line.
301v163   8/21/90  Added LESSBINFMT variable.
302v164   9/5/90   Added -p, LINES, COLUMNS and
303                unset mark ' == BOF, for 1003.2 D5.
304v165   9/6/90   At EOF with -c set, don't display empty
305                screen when try to page forward.
306v166   9/6/90   Fix G when final line in file wraps.
307v167   9/11/90  Translate CR/LF -> LF for 1003.2.
308v168   9/13/90  Return to curr file if "tag not found".
309v169   12/12/90 G goes to EOF even if file has grown.
310v170   1/17/91  Add optimization for BSD _setjmp;
311                fix #include ioctl.h TERMIO problem.
312                (thanks to Paul Eggert)
313                Posted to USENET.
314-----------------------------------------------------------------
315v171   3/6/91   Fix -? bug in get_filename.
316v172   3/15/91  Fix G bug in empty file.
317                Fix bug with ?\n and -i and uppercase
318                pattern at EOF!
319                (thanks to Paul Eggert)
320v173   3/17/91  Change N cmd to not permanently change
321                direction. (thanks to Brian Matthews)
322v174   3/18/91  Fix bug with namelogfile not getting
323                cleared when change files.
324v175   3/18/91  Fix bug with ++cmd on command line.
325                (thanks to Jim Meyering)
326v176   4/2/91   Change | to not force current screen,
327                include marked line, start/end from
328                top of screen.  Improve search speed.
329                (thanks to Don Mears)
330v177   4/2/91   Add LESSHELP variable.
331                Fix bug with F command with -e.
332                Try /dev/tty for input before using fd 2.
333                Patches posted to USENET  4/2/91.
334-----------------------------------------------------------------
335v178   4/8/91   Fixed bug in globbing logfile name.
336                (thanks to Jim Meyering)
337v179   4/9/91   Allow negative -z for screen-relative.
338v180   4/9/91   Clear to eos rather than eol if "db";
339                don't use "sr" if "da".
340                (thanks to Tor Lillqvist)
341v181   4/18/91  Fixed bug with "negative" chars 80 - FF.
342                (thanks to Benny Sander Hofmann)
343v182   5/16/91  Fixed bug with attribute at EOL.
344                (thanks to Brian Matthews)
345v183   6/1/91   Rewrite linstall to do smart config.
346v184   7/11/91  Process \b in searches based on -u
347                rather than -i.
348v185   7/11/91  -Pxxx sets short prompt; assume SIGWINCH
349                after a SIGSTOP. (thanks to Ken Laprade)
350-----------------------------------------------------------------
351v186   4/20/92  Port to MS-DOS (Microsoft C).
352v187   4/23/92  Added -D option & TAB_COMPLETE_FILENAME.
353v188   4/28/92  Added command line editing features.
354v189   12/8/92  Fix mem overrun in anscreen.c:init;
355                fix edit_list to recover from bin file.
356v190   2/13/93  Make TAB enter one filename at a time;
357                create ^L with old TAB functionality.
358v191   3/10/93  Defer creating "flash" page for MS-DOS.
359v192   9/6/93   Add BACK-TAB.
360v193   9/17/93  Simplify binary_file handling.
361v194   1/4/94   Add rudiments of alt_filename handling.
362v195   1/11/94  Port back to Unix; support keypad.
363-----------------------------------------------------------------
364v196   6/7/94   Fix bug with bad filename; fix IFILE
365                type problem. (thanks to David MacKenzie)
366v197   6/7/94   Fix bug with .less tables inserted wrong.
367v198   6/23/94  Use autoconf installation technology.
368                (thanks to David MacKenzie)
369v199   6/29/94  Fix MS-DOS build (thanks to Tim Wiegman).
370v200   7/25/94  Clean up copyright, minor fixes.
371        Posted to prep.ai.mit.edu
372-----------------------------------------------------------------
373v201   7/27/94  Check for no memcpy; add casts to calloc;
374                look for regcmp in libgen.a.
375                (thanks to Kaveh Ghazi).
376v202   7/28/94  Fix bug in edit_next/edit_prev with
377                non-existent files.
378v203   8/2/94   Fix a variety of configuration bugs on
379                various systems. (thanks to Sakai
380                Kiyotaka, Harald Koenig, Bjorn Brox,
381                Teemu Rantanen, and Thorsten Lockert)
382v204   8/3/94   Use strerror if available.
383                (thanks to J.T. Conklin)
384v205   8/5/94   Fix bug in finding "me" termcap entry.
385                (thanks to Andreas Stolcke)
3868/10/94         v205+: Change BUFSIZ to LBUFSIZE to avoid name
387                conflict with stdio.h.
388                Posted to prep.ai.mit.edu
389-----------------------------------------------------------------
390v206   8/10/94  Use initial_scrpos for -t to avoid
391                displaying first page before init().
392                (thanks to Dominique Petitpierre)
393v207   8/12/94  Fix bug if stdout is not tty.
394v208   8/16/94  Fix bug in close_altfile if goto err1
395                in edit_ifile. (Thanks to M.J. Hewitt)
396v209   8/16/94  Change scroll to wscroll to avoid
397                conflict with library function.
398v210   8/16/94  Fix bug with bold on 8 bit chars.
399                (thanks to Vitor Duarte)
400v211   8/16/94  Don't quit on EOI in jump_loc / forw.
401v212   8/18/94  Use time_t if available.
402v213   8/20/94  Allow ospeed to be defined in termcap.h.
403v214   8/20/94  Added HILITE_SEARCH, -F, ESC-u cmd.
404                (thanks to Paul Lew and Bob Byrnes)
405v215   8/23/94  Fix -i toggle behavior.
406v216   8/23/94  Process BS in all searches, not only -u.
407v217   8/24/94  Added -X flag.
408v218   8/24/94  Reimplement undo_search.
409v219   8/24/94  Find tags marked with line number
410                instead of pattern.
411v220   8/24/94  Stay at same position after SIG_WINCH.
412v221   8/24/94  Fix bug in file percentage in big file.
413v222   8/25/94  Do better if can't reopen current file.
414v223   8/27/94  Support setlocale.
415                (thanks to Robert Joop)
416v224   8/29/94  Revert v216: process BS in search
417                only if -u.
418v225   9/6/94   Rewrite undo_search again: toggle.
419v226   9/15/94  Configuration fixes.
420                (thanks to David MacKenzie)
421v227   9/19/94  Fixed strerror config problem.
422                Posted to prep.ai.mit.edu
423-----------------------------------------------------------------
424v228   9/21/94  Fix bug in signals: repeated calls to
425                get_editkeys overflowed st_edittable.
426v229   9/21/94  Fix "Nothing to search" error if -a
427                and SRCH_PAST_EOF.
428v230   9/21/94  Don't print extra error msg in search
429                after regerror().
430v231   9/22/94  Fix hilite bug if search matches 0 chars.
431                (thanks to John Polstra)
432v232   9/23/94  Deal with weird systems that have
433                termios.h but not tcgetattr().
434                Posted to prep.ai.mit.edu
435-----------------------------------------------------------------
436v233   9/26/94  Use get_term() instead of pos_init() in
437                psignals to re-get lower_left termcap.
438                (Thanks to John Malecki)
439v234   9/26/94  Make MIDDLE closer to middle of screen.
440v235   9/27/94  Use local strchr if system doesn't have.
441v236   9/28/94  Don't use libucb; use libterm if
442                libtermcap & libcurses doesn't work.
443                (Fix for Solaris; thanks to Frank Kaefer)
444v237   9/30/94  Use system isupper() etc if provided.
445                Posted to prep.ai.mit.edu
446-----------------------------------------------------------------
447v238   10/6/94  Make binary non-blinking if LESSBINFMT
448                is set to a string without a *.
449v239   10/7/94  Don't let delimit_word run back past
450                beginning of cmdbuf.
451v240   10/10/94 Don't write into termcap buffer.
452                (Thanks to Benoit Speckel)
453v241   10/13/94 New lesskey file format.
454                Don't expand filenames in search command.
455v242   10/14/94 Allow lesskey specification of "literal".
456v243   10/14/94 Add #stop command to lesskey.
457v244   10/16/94 Add -f flag to lesskey.
458v245   10/25/94 Allow TAB_COMPLETE_FILENAME to be undefd.
459v246   10/27/94 Move help file to /usr/local/share.
460v247   10/27/94 Add -V option.
461v248   11/5/94  Add -V option to lesskey.
462v249   11/5/94  Remove -f flag from lesskey; default
463                input file is ~/.lesskey.in, not stdin.
464v250   11/7/94  Lesskey input file "-" means stdin.
465v251   11/9/94  Convert cfgetospeed result to ospeed.
466                (Thanks to Andrew Chernov)
467v252   11/16/94 Change default lesskey input file from
468                .lesskey.in to .lesskey.
469                Posted to prep.ai.mit.edu
470-----------------------------------------------------------------
471v253   11/21/94 Fix bug when tags file has a backslash.
472v254   12/6/94  Fix -k option.
473v255   12/8/94  Add #define EXAMINE to disable :e etc.
474v256   12/10/94 Change highlighting: only highlite search
475                results (but now it is reliable).
476v257   12/10/94 Add goto_line and repaint_highlight
477                to optimize highlight repaints.
478v258   12/12/94 Fixup in hilite_line if BS_SPECIAL.
479v259   12/12/94 Convert to autoconf 2.0.
480v260   12/13/94 Add SECURE define.
481v261   12/14/94 Use system WERASE char as EC_W_BACKSPACE.
482v262   12/16/94 Add -g/-G flag and screen_hilite.
483v263   12/20/94 Reimplement/optimize -G flag behavior.
484v264   12/23/94 Allow EXTRA string after line-edit cmd
485                in lesskey file.
486v265   12/24/94 Add LESSOPEN=|cmd syntax.
487v266   12/26/94 Add -I flag.
488v267   12/28/94 Formalize the four-byte header emitted
489                by a LESSOPEN pipe.
490v268   12/28/94 Get rid of four-byte header.
491v269   1/2/95   Close alt file before open new one.
492                Avoids multiple popen().
493v270   1/3/95   Use VISUAL; use S_ISDIR/S_ISREG; fix
494                config problem with Solaris POSIX regcomp.
495v271   1/4/95   Don't quit on read error.
496v272   1/5/95   Get rid of -L.
497v273   1/6/95   Fix ch_ungetchar bug; don't call
498                LESSOPEN on a pipe.
499v274   1/6/95   Ported to OS/2 (thanks to Kai Uwe Rommel)
500v275   1/18/95  Fix bug if toggle -G at EOF.
501v276   1/30/95  Fix OS/2 version.
502v277   1/31/95  Add "next" charset; don't display ^X
503                for X > 128.
504v278   2/14/95  Change default for -G.
505                Posted to prep.ai.mit.edu
506-----------------------------------------------------------------
507v279   2/22/95  Add GNU options --help, --version.
508                Minor config fixes.
509v280   2/24/95  Clean up calls to glob(); don't set #
510                if we can't open the new file.
511v281   2/24/95  Repeat search should turn on hilites.
512v282   3/2/95   Minor fixes.
513v283   3/2/95   Fix homefile; make OS2 look in $HOME.
514v284   3/2/95   Error if "v" on LESSOPENed file;
515                "%" figures out file size on pipe.
516v285   3/7/95   Don't set # in lsystem;
517                lesskey try $HOME first.
518v286   3/7/95   Reformat change history (too much free time?).
519v287   3/8/95   Fix hilite bug if overstrike multiple chars.
520v288   3/8/95   Allow lesskey to override get_editkey keys.
521v289   3/9/95   Fix adj_hilite bug when line gets processed by
522                hilite_line more than once.
523v290   3/9/95   Make configure automatically.  Fix Sequent problem
524                with incompatible sigsetmask().
525                Posted to prep.ai.mit.edu
526-----------------------------------------------------------------
527v291   3/21/95  Add #env to lesskey.  Fix MS-DOS build.
528                Posted to simtel.
529-----------------------------------------------------------------
530v292   4/24/95  Add MS-DOS support for Borland C.
531                Fix arrow keys in MS-DOS versions.
532v293   4/28/95  Add auto-versioning stuff to make dist.
533v294   5/12/95  Fix Borland build.
534v295   1/20/96  Fix search on squished file; add /@@.
535v296   1/23/96  Allow cmdbuf larger than screen width.
536v297   1/24/96  Don't call termcap if tgetent fails;
537                add #defines for buffers.
538v298   1/24/96  Change @@ to ^K.
539                Add alternate search modifiers ^N, ^F, ^E.
540v299   1/25/96  Fix percent overflow in jump_percent (thanks to Brent Wiese);
541                don't send "ti" after shell command till RETURN pressed.
542v300   1/25/96  Change -U to print tabs as ^I.
543v301   1/30/96  Make hilites work in cmd F output.
544v302   1/31/96  Fix cmd F to notice window-change signals.
545v303   1/31/96  Add ESC-SPACE command.
546v304   2/1/96   Add ^R search modifier; add LESSSECURE.
547v305   2/2/96   Workaround Linux /proc kernel bug; add LESSKEY.
548v306   3/16/96  Minor fixes.
549v307   3/25/96  Allow cmd line arg "--"; fix DOS & OS/2 defines.h.
550v308   4/4/96   Port to OS-9 (thanks to Boisy Pitre); fix -d.
551v309   4/9/96   Fix OS-9 version; fix tags bug with "$".
552v310   4/10/96  Get rid of HELPFILE.
553v311   4/22/96  Add Windows32 support; merge doscreen.c into screen.c.
554v312   4/24/96  Don't quit after "cannot reopen" error.
555v313   4/25/96  Added horizontal scrolling.
556v314   4/26/96  Modified -e to quit on reaching end of a squished file.
557v315   4/26/96  Fix "!;TAB" bug.
558v316   5/2/96   Make "|a" when (a < curr screen) go to end of curr screen.
559v317   5/14/96  Various fixes for the MS-DOS and OS/2 builds.
560                Added ## and %% handling for filenames
561v318   5/29/96  Port to OS-9 Microware compiler; minor fixes
562                (thanks to Martin Gregorie).
563v319   7/8/96   Fix Windows port (thanks to Jeff Paquette).
564v320   7/11/96  Final fixes for Windows port.
565v321   7/18/96  Minor fixes.
566                Posted to Web page.
567-----------------------------------------------------------------
568v322   8/13/96  Fix bug in shell escape from help file; add support for
569                Microsoft Visual C under Windows; numerous small fixes.
570v323   8/19/96  Fixes for Windows version (thanks to Simon Munton);
571                fix for Linux library weirdness (thanks to Jim Diamond);
572                port to DJGPP (thanks to Eli Zaretskii).
573v324   8/21/96  Add support for spaces in filenames (thanks to Simon Munton).
574v325   8/21/96  Add lessecho, for spaces in filenames under Unix.
575v326   8/27/96  Fix DJGPP version.
576v327   9/1/96   Reorganize lglob, make spaces in filenames work better in Unix.
577v328   10/7/96  Append / to directory name in filename completion.
578                Fix MS-DOS and OS-9 versions.
579v329   10/11/96 Fix more MS-DOS bugs; add LESSSEPARATOR; add -" option.
580                Add LESSMETACHARS, LESSMETAESCAPE.
581v330   10/21/96 Minor fixes.
582                Posted to Web page.
583-----------------------------------------------------------------
584v331   4/22/97  Various Windows fixes (thanks to Gurusamy Sarathy).
585v332   4/22/97  Enter filenames from cmd line into edit history.
586                Posted to Web page.
587-----------------------------------------------------------------
588v333    3/4/99  Changed -w to highlite new line after forward movement.
589v334    3/9/99  Avoid overflowing prompt buffer; add %d and %D.
590v335   3/20/99  Add EBCDIC support (thanks to Thomas Dorner).
591                Use HOMEDRIVE/HOMEPATH on Windows (thanks to Preston Bannister).
592                Posted to Web page.
593-----------------------------------------------------------------
594v336    4/8/99  Fix installation bugs.
595v337    4/9/99  Fix another installation bug.
596                Posted to Web page.
597-----------------------------------------------------------------
598v338   4/13/99  Add support for long option names.
599v339   4/18/99  Add \k, long option names to lesskey.  Add -^P.  Add :d.
600v340   4/21/99  Add regexec2.  Fix Windows build.
601                Posted to Web page.
602-----------------------------------------------------------------
603v341    5/6/99  Add -F option; %c & ?c prompt escapes.
604                (Thanks to Michele Maltoni)
605v342   7/22/99  Add system-wide lesskey file; allow GPL or Less License.
606v343   9/23/99  Support UTF-8 (Thanks to Robert Brady).
607                Add %P and ?P in prompts.
608v344  10/27/99  -w highlights target line of g and p commands.
609v345  10/29/99  Make -R pass thru ESC but not other control chars.
610                Posted to Web page.
611-----------------------------------------------------------------
612v346   11/4/99  Fix bugs in long option processing; R cmd should clear hilites.
613                Posted to Web page.
614-----------------------------------------------------------------
615v347  12/13/99  Fixes for DJGPP version (thanks to Eli Zaretskii).
616v348  12/28/99  Fix deleting file with marks (thanks to Dimitar Jekov).
617                Fix color problem in DJGPP version (thanks to Eli Zaretskii).
618v349   1/24/00  Fix minor DJGPP bugs; check environment vars for UTF-8;
619                add --with-editor (thanks to Eli, Markus Kuhn, Thomas Schoepf).
620v350   3/1/00   Fix clear-while-standout bug.
621v351   3/5/00   Change -M and = prompts to show top & bottom line number.
622                Posted to Web page.
623-----------------------------------------------------------------
624v352   3/8/00   Fix scan_option NULL dereference.
625-----------------------------------------------------------------
626v353   3/20/00  Fix SECURE compile bug, allow space after numeric option.
627v354   3/23/00  Add support for PCRE; add --with-regex configure option.
628-----------------------------------------------------------------
629v355   6/28/00  Add -# option (thanks to Andy Levinson).
630v356   7/5/00   Add -J option.
631v357   7/6/00   Support sigprocmask.
632-----------------------------------------------------------------
633v358   7/8/00   Fix problems with #stop in lesskey file.
634                Posted to Web page.
635-----------------------------------------------------------------
636v359  9/10/00   Fixes for Win32 display problems (thanks to Maurizio Vairani).
637v360  1/17/01   Move sysless to etc.
638v361  12/4/01   Add IBM-1047 charset & EBCDIC fixes (thanks to Thomas Dorner).
639                Fix 32 bit dependencies (thanks to Paul Eggert).
640                Fix UTF-8 overstriking (thanks to Robert Brady).
641v362  12/4/01   Make status column show search targets.
642v363  12/6/01   Add --no-keypad option.
643                Add variable width tabstops (thanks to Peter Samuelson).
644v364 12/10/01   Better handling of very long lines in input;
645                Fix horizontal shifting of colored text.
646v365 12/11/01   Fix overstriking of tabs;
647                Add support for global(1) and multiple tag matches
648                (thanks to Shigio Yamaguchi and Tim Vanderhoek).
649v366 12/11/01   Fixes for OS/2 (thanks to Kyosuke Tokoro).
650v367 12/13/01   Allow -D and -x options to terminate without dollar sign;
651                Right/left arrow when entering N are shift cmds, not line edit.
652v368 12/18/01   Update lesskey commands.
653v370 12/23/01   Fix tags error messages.
654                Posted to Web page.
655-----------------------------------------------------------------
656v371 12/26/01   Fix new_file bug; use popen in Windows version;
657                fix some compiler warnings.
658v372 12/29/01   Make -b be in units of 1K.
659v373  1/14/02   Improve handling of filenames containing shell metachars.
660v374   2/7/02   Fix memory leak; fix bug in -x argument parsing.
661v375   4/7/02   Fix searching for SGR sequences; fix SECURE build;
662                add SGR support to DJGPP version (thanks to Eli Zaretskii).
663v376  6/10/02   Fix bug in overstriking mulitbyte UTF-8 characters
664                (thanks to Jungshik Shin).
665                Posted to Web page.
666-----------------------------------------------------------------
667v377  9/10/02   Fix bug in Windows version when file contains CR;
668                fix bug in search highlights with -R;
669                make initial buffer limit really be 64K not unlimited.
670v378  9/30/02   Misc bug fixes and compiler warning cleanup.
671                Posted to Web page.
672-----------------------------------------------------------------
673v379 11/23/02   Add -L option; fix bug with ctrl-K in lesskey files;
674                improve UTF-8 overstriking and underscore overstriking;
675                fix minor man page problems; change to autoconf 2.54.
676v380 11/24/02   Make LINENUM same as POSITION.
677v381 11/28/02   Make -N use 7 columns for line number if possible.
678-----------------------------------------------------------------
679v382   2/3/04   Remove copyrighted code.
680-----------------------------------------------------------------
681v383  2/16/04   Add history file; add -K option; improve UTF-8 handling;
682                fix some signed char bugs (thanks to Christian Biere);
683                fix some upper/lower case bugs (thanks to Bjoern Jacke);
684                add erase2 char (thanks to David Lawrence);
685                add windows charset (thanks to Dimitar Zhekov).
686v384  2/20/04   Improvements in UTF-8 handling.
687v385  2/23/04   Fix UTF-8 output bug.
688-----------------------------------------------------------------
689v386  9/13/05   Improvements to UTF-8 shift & color (thanks to Charles Levert);
690                protect against invalid LESSOPEN and LESSCLOSE values.
691v387  9/14/05   Update Charles Levert's UTF-8 patch.
692v388  9/14/05   Change history behavior; change most sprintf calls to snprintf.
693v389  9/14/05   Fix copy & paste with long lines; improve performance of
694                expand_linebuf; fix crash in init_mlist;
695v390  9/15/05   Show search matches in status column even if -G is set.
696-----------------------------------------------------------------
697v391  9/17/05   Fix bugs.
698v392  10/14/05  Fix line wrapping bug.
699v393  10/19/05  Allow multiple attributes per char; fix bold+underline bug
700                (thanks again to Charles Levert).
701v394  11/8/05   Fix prompt bug; fix compile problem in Windows build.
702-----------------------------------------------------------------
703v395  1/12/07   Update Unicode tables (thanks to Charles Levert);
704                don't chmod if LESSHISTFILE = /dev/null;
705                make -f work for directories; support DESTDIR in Makefile;
706                fix sigset_t detection in configure;
707                make "t" cmd traverse tags in correct order
708v396  1/13/07   Add compatibility with POSIX more.
709v397  3/21/07   Allow decimal point in number for % command;
710                Allow decimal point in number for -j option;
711                Allow n command to fetch last search pattern from history
712                (thanks to arno).
713v398  3/22/07   Don't rewrite history file if not necessary;
714                fix bug when filenames contain "$".
715v399  3/22/07   Don't move to bottom of screen at startup;
716                don't output extraneous newlines.
717v400  3/23/07   Allow search to find pattern after null byte (PCRE and no-regex)
718                (thanks to Michael Constant).
719-----------------------------------------------------------------
720v401  3/24/07   Minor documentation fixes.
721v402  3/30/07   Fix autoconf bug when memcpy etc are inline;
722                fix bug in terminating number following -j option.
723v403  5/25/07   Fix Windows build.
724v404  6/5/07    Fix display bug with F command and long lines.
725v405  6/17/07   Fix display bug when using -w option.
726v406  6/17/07   Fix secure build.
727v407  8/16/07   Fix bugs; support CSI chars.
728v408  10/1/07   Fix bug in -i with non-ASCII chars.
729v409  10/12/07  Fix crash when viewing text with invalid UTF-8 sequences.
730v411  11/6/07   Fix case-insensitive searching with non-ASCII text.
731v412  11/6/07   Use symbolic SEEK constants.
732v413  11/6/07   Fix search highlight bug with non-ASCII text.
733v414  11/6/07   Fix display bug with no-wrap terminals.
734v415  11/14/07  Add --follow-name option.
735v416  11/22/07  Fix crash when searching text with invalid UTF-8 sequences.
736v417  12/31/07  Don't support single-char CSI in UTF-8 mode;
737                fix bug with -R and invalid CSI sequences;
738                fix bug searching text with SGR sequences with -r;
739                emulate SGR sequences in WIN32 build.
740v418  12/31/07  Clean up.
741-----------------------------------------------------------------
742v419  1/16/08   Make CSI char 0x9B work in UTF-8 mode (thanks to Colin Watson).
743v420  2/24/08   Add & command; fix -F option; fix '' after G.
744v421  2/24/08   Ignore filtered lines when searching.
745v422  3/2/08    Output CR at startup.
746v423  5/27/08   Clean up.
747v424  6/16/08   Fix compile bug with pcre; don't filter help file.
748v425  7/14/08   Fix non-ANSI code in list handling in ch.c.
749v426  10/27/08  Fix ignaw terminal handling (thanks to Per Hedeland);
750                fix binary file detection in UTF-8 mode.
751v427  3/16/09   A few Win32 fixes (thanks to Jason Hood).
752v428  3/30/09   Add "|-" syntax to LESSOPEN.
753v429  4/10/09   Fix search highlighting bug with underlined text.
754-----------------------------------------------------------------
755v430  4/22/09   Don't pass "-" to non-pipe LESSOPEN unless it starts with "-".
756v431  4/29/09   Fix highlight bug when match is at end of line.
757v432  6/27/09   Better fix for highlight bugs;
758                fix new problems with ignaw terminals.
759v433  6/28/09   Cleanup search code.
760v434  6/29/09   More cleanup.
761v435  7/04/09   Fix bugs with non-regex filtering.
762v436  7/05/09   Fix memory leak.
763-----------------------------------------------------------------
764v437  7/14/09   Fix bug in handling some long option names;
765                make percentage calculation more accurate.
766v438  12/29/10  Fix bugs with -i/-I and & filtering;
767                exit with status 2 on ctrl-C with -K.
768v439  12/31/10  Add -A option.
769v440  1/5/11    Fix bug displaying prompt after = command.
770v441  1/21/11   Fix semi-infinite loop if no newlines in file;
771                make new -A behavior the default.
772-----------------------------------------------------------------
773v442  3/2/11    Fix search bug.
774                Add ctrl-G line edit command.
775v443  4/9/11    Fix Windows build.
776v444  6/8/11    Fix ungetc bug; remove vestiges of obsolete -l option.
777-----------------------------------------------------------------
778v445  10/19/11  Fix hilite bug in backwards scroll with -J.
779                Fix hilite bug with backspaces.
780                Fix bugs handling SGR sequences in Win32 (thanks to Eric Lee).
781                Add support for GNU regex (thanks to Reuben Thomas).
782v446  5/15/12   Up/down arrows in cmd editing search for matching cmd.
783v447  5/21/12   Add ESC-F command, two-pipe LESSOPEN syntax.
784v448  6/15/12   Print name of regex library in version message.
785v449  6/23/12   Allow config option --with-regex=none.
786v450  7/4/12    Fix EOF bug with ESC-F.
787v451  7/20/12   Fix typo.
788-----------------------------------------------------------------
789v452  10/19/12  Fix --with-regex=none, fix "stty 0", fix Win32.
790                Don't quit if errors in cmd line options.
791v453  10/27/12  Increase buffer sizes.
792v454  11/5/12   Fix typo.
793v455  11/5/12   Fix typo.
794v456  11/8/12   Fix option string incompatibility.
795v457  12/8/12   Use new option string syntax only after --use-backslash.
796v458  4/4/13    Fix display bug in using up/down in cmd buffer.
797-----------------------------------------------------------------
798v459  5/6/13    Fix ++ bug.
799v460  6/19/13   Automate construction of Unicode tables.
800v461  6/21/13   Collapse multiple CRs before LF.
801v462  11/26/13  Don't overwrite history file, just append to it.
802v463  7/13/14   Misc. fixes.
803v464  7/19/14   Fix bugs & improve performance in & filtering
804                (thanks to John Sullivan).
805v465  8/9/14    More fixes from John Sullivan.
806v466  8/23/14   Add colon to LESSANSIMIDCHARS.
807v467  9/18/14   Misc. fixes.
808v468  9/18/14   Fix typo
809v469  10/2/14   Allow extra string in command to append to a multichar
810                cmd without executing it; fix bug using GNU regex.
811v470  10/5/14   Fix some compiler warnings.
812v471  12/14/14  Fix unget issues with prompt. Allow disabling history
813                when compiled value of LESSHISTFILE = "-".
814v473  12/19/14  Fix prompt bug with stdin and -^P in lesskey extra string.
815v474  1/30/15   Fix bug in backwards search with match on bottom line.
816                Make follow mode reopen file if file shrinks.
817v475  3/2/15    Fix possible buffer overrun with invalid UTF-8;
818                fix bug when compiled with no regex; fix non-match search.
819v476  5/3/15    Update man pages.
820v477  5/19/15   Fix off-by-one in jump_forw_buffered;
821                don't add FAKE_* files to cmd history.
822v478  5/21/15   Fix nonportable pointer usage in hilite tree.
823v479  7/6/15    Allow %% escapes in LESSOPEN variable.
824v480  7/24/15   Fix bug in no-regex searches; support MSVC v1900.
825v481  8/20/15   Fix broken -g option.
826-----------------------------------------------------------------
827v482  2/25/16   Update Unicode database to "2015-06-16, 20:24:00 GMT [KW]".
828v483  2/27/16   Regenerate hilite when change search caselessness.
829                (Thanks to Jason Hood)
830                Fix bug when terminal has no "cm". (Thanks to Noel Cragg)
831v484  9/20/16   Update to Unicode 9.0.0 database.
832v485  10/21/16  Fix "nothing to search" bug when top/bottom line is empty;
833                Display line numbers in bold. (thanks to Jason Hood);
834                Fix incorrect display when entering double-width chars in
835                search string.
836v486  10/22/16  New commands ESC-{ and ESC-} to shift to start/end of
837                displayed lines; new option -Da in Windows version to
838                enable SGR mode (thanks to Jason Hood).
839v487  10/23/16  configure --help formatting.
840-----------------------------------------------------------------
841v488  2/23/17   Fix memory leaks in search (thanks to John Brooks).
842v489  3/30/17   Make -F not do init/deinit if file fits on one screen
843                (thanks to Jindrich Novy).
844v490  4/5/17    Switch to ANSI prototypes in funcs.h; remove "register".
845v491  4/7/17    Fix signed char bug.
846v492  4/21/17   Handle SIGTERM.
847v493  6/22/17   Fix bug initializing charset in MSDOS build.
848v494  6/26/17   Update Unicode tables; make Cf chars composing not binary.
849v495  7/3/17    Improve binary file detection (thanks to Bela Lubkin);
850                do -R filter when matching tags (thanks to Matthew Malcomson).
851v496  7/5/17    Add LESSRSCROLL marker.
852v497  7/5/17    Sync.
853v498  7/7/17    Fix early truncation of text if last char is double-width.
854v499  7/10/17   Misc fixes.
855v500  7/11/17   Fix bug where certain env variables couldn't be set in lesskey.
856v501  7/12/17   Make sure rscroll char is standout by default.
857v502  7/13/17   Control rscroll char via command line option not env variable.
858v503  7/13/17   Switch to git.
859v504  7/13/17   Call opt_rscroll at startup; change mkhelp.c to mkhelp.pl.
860v505  7/17/17   Add M and ESC-M commands;
861                fix buffer handling with stdin and LESSOPEN.
862v506  7/17/17   On Windows, convert UTF-8 to multibyte if console is not UTF-8;
863                handle extended chars on input (thanks to Jason Hood).
864v507  7/18/17   Fix some bugs handling filenames containing shell metachars.
865v508  7/19/17   Fix bugs when using LESSOPEN to read stdin.
866v509  7/19/17   Fix another stdin bug.
867v510  7/20/17   Fix bug in determining when to reopen a file.
868v511  7/25/17   Fix bugs in recent MSDOS changes (thanks to Jason Hood).
869v512  7/26/17   Fix MSDOS build.
870v513  7/26/17   Fix switch to normal attr at end of line with -R and rscroll.
871v514  7/27/17   Fix bug in fcomplete when pattern does not match a file.
872v515  7/28/17   Allow 'u' in -D option on Windows.
873v516  7/29/17   Fix bug using LESSOPEN with filename containing metachars.
874v517  7/30/17   Status column shows matches even if hiliting is disabled via -G.
875v518  8/1/17    Use underline in sgr mode in MSDOS (thanks to Jason Hood).
876v519  8/10/17   Fix rscroll bug when last char of line starts coloration.
877v520  9/3/17    Fix compiler warning.
878v521  10/20/17  Fix binary file warning in UTF-8 files with SGI sequences.
879v522  10/20/17  Handle keypad ENTER key properly.
880v523  10/23/17  Cleanup.
881v524  10/24/17  Fix getcc bug.
882v525  10/24/17  Change M command to mark last displayed line.
883v526  10/25/17  Fix search hilite bug introduced in v517.
884v527  10/30/17  Fix search hilite bug on last page with -a.
885v528  11/3/17   Make second ESC-u clear status column.
886v529  11/12/17  Display Unicode formatting chars in hex if -U is set.
887v530  12/2/17   Minor doc change and add missing VOID_PARAM.
888-----------------------------------------------------------------
889v531  5/13/18   Fix bug with v on empty file; fix bug with v on file with
890                metachars in name; add --nohistdups option.
891v532  7/27/18   Redraw screen on SIGWINCH even if screen size doesn't change.
892v533  8/1/18    Shell escape filenames in history; use PCRE_UTF8 flag;
893                use wide-chars for Windows console title (thanks to Jason Hood).
894v534  8/9/18    Support PCRE2.
895v535  8/16/18   Don't count lines of initial screen if using -X with -F
896                (thanks to Linus Torvalds).
897v536  8/31/18   Use descriptive error messages for PCRE2.
898v537  8/31/18   Support mingw build system (thanks to Mike Soyka).
899v538  9/3/18    Clean up some WIN32 code.
900v539  9/13/18   Fix spurious input on Windows with CAPSLOCK.
901v540  10/29/18  Add --mouse option.
902v541  10/30/18  Add --MOUSE option.
903v542  11/6/18   Add mouse support for WIN32; add --wheel-lines option.
904                (thanks to Jason Hood).
905v543  11/12/18  Code cleanup.
906v544  11/16/18  Don't init/deinit keyboard/mouse if quit due to -F.
907v545  11/22/18  Fix Windows build, memory leaks.
908v546  11/29/18  Add --save-marks option.
909v547  11/30/18  Fix some bugs with saved marks.
910v548  12/14/18  Ignore mouse input when line editing.
911v549  2/10/19   Support X11 mouse extension 1006;
912                Win32 fixes (thanks to Jason Hood).
913v550  2/16/19   Fix Win32 build; don't enable mouse unless --mouse is set.
914v551  6/10/19   Doc changes.
915-----------------------------------------------------------------
916v552  7/8/19    Update Unicode tables.
917v553  10/17/19  Support tinfow; handle zero-width Hangul chars.
918v554  1/19/20   Remove erroneous free().
919v555  3/15/20   Display error msg immediately when toggle -o without stdin.
920v556  3/15/20   Update copyright.
921v557  3/21/20   Fix memory corruption with libtermcap.
922v558  4/17/20   Don't init terminal if -F and file fits on one screen (WIN32).
923v559  4/19/20   Handle deinit correctly on WIN32.
924v560  5/3/20    Fix regression when command results in no movement;
925                fix some less.nro issues (thanks to Bjarni I. Gislason).
926v561  5/11/20   Fix erroneous EOF calculation when F command is interrupted.
927v562  5/19/20   Update Unicode tables; minor doc formatting.
928v563  6/13/20   Fix crash due to realpath() incompatibility.
929v564  8/25/20   Handle realpath consistently; update docs.
930v565  11/3/20   Add ESC-U command, optimize calls to realpath().
931v566  11/25/20  Fix crash when reopening a file while using LESSOPEN;
932                support OSC 8 hyperlinks.
933v567  11/25/20  Fix typo.
934v568  11/29/20  Fix some hyperlink bugs; add ^W search modifier
935                (thanks to Arminius); allow Makefile.aut to use Python
936                instead of Perl (thanks to Charlie Lin).
937v569  12/1/20   Allow multiple & filters (thanks to Mattias Johansson),
938                allow ^X to exit F command.
939v570  12/12/20  Better handling of multiple + or -p options;
940                fix bugs in horizontal scrolling.
941v571  12/30/20  Add --line-num-width and --status-col-width options.
942v572  1/4/21    Save lastmark in history file; don't toggle mouse reporting;
943                implement termcap delays.
944v573  1/9/21    Limit eof bell to 1 per second.
945v574  1/13/21   Add incremental search.
946v575  1/17/21   Fix build without HILITE_SEARCH;
947                fix bug with ^K in lesskey extra string.
948v576  2/4/21    Make sure search result is visible; add --use-color and --color.
949v577  2/9/21    Use ttyname to get name of tty device.
950v578  2/9/21    Doc
951v579  2/14/21   Fix double-width char bugs and non-match search crash.
952v580  3/2/21    Some color fixes; fix compiler warnings; some lesstest support.
953v581  4/6/21    Ignore SIGTSTP in secure mode; don't print "skipping" when filtering.
954v582  4/21/21   Less now reads lesskey source file rather than binary;
955                fix bug in finding tags with backslashes.
956v583  4/21/21   Use XDG_CONFIG_HOME and XDG_DATA_HOME to find files.
957v584  4/30/21   Add --file-size option.
958v585  5/2/21    Allow color desc W per man page.
959v586  5/7/21    Doc changes.
960v587  5/27/21   Fix --with-secure; fix --file-size message on Windows;
961                fix colored search hilite in colored text; don't exit
962                if -F and screen is resized; fix memcpy usage.
963v588  5/27/21   Fix release.
964v589  5/29/21   Copyright & build changes.
965v590  6/3/21    Fix non-autoconf Makefiles.
966v591  8/8/21    Use \kB for backspace key in lesskey; add more \k codes;
967                handle multibyte chars in prompt.
968v592  8/24/21   Add --status-line option; limit use of /proc kludge; add --header.
969v593  8/30/21   Add header columns, --no-number-headers.
970v594  10/1/21   Let regex library handle caseless; add --redraw-on-quit option;
971                add #version to lesskey.
972v595  10/12/21  Add H color type; add += to lesskey var section;
973                add --search-options.
974v596  11/8/21   Look for lesskey in $HOME/.config.
975v597  11/16/21  Fix bugs in --header.
976v598  12/6/21   Look for lesshst in $XDG_STATE_HOME and $HOME/.local/state.
977v599  12/28/21  Defer moving to lower left in some cases;
978                suppress TAB expansion in some cases.
979v600  1/7/22    Use /dev/tty if cannot open ttyname().
980v601  1/31/22   Add --exit-follow-on-close option.
981v602  3/1/22    Doc changes.
982v603  3/14/22   Fix --header.
983v604  5/14/22   Fix termlib detection; fix non-ASCII input on Windows.
984v605  6/14/22   Update version number.
985v606  7/17/22   Fix bug with multibyte chars and --incsearch;
986                escape filenames in LESSCLOSE; fix bin_file overrun.
987v607  7/19/22   Update Unicode tables.
988v608  7/22/22   Fix highlighting on colored text boundaries.
989v609            Add LESSUTFCHARDEF; fix overstrike color bug;
990                fix procfs bug; fix signal race.
991*/
992
993char version[] = "609x";
994R
995=/*_____________________________________________________________________________ * Copyright (C) 1984-2022  Mark Nudelman______________________________________ *_____________________________________________________________________________ * You may distribute under the terms of either the GNU General Public_________ * License or the Less License, as specified in the README file._______________ *_____________________________________________________________________________ * For more information, see the README file.__________________________________ */__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________/*_____________________________________________________________________________----------------------- CHANGE HISTORY --------------------------_____________________________________________________________________________________________       1/29/84  Allowed use on standard input__________________________________       2/1/84   Added E, N, P commands_________________________________________       4/17/84  Added '=' command, 'stop' signal handling______________________       4/20/84  Added line folding_____________________________________________v2     4/27/84  Fixed '=' command to use BOTTOM_PLUS_ONE,______________________                instead of TOP, added 'p' & 'v' commands_______________________v3     5/3/84   Added -m and -t options, '-' command___________________________v4     5/3/84   Added LESS environment variable________________________________v5     5/3/84   New comments, fixed '-' command slightly_______________________v6     5/15/84  Added -Q, visual bell__________________________________________v7     5/24/84  Fixed jump_back(n) bug: n should count real____________________                lines, not folded lines.  Also allow number on G command.______v8     5/30/84  Re-do -q and -Q commands_______________________________________v9     9/25/84  Added "+<cmd>" argument________________________________________v10    10/10/84 Fixed bug in -b<n> argument processing_________________________v11    10/18/84 Made error() ring bell if \\n not entered.______________________-----------------------------------------------------------------______________v12    2/13/85  Reorganized signal handling and made portable to 4.2bsd._______v13    2/16/85  Reword error message for '-' command.__________________________v14    2/22/85  Added -bf and -bp variants of -b.______________________________@04version.c@00#______________________________________________________________________
996+6a
997= * Copyright (C) 1984-2022  Mark Nudelman______________________________________ *_____________________________________________________________________________ * You may distribute under the terms of either the GNU General Public_________ * License or the Less License, as specified in the README file._______________ *_____________________________________________________________________________ * For more information, see the README file.__________________________________ */__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________/*_____________________________________________________________________________----------------------- CHANGE HISTORY --------------------------_____________________________________________________________________________________________       1/29/84  Allowed use on standard input__________________________________       2/1/84   Added E, N, P commands_________________________________________       4/17/84  Added '=' command, 'stop' signal handling______________________       4/20/84  Added line folding_____________________________________________v2     4/27/84  Fixed '=' command to use BOTTOM_PLUS_ONE,______________________                instead of TOP, added 'p' & 'v' commands_______________________v3     5/3/84   Added -m and -t options, '-' command___________________________v4     5/3/84   Added LESS environment variable________________________________v5     5/3/84   New comments, fixed '-' command slightly_______________________v6     5/15/84  Added -Q, visual bell__________________________________________v7     5/24/84  Fixed jump_back(n) bug: n should count real____________________                lines, not folded lines.  Also allow number on G command.______v8     5/30/84  Re-do -q and -Q commands_______________________________________v9     9/25/84  Added "+<cmd>" argument________________________________________v10    10/10/84 Fixed bug in -b<n> argument processing_________________________v11    10/18/84 Made error() ring bell if \\n not entered.______________________-----------------------------------------------------------------______________v12    2/13/85  Reorganized signal handling and made portable to 4.2bsd._______v13    2/16/85  Reword error message for '-' command.__________________________v14    2/22/85  Added -bf and -bp variants of -b.______________________________v15    2/25/85  Miscellaneous changes._________________________________________:#______________________________________________________________________________
998+6a
999= *_____________________________________________________________________________ * You may distribute under the terms of either the GNU General Public_________ * License or the Less License, as specified in the README file._______________ *_____________________________________________________________________________ * For more information, see the README file.__________________________________ */__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________/*_____________________________________________________________________________----------------------- CHANGE HISTORY --------------------------_____________________________________________________________________________________________       1/29/84  Allowed use on standard input__________________________________       2/1/84   Added E, N, P commands_________________________________________       4/17/84  Added '=' command, 'stop' signal handling______________________       4/20/84  Added line folding_____________________________________________v2     4/27/84  Fixed '=' command to use BOTTOM_PLUS_ONE,______________________                instead of TOP, added 'p' & 'v' commands_______________________v3     5/3/84   Added -m and -t options, '-' command___________________________v4     5/3/84   Added LESS environment variable________________________________v5     5/3/84   New comments, fixed '-' command slightly_______________________v6     5/15/84  Added -Q, visual bell__________________________________________v7     5/24/84  Fixed jump_back(n) bug: n should count real____________________                lines, not folded lines.  Also allow number on G command.______v8     5/30/84  Re-do -q and -Q commands_______________________________________v9     9/25/84  Added "+<cmd>" argument________________________________________v10    10/10/84 Fixed bug in -b<n> argument processing_________________________v11    10/18/84 Made error() ring bell if \\n not entered.______________________-----------------------------------------------------------------______________v12    2/13/85  Reorganized signal handling and made portable to 4.2bsd._______v13    2/16/85  Reword error message for '-' command.__________________________v14    2/22/85  Added -bf and -bp variants of -b.______________________________v15    2/25/85  Miscellaneous changes._________________________________________v16    3/13/85  Added -u flag for backspace processing.________________________:#______________________________________________________________________________
1000+6a
1001= * You may distribute under the terms of either the GNU General Public_________ * License or the Less License, as specified in the README file._______________ *_____________________________________________________________________________ * For more information, see the README file.__________________________________ */__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________/*_____________________________________________________________________________----------------------- CHANGE HISTORY --------------------------_____________________________________________________________________________________________       1/29/84  Allowed use on standard input__________________________________       2/1/84   Added E, N, P commands_________________________________________       4/17/84  Added '=' command, 'stop' signal handling______________________       4/20/84  Added line folding_____________________________________________v2     4/27/84  Fixed '=' command to use BOTTOM_PLUS_ONE,______________________                instead of TOP, added 'p' & 'v' commands_______________________v3     5/3/84   Added -m and -t options, '-' command___________________________v4     5/3/84   Added LESS environment variable________________________________v5     5/3/84   New comments, fixed '-' command slightly_______________________v6     5/15/84  Added -Q, visual bell__________________________________________v7     5/24/84  Fixed jump_back(n) bug: n should count real____________________                lines, not folded lines.  Also allow number on G command.______v8     5/30/84  Re-do -q and -Q commands_______________________________________v9     9/25/84  Added "+<cmd>" argument________________________________________v10    10/10/84 Fixed bug in -b<n> argument processing_________________________v11    10/18/84 Made error() ring bell if \\n not entered.______________________-----------------------------------------------------------------______________v12    2/13/85  Reorganized signal handling and made portable to 4.2bsd._______v13    2/16/85  Reword error message for '-' command.__________________________v14    2/22/85  Added -bf and -bp variants of -b.______________________________v15    2/25/85  Miscellaneous changes._________________________________________v16    3/13/85  Added -u flag for backspace processing.________________________v17    4/13/85  Added j and k commands, changed -t default.____________________:#______________________________________________________________________________
1002+6a
1003= * License or the Less License, as specified in the README file._______________ *_____________________________________________________________________________ * For more information, see the README file.__________________________________ */__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________/*_____________________________________________________________________________----------------------- CHANGE HISTORY --------------------------_____________________________________________________________________________________________       1/29/84  Allowed use on standard input__________________________________       2/1/84   Added E, N, P commands_________________________________________       4/17/84  Added '=' command, 'stop' signal handling______________________       4/20/84  Added line folding_____________________________________________v2     4/27/84  Fixed '=' command to use BOTTOM_PLUS_ONE,______________________                instead of TOP, added 'p' & 'v' commands_______________________v3     5/3/84   Added -m and -t options, '-' command___________________________v4     5/3/84   Added LESS environment variable________________________________v5     5/3/84   New comments, fixed '-' command slightly_______________________v6     5/15/84  Added -Q, visual bell__________________________________________v7     5/24/84  Fixed jump_back(n) bug: n should count real____________________                lines, not folded lines.  Also allow number on G command.______v8     5/30/84  Re-do -q and -Q commands_______________________________________v9     9/25/84  Added "+<cmd>" argument________________________________________v10    10/10/84 Fixed bug in -b<n> argument processing_________________________v11    10/18/84 Made error() ring bell if \\n not entered.______________________-----------------------------------------------------------------______________v12    2/13/85  Reorganized signal handling and made portable to 4.2bsd._______v13    2/16/85  Reword error message for '-' command.__________________________v14    2/22/85  Added -bf and -bp variants of -b.______________________________v15    2/25/85  Miscellaneous changes._________________________________________v16    3/13/85  Added -u flag for backspace processing.________________________v17    4/13/85  Added j and k commands, changed -t default.____________________v18    4/20/85  Rewrote signal handling code.__________________________________:#______________________________________________________________________________
1004+6a
1005= *_____________________________________________________________________________ * For more information, see the README file.__________________________________ */__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________/*_____________________________________________________________________________----------------------- CHANGE HISTORY --------------------------_____________________________________________________________________________________________       1/29/84  Allowed use on standard input__________________________________       2/1/84   Added E, N, P commands_________________________________________       4/17/84  Added '=' command, 'stop' signal handling______________________       4/20/84  Added line folding_____________________________________________v2     4/27/84  Fixed '=' command to use BOTTOM_PLUS_ONE,______________________                instead of TOP, added 'p' & 'v' commands_______________________v3     5/3/84   Added -m and -t options, '-' command___________________________v4     5/3/84   Added LESS environment variable________________________________v5     5/3/84   New comments, fixed '-' command slightly_______________________v6     5/15/84  Added -Q, visual bell__________________________________________v7     5/24/84  Fixed jump_back(n) bug: n should count real____________________                lines, not folded lines.  Also allow number on G command.______v8     5/30/84  Re-do -q and -Q commands_______________________________________v9     9/25/84  Added "+<cmd>" argument________________________________________v10    10/10/84 Fixed bug in -b<n> argument processing_________________________v11    10/18/84 Made error() ring bell if \\n not entered.______________________-----------------------------------------------------------------______________v12    2/13/85  Reorganized signal handling and made portable to 4.2bsd._______v13    2/16/85  Reword error message for '-' command.__________________________v14    2/22/85  Added -bf and -bp variants of -b.______________________________v15    2/25/85  Miscellaneous changes._________________________________________v16    3/13/85  Added -u flag for backspace processing.________________________v17    4/13/85  Added j and k commands, changed -t default.____________________v18    4/20/85  Rewrote signal handling code.__________________________________v19    5/2/85   Got rid of "verbose" eq_message()._____________________________:#______________________________________________________________________________
1006+6a
1007= * For more information, see the README file.__________________________________ */__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________/*_____________________________________________________________________________----------------------- CHANGE HISTORY --------------------------_____________________________________________________________________________________________       1/29/84  Allowed use on standard input__________________________________       2/1/84   Added E, N, P commands_________________________________________       4/17/84  Added '=' command, 'stop' signal handling______________________       4/20/84  Added line folding_____________________________________________v2     4/27/84  Fixed '=' command to use BOTTOM_PLUS_ONE,______________________                instead of TOP, added 'p' & 'v' commands_______________________v3     5/3/84   Added -m and -t options, '-' command___________________________v4     5/3/84   Added LESS environment variable________________________________v5     5/3/84   New comments, fixed '-' command slightly_______________________v6     5/15/84  Added -Q, visual bell__________________________________________v7     5/24/84  Fixed jump_back(n) bug: n should count real____________________                lines, not folded lines.  Also allow number on G command.______v8     5/30/84  Re-do -q and -Q commands_______________________________________v9     9/25/84  Added "+<cmd>" argument________________________________________v10    10/10/84 Fixed bug in -b<n> argument processing_________________________v11    10/18/84 Made error() ring bell if \\n not entered.______________________-----------------------------------------------------------------______________v12    2/13/85  Reorganized signal handling and made portable to 4.2bsd._______v13    2/16/85  Reword error message for '-' command.__________________________v14    2/22/85  Added -bf and -bp variants of -b.______________________________v15    2/25/85  Miscellaneous changes._________________________________________v16    3/13/85  Added -u flag for backspace processing.________________________v17    4/13/85  Added j and k commands, changed -t default.____________________v18    4/20/85  Rewrote signal handling code.__________________________________v19    5/2/85   Got rid of "verbose" eq_message()._____________________________                Made search() scroll in some cases.____________________________:#______________________________________________________________________________
1008+2f
1009= * For more information, see the README file.__________________________________ */__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________/*_____________________________________________________________________________----------------------- CHANGE HISTORY --------------------------_____________________________________________________________________________________________       1/29/84  Allowed use on standard input__________________________________       2/1/84   Added E, N, P commands_________________________________________       4/17/84  Added '=' command, 'stop' signal handling______________________       4/20/84  Added line folding_____________________________________________v2     4/27/84  Fixed '=' command to use BOTTOM_PLUS_ONE,______________________                instead of TOP, added 'p' & 'v' commands_______________________v3     5/3/84   Added -m and -t options, '-' command___________________________v4     5/3/84   Added LESS environment variable________________________________v5     5/3/84   New comments, fixed '-' command slightly_______________________v6     5/15/84  Added -Q, visual bell__________________________________________v7     5/24/84  Fixed jump_back(n) bug: n should count real____________________                lines, not folded lines.  Also allow number on G command.______v8     5/30/84  Re-do -q and -Q commands_______________________________________v9     9/25/84  Added "+<cmd>" argument________________________________________v10    10/10/84 Fixed bug in -b<n> argument processing_________________________v11    10/18/84 Made error() ring bell if \\n not entered.______________________-----------------------------------------------------------------______________v12    2/13/85  Reorganized signal handling and made portable to 4.2bsd._______v13    2/16/85  Reword error message for '-' command.__________________________v14    2/22/85  Added -bf and -bp variants of -b.______________________________v15    2/25/85  Miscellaneous changes._________________________________________v16    3/13/85  Added -u flag for backspace processing.________________________v17    4/13/85  Added j and k commands, changed -t default.____________________v18    4/20/85  Rewrote signal handling code.__________________________________v19    5/2/85   Got rid of "verbose" eq_message()._____________________________                Made search() scroll in some cases.____________________________/#______________________________________________________________________________
1010+5c
1011= * For more information, see the README file.__________________________________ */__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________/*_____________________________________________________________________________----------------------- CHANGE HISTORY --------------------------_____________________________________________________________________________________________       1/29/84  Allowed use on standard input__________________________________       2/1/84   Added E, N, P commands_________________________________________       4/17/84  Added '=' command, 'stop' signal handling______________________       4/20/84  Added line folding_____________________________________________v2     4/27/84  Fixed '=' command to use BOTTOM_PLUS_ONE,______________________                instead of TOP, added 'p' & 'v' commands_______________________v3     5/3/84   Added -m and -t options, '-' command___________________________v4     5/3/84   Added LESS environment variable________________________________v5     5/3/84   New comments, fixed '-' command slightly_______________________v6     5/15/84  Added -Q, visual bell__________________________________________v7     5/24/84  Fixed jump_back(n) bug: n should count real____________________                lines, not folded lines.  Also allow number on G command.______v8     5/30/84  Re-do -q and -Q commands_______________________________________v9     9/25/84  Added "+<cmd>" argument________________________________________v10    10/10/84 Fixed bug in -b<n> argument processing_________________________v11    10/18/84 Made error() ring bell if \\n not entered.______________________-----------------------------------------------------------------______________v12    2/13/85  Reorganized signal handling and made portable to 4.2bsd._______v13    2/16/85  Reword error message for '-' command.__________________________v14    2/22/85  Added -bf and -bp variants of -b.______________________________v15    2/25/85  Miscellaneous changes._________________________________________v16    3/13/85  Added -u flag for backspace processing.________________________v17    4/13/85  Added j and k commands, changed -t default.____________________v18    4/20/85  Rewrote signal handling code.__________________________________v19    5/2/85   Got rid of "verbose" eq_message()._____________________________                Made search() scroll in some cases.____________________________/\\#_____________________________________________________________________________
1012+21
1013= * For more information, see the README file.__________________________________ */__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________/*_____________________________________________________________________________----------------------- CHANGE HISTORY --------------------------_____________________________________________________________________________________________       1/29/84  Allowed use on standard input__________________________________       2/1/84   Added E, N, P commands_________________________________________       4/17/84  Added '=' command, 'stop' signal handling______________________       4/20/84  Added line folding_____________________________________________v2     4/27/84  Fixed '=' command to use BOTTOM_PLUS_ONE,______________________                instead of TOP, added 'p' & 'v' commands_______________________v3     5/3/84   Added -m and -t options, '-' command___________________________v4     5/3/84   Added LESS environment variable________________________________v5     5/3/84   New comments, fixed '-' command slightly_______________________v6     5/15/84  Added -Q, visual bell__________________________________________v7     5/24/84  Fixed jump_back(n) bug: n should count real____________________                lines, not folded lines.  Also allow number on G command.______v8     5/30/84  Re-do -q and -Q commands_______________________________________v9     9/25/84  Added "+<cmd>" argument________________________________________v10    10/10/84 Fixed bug in -b<n> argument processing_________________________v11    10/18/84 Made error() ring bell if \\n not entered.______________________-----------------------------------------------------------------______________v12    2/13/85  Reorganized signal handling and made portable to 4.2bsd._______v13    2/16/85  Reword error message for '-' command.__________________________v14    2/22/85  Added -bf and -bp variants of -b.______________________________v15    2/25/85  Miscellaneous changes._________________________________________v16    3/13/85  Added -u flag for backspace processing.________________________v17    4/13/85  Added j and k commands, changed -t default.____________________v18    4/20/85  Rewrote signal handling code.__________________________________v19    5/2/85   Got rid of "verbose" eq_message()._____________________________                Made search() scroll in some cases.____________________________/\\\!#____________________________________________________________________________
1014+a
1015=v61    9/26/86  Got rid of annoying repaints after @04\!@00 cmd.______________________                Posted to USENET.______________________________________________-----------------------------------------------------------------______________v62    12/23/86 Added is_directory(); change -z default to_____________________                -1 instead of 24; cat-and-exit if -e and_______________________                file is less than a screenful._________________________________v63    1/8/87   Fixed bug in cat-and-exit if > 1 file._________________________v64    1/12/87  Changed puts/putstr, putc/putchr,______________________________                getc/getchr to av oid name conflict with_______________________                stdio functions._______________________________________________v65    1/26/87  Allowed '-' command to change NUMBER___________________________                v alued options (thanks to Gary Puckering)_____________________v66    2/13/87  Fixed bug: prepaint should use force=1.________________________v67    2/24/87  Added @04\!\!@00 and % expansion to @04\!@00 command._________________________v68    2/25/87  Added SIGWINCH and TIOCGWINSZ support;_________________________                changed is_directory to bad_file.______________________________                (thanks to J. Robert Ward)_____________________________________v69    2/25/87  Added SIGWIND and WIOCGETD (for Unix PC).______________________v70    3/13/87  Changed help cmd from 'h' to 'H'; better_______________________                error msgs in bad_file, errno_message._________________________v71    5/11/87  Changed -p to -c, made triple -c/-C____________________________                for clear-eol like more's -c.__________________________________v72    6/26/87  Added -E, -L, use \$SHELL in lsystem()._________________________                (thanks to Stev e Spearman)____________________________________v73    6/26/87  Allow Examine "\#" for previous file.___________________________                Posted to USENET 8/25/87.______________________________________-----------------------------------------------------------------______________v74    9/18/87  Fix conflict in EOF symbol with stdio.h,_______________________                Make os.c more portable to BSD.________________________________v75    9/23/87  Fix problems in get_term (thanks to ___________________________                Paul Eggert); new backwards scrolling in_______________________                jump_loc (thanks to Marion Hakanson).__________________________v76    9/23/87  Added -i flag; allow single "@04\!@00" to_____________________________:#______________________________________________________________________________
1016+6a
1017=                Posted to USENET.______________________________________________-----------------------------------------------------------------______________v62    12/23/86 Added is_directory(); change -z default to_____________________                -1 instead of 24; cat-and-exit if -e and_______________________                file is less than a screenful._________________________________v63    1/8/87   Fixed bug in cat-and-exit if > 1 file._________________________v64    1/12/87  Changed puts/putstr, putc/putchr,______________________________                getc/getchr to av oid name conflict with_______________________                stdio functions._______________________________________________v65    1/26/87  Allowed '-' command to change NUMBER___________________________                v alued options (thanks to Gary Puckering)_____________________v66    2/13/87  Fixed bug: prepaint should use force=1.________________________v67    2/24/87  Added @04\!\!@00 and % expansion to @04\!@00 command._________________________v68    2/25/87  Added SIGWINCH and TIOCGWINSZ support;_________________________                changed is_directory to bad_file.______________________________                (thanks to J. Robert Ward)_____________________________________v69    2/25/87  Added SIGWIND and WIOCGETD (for Unix PC).______________________v70    3/13/87  Changed help cmd from 'h' to 'H'; better_______________________                error msgs in bad_file, errno_message._________________________v71    5/11/87  Changed -p to -c, made triple -c/-C____________________________                for clear-eol like more's -c.__________________________________v72    6/26/87  Added -E, -L, use \$SHELL in lsystem()._________________________                (thanks to Stev e Spearman)____________________________________v73    6/26/87  Allow Examine "\#" for previous file.___________________________                Posted to USENET 8/25/87.______________________________________-----------------------------------------------------------------______________v74    9/18/87  Fix conflict in EOF symbol with stdio.h,_______________________                Make os.c more portable to BSD.________________________________v75    9/23/87  Fix problems in get_term (thanks to ___________________________                Paul Eggert); new backwards scrolling in_______________________                jump_loc (thanks to Marion Hakanson).__________________________v76    9/23/87  Added -i flag; allow single "@04\!@00" to_____________________________                inv oke a shell (thanks to Franco Barber)._____________________:#______________________________________________________________________________
1018+6a
1019=-----------------------------------------------------------------______________v62    12/23/86 Added is_directory(); change -z default to_____________________                -1 instead of 24; cat-and-exit if -e and_______________________                file is less than a screenful._________________________________v63    1/8/87   Fixed bug in cat-and-exit if > 1 file._________________________v64    1/12/87  Changed puts/putstr, putc/putchr,______________________________                getc/getchr to av oid name conflict with_______________________                stdio functions._______________________________________________v65    1/26/87  Allowed '-' command to change NUMBER___________________________                v alued options (thanks to Gary Puckering)_____________________v66    2/13/87  Fixed bug: prepaint should use force=1.________________________v67    2/24/87  Added @04\!\!@00 and % expansion to @04\!@00 command._________________________v68    2/25/87  Added SIGWINCH and TIOCGWINSZ support;_________________________                changed is_directory to bad_file.______________________________                (thanks to J. Robert Ward)_____________________________________v69    2/25/87  Added SIGWIND and WIOCGETD (for Unix PC).______________________v70    3/13/87  Changed help cmd from 'h' to 'H'; better_______________________                error msgs in bad_file, errno_message._________________________v71    5/11/87  Changed -p to -c, made triple -c/-C____________________________                for clear-eol like more's -c.__________________________________v72    6/26/87  Added -E, -L, use \$SHELL in lsystem()._________________________                (thanks to Stev e Spearman)____________________________________v73    6/26/87  Allow Examine "\#" for previous file.___________________________                Posted to USENET 8/25/87.______________________________________-----------------------------------------------------------------______________v74    9/18/87  Fix conflict in EOF symbol with stdio.h,_______________________                Make os.c more portable to BSD.________________________________v75    9/23/87  Fix problems in get_term (thanks to ___________________________                Paul Eggert); new backwards scrolling in_______________________                jump_loc (thanks to Marion Hakanson).__________________________v76    9/23/87  Added -i flag; allow single "@04\!@00" to_____________________________                inv oke a shell (thanks to Franco Barber)._____________________v77    9/24/87  Added -n flag and line number support._________________________:#______________________________________________________________________________
1020+6a
1021=v62    12/23/86 Added is_directory(); change -z default to_____________________                -1 instead of 24; cat-and-exit if -e and_______________________                file is less than a screenful._________________________________v63    1/8/87   Fixed bug in cat-and-exit if > 1 file._________________________v64    1/12/87  Changed puts/putstr, putc/putchr,______________________________                getc/getchr to av oid name conflict with_______________________                stdio functions._______________________________________________v65    1/26/87  Allowed '-' command to change NUMBER___________________________                v alued options (thanks to Gary Puckering)_____________________v66    2/13/87  Fixed bug: prepaint should use force=1.________________________v67    2/24/87  Added @04\!\!@00 and % expansion to @04\!@00 command._________________________v68    2/25/87  Added SIGWINCH and TIOCGWINSZ support;_________________________                changed is_directory to bad_file.______________________________                (thanks to J. Robert Ward)_____________________________________v69    2/25/87  Added SIGWIND and WIOCGETD (for Unix PC).______________________v70    3/13/87  Changed help cmd from 'h' to 'H'; better_______________________                error msgs in bad_file, errno_message._________________________v71    5/11/87  Changed -p to -c, made triple -c/-C____________________________                for clear-eol like more's -c.__________________________________v72    6/26/87  Added -E, -L, use \$SHELL in lsystem()._________________________                (thanks to Stev e Spearman)____________________________________v73    6/26/87  Allow Examine "\#" for previous file.___________________________                Posted to USENET 8/25/87.______________________________________-----------------------------------------------------------------______________v74    9/18/87  Fix conflict in EOF symbol with stdio.h,_______________________                Make os.c more portable to BSD.________________________________v75    9/23/87  Fix problems in get_term (thanks to ___________________________                Paul Eggert); new backwards scrolling in_______________________                jump_loc (thanks to Marion Hakanson).__________________________v76    9/23/87  Added -i flag; allow single "@04\!@00" to_____________________________                inv oke a shell (thanks to Franco Barber)._____________________v77    9/24/87  Added -n flag and line number support._________________________v78    9/25/87  Fixed problem with prompts longer than_________________________:#______________________________________________________________________________
1022+6a
1023=                -1 instead of 24; cat-and-exit if -e and_______________________                file is less than a screenful._________________________________v63    1/8/87   Fixed bug in cat-and-exit if > 1 file._________________________v64    1/12/87  Changed puts/putstr, putc/putchr,______________________________                getc/getchr to av oid name conflict with_______________________                stdio functions._______________________________________________v65    1/26/87  Allowed '-' command to change NUMBER___________________________                v alued options (thanks to Gary Puckering)_____________________v66    2/13/87  Fixed bug: prepaint should use force=1.________________________v67    2/24/87  Added @04\!\!@00 and % expansion to @04\!@00 command._________________________v68    2/25/87  Added SIGWINCH and TIOCGWINSZ support;_________________________                changed is_directory to bad_file.______________________________                (thanks to J. Robert Ward)_____________________________________v69    2/25/87  Added SIGWIND and WIOCGETD (for Unix PC).______________________v70    3/13/87  Changed help cmd from 'h' to 'H'; better_______________________                error msgs in bad_file, errno_message._________________________v71    5/11/87  Changed -p to -c, made triple -c/-C____________________________                for clear-eol like more's -c.__________________________________v72    6/26/87  Added -E, -L, use \$SHELL in lsystem()._________________________                (thanks to Stev e Spearman)____________________________________v73    6/26/87  Allow Examine "\#" for previous file.___________________________                Posted to USENET 8/25/87.______________________________________-----------------------------------------------------------------______________v74    9/18/87  Fix conflict in EOF symbol with stdio.h,_______________________                Make os.c more portable to BSD.________________________________v75    9/23/87  Fix problems in get_term (thanks to ___________________________                Paul Eggert); new backwards scrolling in_______________________                jump_loc (thanks to Marion Hakanson).__________________________v76    9/23/87  Added -i flag; allow single "@04\!@00" to_____________________________                inv oke a shell (thanks to Franco Barber)._____________________v77    9/24/87  Added -n flag and line number support._________________________v78    9/25/87  Fixed problem with prompts longer than_________________________                the screen width.______________________________________________:#______________________________________________________________________________
1024+2f
1025=                -1 instead of 24; cat-and-exit if -e and_______________________                file is less than a screenful._________________________________v63    1/8/87   Fixed bug in cat-and-exit if > 1 file._________________________v64    1/12/87  Changed puts/putstr, putc/putchr,______________________________                getc/getchr to av oid name conflict with_______________________                stdio functions._______________________________________________v65    1/26/87  Allowed '-' command to change NUMBER___________________________                v alued options (thanks to Gary Puckering)_____________________v66    2/13/87  Fixed bug: prepaint should use force=1.________________________v67    2/24/87  Added @04\!\!@00 and % expansion to @04\!@00 command._________________________v68    2/25/87  Added SIGWINCH and TIOCGWINSZ support;_________________________                changed is_directory to bad_file.______________________________                (thanks to J. Robert Ward)_____________________________________v69    2/25/87  Added SIGWIND and WIOCGETD (for Unix PC).______________________v70    3/13/87  Changed help cmd from 'h' to 'H'; better_______________________                error msgs in bad_file, errno_message._________________________v71    5/11/87  Changed -p to -c, made triple -c/-C____________________________                for clear-eol like more's -c.__________________________________v72    6/26/87  Added -E, -L, use \$SHELL in lsystem()._________________________                (thanks to Stev e Spearman)____________________________________v73    6/26/87  Allow Examine "\#" for previous file.___________________________                Posted to USENET 8/25/87.______________________________________-----------------------------------------------------------------______________v74    9/18/87  Fix conflict in EOF symbol with stdio.h,_______________________                Make os.c more portable to BSD.________________________________v75    9/23/87  Fix problems in get_term (thanks to ___________________________                Paul Eggert); new backwards scrolling in_______________________                jump_loc (thanks to Marion Hakanson).__________________________v76    9/23/87  Added -i flag; allow single "@04\!@00" to_____________________________                inv oke a shell (thanks to Franco Barber)._____________________v77    9/24/87  Added -n flag and line number support._________________________v78    9/25/87  Fixed problem with prompts longer than_________________________                the screen width.______________________________________________/#______________________________________________________________________________
1026+5c
1027=                -1 instead of 24; cat-and-exit if -e and_______________________                file is less than a screenful._________________________________v63    1/8/87   Fixed bug in cat-and-exit if > 1 file._________________________v64    1/12/87  Changed puts/putstr, putc/putchr,______________________________                getc/getchr to av oid name conflict with_______________________                stdio functions._______________________________________________v65    1/26/87  Allowed '-' command to change NUMBER___________________________                v alued options (thanks to Gary Puckering)_____________________v66    2/13/87  Fixed bug: prepaint should use force=1.________________________v67    2/24/87  Added @04\!\!@00 and % expansion to @04\!@00 command._________________________v68    2/25/87  Added SIGWINCH and TIOCGWINSZ support;_________________________                changed is_directory to bad_file.______________________________                (thanks to J. Robert Ward)_____________________________________v69    2/25/87  Added SIGWIND and WIOCGETD (for Unix PC).______________________v70    3/13/87  Changed help cmd from 'h' to 'H'; better_______________________                error msgs in bad_file, errno_message._________________________v71    5/11/87  Changed -p to -c, made triple -c/-C____________________________                for clear-eol like more's -c.__________________________________v72    6/26/87  Added -E, -L, use \$SHELL in lsystem()._________________________                (thanks to Stev e Spearman)____________________________________v73    6/26/87  Allow Examine "\#" for previous file.___________________________                Posted to USENET 8/25/87.______________________________________-----------------------------------------------------------------______________v74    9/18/87  Fix conflict in EOF symbol with stdio.h,_______________________                Make os.c more portable to BSD.________________________________v75    9/23/87  Fix problems in get_term (thanks to ___________________________                Paul Eggert); new backwards scrolling in_______________________                jump_loc (thanks to Marion Hakanson).__________________________v76    9/23/87  Added -i flag; allow single "@04\!@00" to_____________________________                inv oke a shell (thanks to Franco Barber)._____________________v77    9/24/87  Added -n flag and line number support._________________________v78    9/25/87  Fixed problem with prompts longer than_________________________                the screen width.______________________________________________/\\#_____________________________________________________________________________
1028+24
1029=                -1 instead of 24; cat-and-exit if -e and_______________________                file is less than a screenful._________________________________v63    1/8/87   Fixed bug in cat-and-exit if > 1 file._________________________v64    1/12/87  Changed puts/putstr, putc/putchr,______________________________                getc/getchr to av oid name conflict with_______________________                stdio functions._______________________________________________v65    1/26/87  Allowed '-' command to change NUMBER___________________________                v alued options (thanks to Gary Puckering)_____________________v66    2/13/87  Fixed bug: prepaint should use force=1.________________________v67    2/24/87  Added @04\!\!@00 and % expansion to @04\!@00 command._________________________v68    2/25/87  Added SIGWINCH and TIOCGWINSZ support;_________________________                changed is_directory to bad_file.______________________________                (thanks to J. Robert Ward)_____________________________________v69    2/25/87  Added SIGWIND and WIOCGETD (for Unix PC).______________________v70    3/13/87  Changed help cmd from 'h' to 'H'; better_______________________                error msgs in bad_file, errno_message._________________________v71    5/11/87  Changed -p to -c, made triple -c/-C____________________________                for clear-eol like more's -c.__________________________________v72    6/26/87  Added -E, -L, use \$SHELL in lsystem()._________________________                (thanks to Stev e Spearman)____________________________________v73    6/26/87  Allow Examine "\#" for previous file.___________________________                Posted to USENET 8/25/87.______________________________________-----------------------------------------------------------------______________v74    9/18/87  Fix conflict in EOF symbol with stdio.h,_______________________                Make os.c more portable to BSD.________________________________v75    9/23/87  Fix problems in get_term (thanks to ___________________________                Paul Eggert); new backwards scrolling in_______________________                jump_loc (thanks to Marion Hakanson).__________________________v76    9/23/87  Added -i flag; allow single "@04\!@00" to_____________________________                inv oke a shell (thanks to Franco Barber)._____________________v77    9/24/87  Added -n flag and line number support._________________________v78    9/25/87  Fixed problem with prompts longer than_________________________                the screen width.______________________________________________/\\\$#____________________________________________________________________________
1030+a
1031=v72    6/26/87  Added -E, -L, use @04\$@00SHELL in lsystem()._________________________                (thanks to Stev e Spearman)____________________________________v73    6/26/87  Allow Examine "\#" for previous file.___________________________                Posted to USENET 8/25/87.______________________________________-----------------------------------------------------------------______________v74    9/18/87  Fix conflict in EOF symbol with stdio.h,_______________________                Make os.c more portable to BSD.________________________________v75    9/23/87  Fix problems in get_term (thanks to ___________________________                Paul Eggert); new backwards scrolling in_______________________                jump_loc (thanks to Marion Hakanson).__________________________v76    9/23/87  Added -i flag; allow single "\!" to_____________________________                inv oke a shell (thanks to Franco Barber)._____________________v77    9/24/87  Added -n flag and line number support._________________________v78    9/25/87  Fixed problem with prompts longer than_________________________                the screen width.______________________________________________v79    9/29/87  Added the _ command.___________________________________________v80    10/6/87  Allow signal to break out of linenum scan._____________________v81    10/6/87  Allow -b to be changed from within less._______________________v82    10/7/87  Add cmd_decode to use a table for key__________________________                binding (thanks to Dav id Nason).______________________________v83    10/9/87  Allow .less file for user-defined keys.________________________v84    10/11/87 Fix -e/-E problems (thanks to Felix Lee).______________________v85    10/15/87 Search now keeps track of line numbers.________________________v86    10/20/87 Added -B option and autobuf; fixed_____________________________                "pipe error" bug.______________________________________________v87    3/1/88   Fix bug re BSD signals while reading file._____________________v88    3/12/88  Use new format for -P option (thanks to________________________                der Mouse), allow "+-c" without message,_______________________                fix bug re BSD hangup._________________________________________v89    3/18/88  Turn off line numbers if linenum scan__________________________                is interrupted.________________________________________________v90    3/30/88  Allow -P from within less._____________________________________v91    3/30/88  Added tags file support (new -t option)________________________:#______________________________________________________________________________
1032+75
1033=                file is less than a screenful._________________________________v63    1/8/87   Fixed bug in cat-and-exit if > 1 file._________________________v64    1/12/87  Changed puts/putstr, putc/putchr,______________________________                getc/getchr to av oid name conflict with_______________________                stdio functions._______________________________________________v65    1/26/87  Allowed '-' command to change NUMBER___________________________                v alued options (thanks to Gary Puckering)_____________________v66    2/13/87  Fixed bug: prepaint should use force=1.________________________v67    2/24/87  Added \!\! and % expansion to \! command._________________________v68    2/25/87  Added SIGWINCH and TIOCGWINSZ support;_________________________                changed is_directory to bad_file.______________________________                (thanks to J. Robert Ward)_____________________________________v69    2/25/87  Added SIGWIND and WIOCGETD (for Unix PC).______________________v70    3/13/87  Changed help cmd from 'h' to 'H'; better_______________________                error msgs in bad_file, errno_message._________________________v71    5/11/87  Changed -p to -c, made triple -c/-C____________________________                for clear-eol like more's -c.__________________________________v72    6/26/87  Added -E, -L, use @04\$@00SHELL in lsystem()._________________________                (thanks to Stev e Spearman)____________________________________v73    6/26/87  Allow Examine "\#" for previous file.___________________________                Posted to USENET 8/25/87.______________________________________-----------------------------------------------------------------______________v74    9/18/87  Fix conflict in EOF symbol with stdio.h,_______________________                Make os.c more portable to BSD.________________________________v75    9/23/87  Fix problems in get_term (thanks to ___________________________                Paul Eggert); new backwards scrolling in_______________________                jump_loc (thanks to Marion Hakanson).__________________________v76    9/23/87  Added -i flag; allow single "\!" to_____________________________                inv oke a shell (thanks to Franco Barber)._____________________v77    9/24/87  Added -n flag and line number support._________________________v78    9/25/87  Fixed problem with prompts longer than_________________________                the screen width.______________________________________________v79    9/29/87  Added the _ command.___________________________________________:#______________________________________________________________________________
1034+2f
1035=                file is less than a screenful._________________________________v63    1/8/87   Fixed bug in cat-and-exit if > 1 file._________________________v64    1/12/87  Changed puts/putstr, putc/putchr,______________________________                getc/getchr to av oid name conflict with_______________________                stdio functions._______________________________________________v65    1/26/87  Allowed '-' command to change NUMBER___________________________                v alued options (thanks to Gary Puckering)_____________________v66    2/13/87  Fixed bug: prepaint should use force=1.________________________v67    2/24/87  Added \!\! and % expansion to \! command._________________________v68    2/25/87  Added SIGWINCH and TIOCGWINSZ support;_________________________                changed is_directory to bad_file.______________________________                (thanks to J. Robert Ward)_____________________________________v69    2/25/87  Added SIGWIND and WIOCGETD (for Unix PC).______________________v70    3/13/87  Changed help cmd from 'h' to 'H'; better_______________________                error msgs in bad_file, errno_message._________________________v71    5/11/87  Changed -p to -c, made triple -c/-C____________________________                for clear-eol like more's -c.__________________________________v72    6/26/87  Added -E, -L, use @04\$@00SHELL in lsystem()._________________________                (thanks to Stev e Spearman)____________________________________v73    6/26/87  Allow Examine "\#" for previous file.___________________________                Posted to USENET 8/25/87.______________________________________-----------------------------------------------------------------______________v74    9/18/87  Fix conflict in EOF symbol with stdio.h,_______________________                Make os.c more portable to BSD.________________________________v75    9/23/87  Fix problems in get_term (thanks to ___________________________                Paul Eggert); new backwards scrolling in_______________________                jump_loc (thanks to Marion Hakanson).__________________________v76    9/23/87  Added -i flag; allow single "\!" to_____________________________                inv oke a shell (thanks to Franco Barber)._____________________v77    9/24/87  Added -n flag and line number support._________________________v78    9/25/87  Fixed problem with prompts longer than_________________________                the screen width.______________________________________________v79    9/29/87  Added the _ command.___________________________________________/#______________________________________________________________________________
1036+b
1037=                file is less than a screenful._________________________________v63    1/8/87   Fixed bug in cat-and-exit if > 1 file._________________________v64    1/12/87  Changed puts/putstr, putc/putchr,______________________________                getc/getchr to av oid name conflict with_______________________                stdio functions._______________________________________________v65    1/26/87  Allowed '-' command to change NUMBER___________________________                v alued options (thanks to Gary Puckering)_____________________v66    2/13/87  Fixed bug: prepaint should use force=1.________________________v67    2/24/87  Added \!\! and % expansion to \! command._________________________v68    2/25/87  Added SIGWINCH and TIOCGWINSZ support;_________________________                changed is_directory to bad_file.______________________________                (thanks to J. Robert Ward)_____________________________________v69    2/25/87  Added SIGWIND and WIOCGETD (for Unix PC).______________________v70    3/13/87  Changed help cmd from 'h' to 'H'; better_______________________                error msgs in bad_file, errno_message._________________________v71    5/11/87  Changed -p to -c, made triple -c/-C____________________________                for clear-eol like more's -c.__________________________________v72    6/26/87  Added -E, -L, use @04\$@00SHELL in lsystem()._________________________                (thanks to Stev e Spearman)____________________________________v73    6/26/87  Allow Examine "\#" for previous file.___________________________                Posted to USENET 8/25/87.______________________________________-----------------------------------------------------------------______________v74    9/18/87  Fix conflict in EOF symbol with stdio.h,_______________________                Make os.c more portable to BSD.________________________________v75    9/23/87  Fix problems in get_term (thanks to ___________________________                Paul Eggert); new backwards scrolling in_______________________                jump_loc (thanks to Marion Hakanson).__________________________v76    9/23/87  Added -i flag; allow single "\!" to_____________________________                inv oke a shell (thanks to Franco Barber)._____________________v77    9/24/87  Added -n flag and line number support._________________________v78    9/25/87  Fixed problem with prompts longer than_________________________                the screen width.______________________________________________v79    9/29/87  Added the _ command.___________________________________________Keep-pos /#_____________________________________________________________________
1038+23
1039=                file is less than a screenful._________________________________v63    1/8/87   Fixed bug in cat-and-exit if > 1 file._________________________v64    1/12/87  Changed puts/putstr, putc/putchr,______________________________                getc/getchr to av oid name conflict with_______________________                stdio functions._______________________________________________v65    1/26/87  Allowed '-' command to change NUMBER___________________________                v alued options (thanks to Gary Puckering)_____________________v66    2/13/87  Fixed bug: prepaint should use force=1.________________________v67    2/24/87  Added \!\! and % expansion to \! command._________________________v68    2/25/87  Added SIGWINCH and TIOCGWINSZ support;_________________________                changed is_directory to bad_file.______________________________                (thanks to J. Robert Ward)_____________________________________v69    2/25/87  Added SIGWIND and WIOCGETD (for Unix PC).______________________v70    3/13/87  Changed help cmd from 'h' to 'H'; better_______________________                error msgs in bad_file, errno_message._________________________v71    5/11/87  Changed -p to -c, made triple -c/-C____________________________                for clear-eol like more's -c.__________________________________v72    6/26/87  Added -E, -L, use @04\$@00SHELL in lsystem()._________________________                (thanks to Stev e Spearman)____________________________________v73    6/26/87  Allow Examine "\#" for previous file.___________________________                Posted to USENET 8/25/87.______________________________________-----------------------------------------------------------------______________v74    9/18/87  Fix conflict in EOF symbol with stdio.h,_______________________                Make os.c more portable to BSD.________________________________v75    9/23/87  Fix problems in get_term (thanks to ___________________________                Paul Eggert); new backwards scrolling in_______________________                jump_loc (thanks to Marion Hakanson).__________________________v76    9/23/87  Added -i flag; allow single "\!" to_____________________________                inv oke a shell (thanks to Franco Barber)._____________________v77    9/24/87  Added -n flag and line number support._________________________v78    9/25/87  Fixed problem with prompts longer than_________________________                the screen width.______________________________________________v79    9/29/87  Added the _ command.___________________________________________Keep-pos /\##____________________________________________________________________
1040+a
1041=                file is less than a screenful._________________________________v63    1/8/87   Fixed bug in cat-and-exit if > 1 file._________________________v64    1/12/87  Changed puts/putstr, putc/putchr,______________________________                getc/getchr to av oid name conflict with_______________________                stdio functions._______________________________________________v65    1/26/87  Allowed '-' command to change NUMBER___________________________                v alued options (thanks to Gary Puckering)_____________________v66    2/13/87  Fixed bug: prepaint should use force=1.________________________v67    2/24/87  Added \!\! and % expansion to \! command._________________________v68    2/25/87  Added SIGWINCH and TIOCGWINSZ support;_________________________                changed is_directory to bad_file.______________________________                (thanks to J. Robert Ward)_____________________________________v69    2/25/87  Added SIGWIND and WIOCGETD (for Unix PC).______________________v70    3/13/87  Changed help cmd from 'h' to 'H'; better_______________________                error msgs in bad_file, errno_message._________________________v71    5/11/87  Changed -p to -c, made triple -c/-C____________________________                for clear-eol like more's -c.__________________________________v72    6/26/87  Added -E, -L, use \$SHELL in lsystem()._________________________                (thanks to Stev e Spearman)____________________________________v73    6/26/87  Allow Examine "@04\#@00" for previous file.___________________________                Posted to USENET 8/25/87.______________________________________-----------------------------------------------------------------______________v74    9/18/87  Fix conflict in EOF symbol with stdio.h,_______________________                Make os.c more portable to BSD.________________________________v75    9/23/87  Fix problems in get_term (thanks to ___________________________                Paul Eggert); new backwards scrolling in_______________________                jump_loc (thanks to Marion Hakanson).__________________________v76    9/23/87  Added -i flag; allow single "\!" to_____________________________                inv oke a shell (thanks to Franco Barber)._____________________v77    9/24/87  Added -n flag and line number support._________________________v78    9/25/87  Fixed problem with prompts longer than_________________________                the screen width.______________________________________________v79    9/29/87  Added the _ command.___________________________________________:#______________________________________________________________________________
1042+6a
1043=v63    1/8/87   Fixed bug in cat-and-exit if > 1 file._________________________v64    1/12/87  Changed puts/putstr, putc/putchr,______________________________                getc/getchr to av oid name conflict with_______________________                stdio functions._______________________________________________v65    1/26/87  Allowed '-' command to change NUMBER___________________________                v alued options (thanks to Gary Puckering)_____________________v66    2/13/87  Fixed bug: prepaint should use force=1.________________________v67    2/24/87  Added \!\! and % expansion to \! command._________________________v68    2/25/87  Added SIGWINCH and TIOCGWINSZ support;_________________________                changed is_directory to bad_file.______________________________                (thanks to J. Robert Ward)_____________________________________v69    2/25/87  Added SIGWIND and WIOCGETD (for Unix PC).______________________v70    3/13/87  Changed help cmd from 'h' to 'H'; better_______________________                error msgs in bad_file, errno_message._________________________v71    5/11/87  Changed -p to -c, made triple -c/-C____________________________                for clear-eol like more's -c.__________________________________v72    6/26/87  Added -E, -L, use \$SHELL in lsystem()._________________________                (thanks to Stev e Spearman)____________________________________v73    6/26/87  Allow Examine "@04\#@00" for previous file.___________________________                Posted to USENET 8/25/87.______________________________________-----------------------------------------------------------------______________v74    9/18/87  Fix conflict in EOF symbol with stdio.h,_______________________                Make os.c more portable to BSD.________________________________v75    9/23/87  Fix problems in get_term (thanks to ___________________________                Paul Eggert); new backwards scrolling in_______________________                jump_loc (thanks to Marion Hakanson).__________________________v76    9/23/87  Added -i flag; allow single "\!" to_____________________________                inv oke a shell (thanks to Franco Barber)._____________________v77    9/24/87  Added -n flag and line number support._________________________v78    9/25/87  Fixed problem with prompts longer than_________________________                the screen width.______________________________________________v79    9/29/87  Added the _ command.___________________________________________v80    10/6/87  Allow signal to break out of linenum scan._____________________:#______________________________________________________________________________
1044+6a
1045=v64    1/12/87  Changed puts/putstr, putc/putchr,______________________________                getc/getchr to av oid name conflict with_______________________                stdio functions._______________________________________________v65    1/26/87  Allowed '-' command to change NUMBER___________________________                v alued options (thanks to Gary Puckering)_____________________v66    2/13/87  Fixed bug: prepaint should use force=1.________________________v67    2/24/87  Added \!\! and % expansion to \! command._________________________v68    2/25/87  Added SIGWINCH and TIOCGWINSZ support;_________________________                changed is_directory to bad_file.______________________________                (thanks to J. Robert Ward)_____________________________________v69    2/25/87  Added SIGWIND and WIOCGETD (for Unix PC).______________________v70    3/13/87  Changed help cmd from 'h' to 'H'; better_______________________                error msgs in bad_file, errno_message._________________________v71    5/11/87  Changed -p to -c, made triple -c/-C____________________________                for clear-eol like more's -c.__________________________________v72    6/26/87  Added -E, -L, use \$SHELL in lsystem()._________________________                (thanks to Stev e Spearman)____________________________________v73    6/26/87  Allow Examine "@04\#@00" for previous file.___________________________                Posted to USENET 8/25/87.______________________________________-----------------------------------------------------------------______________v74    9/18/87  Fix conflict in EOF symbol with stdio.h,_______________________                Make os.c more portable to BSD.________________________________v75    9/23/87  Fix problems in get_term (thanks to ___________________________                Paul Eggert); new backwards scrolling in_______________________                jump_loc (thanks to Marion Hakanson).__________________________v76    9/23/87  Added -i flag; allow single "\!" to_____________________________                inv oke a shell (thanks to Franco Barber)._____________________v77    9/24/87  Added -n flag and line number support._________________________v78    9/25/87  Fixed problem with prompts longer than_________________________                the screen width.______________________________________________v79    9/29/87  Added the _ command.___________________________________________v80    10/6/87  Allow signal to break out of linenum scan._____________________v81    10/6/87  Allow -b to be changed from within less._______________________:#______________________________________________________________________________
1046+6a
1047=                getc/getchr to av oid name conflict with_______________________                stdio functions._______________________________________________v65    1/26/87  Allowed '-' command to change NUMBER___________________________                v alued options (thanks to Gary Puckering)_____________________v66    2/13/87  Fixed bug: prepaint should use force=1.________________________v67    2/24/87  Added \!\! and % expansion to \! command._________________________v68    2/25/87  Added SIGWINCH and TIOCGWINSZ support;_________________________                changed is_directory to bad_file.______________________________                (thanks to J. Robert Ward)_____________________________________v69    2/25/87  Added SIGWIND and WIOCGETD (for Unix PC).______________________v70    3/13/87  Changed help cmd from 'h' to 'H'; better_______________________                error msgs in bad_file, errno_message._________________________v71    5/11/87  Changed -p to -c, made triple -c/-C____________________________                for clear-eol like more's -c.__________________________________v72    6/26/87  Added -E, -L, use \$SHELL in lsystem()._________________________                (thanks to Stev e Spearman)____________________________________v73    6/26/87  Allow Examine "@04\#@00" for previous file.___________________________                Posted to USENET 8/25/87.______________________________________-----------------------------------------------------------------______________v74    9/18/87  Fix conflict in EOF symbol with stdio.h,_______________________                Make os.c more portable to BSD.________________________________v75    9/23/87  Fix problems in get_term (thanks to ___________________________                Paul Eggert); new backwards scrolling in_______________________                jump_loc (thanks to Marion Hakanson).__________________________v76    9/23/87  Added -i flag; allow single "\!" to_____________________________                inv oke a shell (thanks to Franco Barber)._____________________v77    9/24/87  Added -n flag and line number support._________________________v78    9/25/87  Fixed problem with prompts longer than_________________________                the screen width.______________________________________________v79    9/29/87  Added the _ command.___________________________________________v80    10/6/87  Allow signal to break out of linenum scan._____________________v81    10/6/87  Allow -b to be changed from within less._______________________v82    10/7/87  Add cmd_decode to use a table for key__________________________:#______________________________________________________________________________
1048+6a
1049=                stdio functions._______________________________________________v65    1/26/87  Allowed '-' command to change NUMBER___________________________                v alued options (thanks to Gary Puckering)_____________________v66    2/13/87  Fixed bug: prepaint should use force=1.________________________v67    2/24/87  Added \!\! and % expansion to \! command._________________________v68    2/25/87  Added SIGWINCH and TIOCGWINSZ support;_________________________                changed is_directory to bad_file.______________________________                (thanks to J. Robert Ward)_____________________________________v69    2/25/87  Added SIGWIND and WIOCGETD (for Unix PC).______________________v70    3/13/87  Changed help cmd from 'h' to 'H'; better_______________________                error msgs in bad_file, errno_message._________________________v71    5/11/87  Changed -p to -c, made triple -c/-C____________________________                for clear-eol like more's -c.__________________________________v72    6/26/87  Added -E, -L, use \$SHELL in lsystem()._________________________                (thanks to Stev e Spearman)____________________________________v73    6/26/87  Allow Examine "@04\#@00" for previous file.___________________________                Posted to USENET 8/25/87.______________________________________-----------------------------------------------------------------______________v74    9/18/87  Fix conflict in EOF symbol with stdio.h,_______________________                Make os.c more portable to BSD.________________________________v75    9/23/87  Fix problems in get_term (thanks to ___________________________                Paul Eggert); new backwards scrolling in_______________________                jump_loc (thanks to Marion Hakanson).__________________________v76    9/23/87  Added -i flag; allow single "\!" to_____________________________                inv oke a shell (thanks to Franco Barber)._____________________v77    9/24/87  Added -n flag and line number support._________________________v78    9/25/87  Fixed problem with prompts longer than_________________________                the screen width.______________________________________________v79    9/29/87  Added the _ command.___________________________________________v80    10/6/87  Allow signal to break out of linenum scan._____________________v81    10/6/87  Allow -b to be changed from within less._______________________v82    10/7/87  Add cmd_decode to use a table for key__________________________                binding (thanks to Dav id Nason).______________________________:#______________________________________________________________________________
1050+6a
1051=v65    1/26/87  Allowed '-' command to change NUMBER___________________________                v alued options (thanks to Gary Puckering)_____________________v66    2/13/87  Fixed bug: prepaint should use force=1.________________________v67    2/24/87  Added \!\! and % expansion to \! command._________________________v68    2/25/87  Added SIGWINCH and TIOCGWINSZ support;_________________________                changed is_directory to bad_file.______________________________                (thanks to J. Robert Ward)_____________________________________v69    2/25/87  Added SIGWIND and WIOCGETD (for Unix PC).______________________v70    3/13/87  Changed help cmd from 'h' to 'H'; better_______________________                error msgs in bad_file, errno_message._________________________v71    5/11/87  Changed -p to -c, made triple -c/-C____________________________                for clear-eol like more's -c.__________________________________v72    6/26/87  Added -E, -L, use \$SHELL in lsystem()._________________________                (thanks to Stev e Spearman)____________________________________v73    6/26/87  Allow Examine "@04\#@00" for previous file.___________________________                Posted to USENET 8/25/87.______________________________________-----------------------------------------------------------------______________v74    9/18/87  Fix conflict in EOF symbol with stdio.h,_______________________                Make os.c more portable to BSD.________________________________v75    9/23/87  Fix problems in get_term (thanks to ___________________________                Paul Eggert); new backwards scrolling in_______________________                jump_loc (thanks to Marion Hakanson).__________________________v76    9/23/87  Added -i flag; allow single "\!" to_____________________________                inv oke a shell (thanks to Franco Barber)._____________________v77    9/24/87  Added -n flag and line number support._________________________v78    9/25/87  Fixed problem with prompts longer than_________________________                the screen width.______________________________________________v79    9/29/87  Added the _ command.___________________________________________v80    10/6/87  Allow signal to break out of linenum scan._____________________v81    10/6/87  Allow -b to be changed from within less._______________________v82    10/7/87  Add cmd_decode to use a table for key__________________________                binding (thanks to Dav id Nason).______________________________v83    10/9/87  Allow .less file for user-defined keys.________________________:#______________________________________________________________________________
1052+6a
1053=                v alued options (thanks to Gary Puckering)_____________________v66    2/13/87  Fixed bug: prepaint should use force=1.________________________v67    2/24/87  Added \!\! and % expansion to \! command._________________________v68    2/25/87  Added SIGWINCH and TIOCGWINSZ support;_________________________                changed is_directory to bad_file.______________________________                (thanks to J. Robert Ward)_____________________________________v69    2/25/87  Added SIGWIND and WIOCGETD (for Unix PC).______________________v70    3/13/87  Changed help cmd from 'h' to 'H'; better_______________________                error msgs in bad_file, errno_message._________________________v71    5/11/87  Changed -p to -c, made triple -c/-C____________________________                for clear-eol like more's -c.__________________________________v72    6/26/87  Added -E, -L, use \$SHELL in lsystem()._________________________                (thanks to Stev e Spearman)____________________________________v73    6/26/87  Allow Examine "@04\#@00" for previous file.___________________________                Posted to USENET 8/25/87.______________________________________-----------------------------------------------------------------______________v74    9/18/87  Fix conflict in EOF symbol with stdio.h,_______________________                Make os.c more portable to BSD.________________________________v75    9/23/87  Fix problems in get_term (thanks to ___________________________                Paul Eggert); new backwards scrolling in_______________________                jump_loc (thanks to Marion Hakanson).__________________________v76    9/23/87  Added -i flag; allow single "\!" to_____________________________                inv oke a shell (thanks to Franco Barber)._____________________v77    9/24/87  Added -n flag and line number support._________________________v78    9/25/87  Fixed problem with prompts longer than_________________________                the screen width.______________________________________________v79    9/29/87  Added the _ command.___________________________________________v80    10/6/87  Allow signal to break out of linenum scan._____________________v81    10/6/87  Allow -b to be changed from within less._______________________v82    10/7/87  Add cmd_decode to use a table for key__________________________                binding (thanks to Dav id Nason).______________________________v83    10/9/87  Allow .less file for user-defined keys.________________________v84    10/11/87 Fix -e/-E problems (thanks to Felix Lee).______________________:#______________________________________________________________________________
1054+6a
1055=v66    2/13/87  Fixed bug: prepaint should use force=1.________________________v67    2/24/87  Added \!\! and % expansion to \! command._________________________v68    2/25/87  Added SIGWINCH and TIOCGWINSZ support;_________________________                changed is_directory to bad_file.______________________________                (thanks to J. Robert Ward)_____________________________________v69    2/25/87  Added SIGWIND and WIOCGETD (for Unix PC).______________________v70    3/13/87  Changed help cmd from 'h' to 'H'; better_______________________                error msgs in bad_file, errno_message._________________________v71    5/11/87  Changed -p to -c, made triple -c/-C____________________________                for clear-eol like more's -c.__________________________________v72    6/26/87  Added -E, -L, use \$SHELL in lsystem()._________________________                (thanks to Stev e Spearman)____________________________________v73    6/26/87  Allow Examine "@04\#@00" for previous file.___________________________                Posted to USENET 8/25/87.______________________________________-----------------------------------------------------------------______________v74    9/18/87  Fix conflict in EOF symbol with stdio.h,_______________________                Make os.c more portable to BSD.________________________________v75    9/23/87  Fix problems in get_term (thanks to ___________________________                Paul Eggert); new backwards scrolling in_______________________                jump_loc (thanks to Marion Hakanson).__________________________v76    9/23/87  Added -i flag; allow single "\!" to_____________________________                inv oke a shell (thanks to Franco Barber)._____________________v77    9/24/87  Added -n flag and line number support._________________________v78    9/25/87  Fixed problem with prompts longer than_________________________                the screen width.______________________________________________v79    9/29/87  Added the _ command.___________________________________________v80    10/6/87  Allow signal to break out of linenum scan._____________________v81    10/6/87  Allow -b to be changed from within less._______________________v82    10/7/87  Add cmd_decode to use a table for key__________________________                binding (thanks to Dav id Nason).______________________________v83    10/9/87  Allow .less file for user-defined keys.________________________v84    10/11/87 Fix -e/-E problems (thanks to Felix Lee).______________________v85    10/15/87 Search now keeps track of line numbers.________________________:#______________________________________________________________________________
1056+6a
1057=v67    2/24/87  Added \!\! and % expansion to \! command._________________________v68    2/25/87  Added SIGWINCH and TIOCGWINSZ support;_________________________                changed is_directory to bad_file.______________________________                (thanks to J. Robert Ward)_____________________________________v69    2/25/87  Added SIGWIND and WIOCGETD (for Unix PC).______________________v70    3/13/87  Changed help cmd from 'h' to 'H'; better_______________________                error msgs in bad_file, errno_message._________________________v71    5/11/87  Changed -p to -c, made triple -c/-C____________________________                for clear-eol like more's -c.__________________________________v72    6/26/87  Added -E, -L, use \$SHELL in lsystem()._________________________                (thanks to Stev e Spearman)____________________________________v73    6/26/87  Allow Examine "@04\#@00" for previous file.___________________________                Posted to USENET 8/25/87.______________________________________-----------------------------------------------------------------______________v74    9/18/87  Fix conflict in EOF symbol with stdio.h,_______________________                Make os.c more portable to BSD.________________________________v75    9/23/87  Fix problems in get_term (thanks to ___________________________                Paul Eggert); new backwards scrolling in_______________________                jump_loc (thanks to Marion Hakanson).__________________________v76    9/23/87  Added -i flag; allow single "\!" to_____________________________                inv oke a shell (thanks to Franco Barber)._____________________v77    9/24/87  Added -n flag and line number support._________________________v78    9/25/87  Fixed problem with prompts longer than_________________________                the screen width.______________________________________________v79    9/29/87  Added the _ command.___________________________________________v80    10/6/87  Allow signal to break out of linenum scan._____________________v81    10/6/87  Allow -b to be changed from within less._______________________v82    10/7/87  Add cmd_decode to use a table for key__________________________                binding (thanks to Dav id Nason).______________________________v83    10/9/87  Allow .less file for user-defined keys.________________________v84    10/11/87 Fix -e/-E problems (thanks to Felix Lee).______________________v85    10/15/87 Search now keeps track of line numbers.________________________v86    10/20/87 Added -B option and autobuf; fixed_____________________________:#______________________________________________________________________________
1058+64
1059=                Paul Eggert); new backwards scrolling in_______________________                jump_loc (thanks to Marion Hakanson).__________________________v76    9/23/87  Added -i flag; allow single "\!" to_____________________________                inv oke a shell (thanks to Franco Barber)._____________________v77    9/24/87  Added -n flag and line number support._________________________v78    9/25/87  Fixed problem with prompts longer than_________________________                the screen width.______________________________________________v79    9/29/87  Added the _ command.___________________________________________v80    10/6/87  Allow signal to break out of linenum scan._____________________v81    10/6/87  Allow -b to be changed from within less._______________________v82    10/7/87  Add cmd_decode to use a table for key__________________________                binding (thanks to Dav id Nason).______________________________v83    10/9/87  Allow .less file for user-defined keys.________________________v84    10/11/87 Fix -e/-E problems (thanks to Felix Lee).______________________v85    10/15/87 Search now keeps track of line numbers.________________________v86    10/20/87 Added -B option and autobuf; fixed_____________________________                "pipe error" bug.______________________________________________v87    3/1/88   Fix bug re BSD signals while reading file._____________________v88    3/12/88  Use new format for -P option (thanks to________________________                der Mouse), allow "+-c" without message,_______________________                fix bug re BSD hangup._________________________________________v89    3/18/88  Turn off line numbers if linenum scan__________________________                is interrupted.________________________________________________v90    3/30/88  Allow -P from within less._____________________________________v91    3/30/88  Added tags file support (new -t option)________________________                (thanks to Brian Campbell).____________________________________v92    4/4/88   Added -+option syntax._________________________________________v93    4/11/88  Add support for slow input (thanks to__________________________                Joe Orost & apologies for taking almost________________________                3 years to get this in\!)_______________________________________v94    4/11/88  Redo reading/signal stuff._____________________________________v95    4/20/88  Repaint screen better after signal.____________________________v96    4/21/88  Add /\! and ?\! commands.________________________________________:#______________________________________________________________________________
1060+64
1061=v87    3/1/88   Fix bug re BSD signals while reading file._____________________v88    3/12/88  Use new format for -P option (thanks to________________________                der Mouse), allow "+-c" without message,_______________________                fix bug re BSD hangup._________________________________________v89    3/18/88  Turn off line numbers if linenum scan__________________________                is interrupted.________________________________________________v90    3/30/88  Allow -P from within less._____________________________________v91    3/30/88  Added tags file support (new -t option)________________________                (thanks to Brian Campbell).____________________________________v92    4/4/88   Added -+option syntax._________________________________________v93    4/11/88  Add support for slow input (thanks to__________________________                Joe Orost & apologies for taking almost________________________                3 years to get this in\!)_______________________________________v94    4/11/88  Redo reading/signal stuff._____________________________________v95    4/20/88  Repaint screen better after signal.____________________________v96    4/21/88  Add /\! and ?\! commands.________________________________________v97    5/17/88  Allow -l/-L from within less.__________________________________                Eliminate some static arrays (use calloc)._____________________                Posted to USENET.______________________________________________-----------------------------------------------------------------______________v98    10/14/88 Fix incorrect calloc call; uninitialized_______________________                var in exec_mca; core dump on unknown TERM.____________________                Make v cmd work if past last line of file._____________________                Fix some signal bugs.__________________________________________v99    10/29/88 Allow space between -X and string,_____________________________                when X is a string-valued option.______________________________v100   1/5/89   Fix globbing bug when \$SHELL not set;__________________________                allow spaces after -t command._________________________________v101   1/6/89   Fix problem with long (truncated) lines________________________                in tags file (thanks to Neil Dixon).___________________________v102   1/6/89   Fix bug with E@04\#@00 when no prev file;_____________________________                allow spaces after -l command._________________________________v103   3/14/89  Add -N, -f and -? options.  Add z and w________________________:#______________________________________________________________________________
1062+64
1063=                Eliminate some static arrays (use calloc)._____________________                Posted to USENET.______________________________________________-----------------------------------------------------------------______________v98    10/14/88 Fix incorrect calloc call; uninitialized_______________________                var in exec_mca; core dump on unknown TERM.____________________                Make v cmd work if past last line of file._____________________                Fix some signal bugs.__________________________________________v99    10/29/88 Allow space between -X and string,_____________________________                when X is a string-valued option.______________________________v100   1/5/89   Fix globbing bug when \$SHELL not set;__________________________                allow spaces after -t command._________________________________v101   1/6/89   Fix problem with long (truncated) lines________________________                in tags file (thanks to Neil Dixon).___________________________v102   1/6/89   Fix bug with E@04\#@00 when no prev file;_____________________________                allow spaces after -l command._________________________________v103   3/14/89  Add -N, -f and -? options.  Add z and w________________________                commands.  Add %L for prompt strings.__________________________v104   3/16/89  Added EDITPROTO._______________________________________________v105   3/20/89  Fix bug in find_linenum which cached___________________________                incorrectly on long lines._____________________________________v106   3/31/89  Added -k option and multiple lesskey      _____________________                files._________________________________________________________v107   4/27/89  Add 8-bit char support and -g option.__________________________                Split option code into 3 files.________________________________v108   5/5/89   Allocate position table dynamically       _____________________                (thanks to Paul Eggert); change % command______________________                from "percent" to vi-style brace finder._______________________v109   5/10/89  Added ESC-% command, split prim.c._____________________________v110   5/24/89  Fixed bug in + option; fixed repaint bug_______________________                under Sun windows (thanks to Paul Eggert)._____________________v111   5/25/89  Generalized @04\#@00 and % expansion; use ____________________________                calloc for some error messages.________________________________v112   5/30/89  Get rid of ESC-%, add {}()[] commands._________________________:#______________________________________________________________________________
1064+47
1065=                if -F and screen is resized; fix memcpy usage._________________v588  5/27/21   Fix release.___________________________________________________v589  5/29/21   Copyright & build changes._____________________________________v590  6/3/21    Fix non-autoconf Makefiles.____________________________________v591  8/8/21    Use \\kB for backspace key in lesskey; add more \\k codes;_______                handle multibyte chars in prompt.______________________________v592  8/24/21   Add --status-line option; limit use of /proc kludge; add --header.____________________________________________________________________________v593  8/30/21   Add header columns, --no-number-headers._______________________v594  10/1/21   Let regex library handle caseless; add --redraw-on-quit option;                add @04\#@00version to lesskey._______________________________________v595  10/12/21  Add H color type; add += to lesskey var section; ______________                add --search-options.__________________________________________v596  11/8/21   Look for lesskey in \$HOME/.config._____________________________v597  11/16/21  Fix bugs in --header.__________________________________________v598  12/6/21   Look for lesshst in \$XDG_STATE_HOME and \$HOME/.local/state.____v599  12/28/21  Defer moving to lower left in some cases; _____________________                suppress TAB expansion in some cases.__________________________v600  1/7/22    Use /dev/tty if cannot open ttyname()._________________________v601  1/31/22   Add --exit-follow-on-close option._____________________________v602  3/1/22    Doc changes.___________________________________________________v603  3/14/22   Fix --header.__________________________________________________v604  5/14/22   Fix termlib detection; fix non-ASCII input on Windows._________v605  6/14/22   Update version number._________________________________________v606  7/17/22   Fix bug with multibyte chars and --incsearch;__________________                escape filenames in LESSCLOSE; fix bin_file overrun.___________v607  7/19/22   Update Unicode tables._________________________________________v608  7/22/22   Fix highlighting on colored text boundaries.___________________v609            Add LESSUTFCHARDEF; fix overstrike color bug;__________________                fix procfs bug; fix signal race._______________________________*/____________________________________________________________________________________________________________________________________________________________char version[] = "609x";_______________________________________________________@04(END)@00#__________________________________________________________________________
1066+3d
1067=                if -F and screen is resized; fix memcpy usage._________________v588  5/27/21   Fix release.___________________________________________________v589  5/29/21   Copyright & build changes._____________________________________v590  6/3/21    Fix non-autoconf Makefiles.____________________________________v591  8/8/21    Use \\kB for backspace key in lesskey; add more \\k codes;_______                handle multibyte chars in prompt.______________________________v592  8/24/21   Add --status-line option; limit use of /proc kludge; add --header.____________________________________________________________________________v593  8/30/21   Add header columns, --no-number-headers._______________________v594  10/1/21   Let regex library handle caseless; add --redraw-on-quit option;                add @04\#@00version to lesskey._______________________________________v595  10/12/21  Add H color type; add += to lesskey var section; ______________                add --search-options.__________________________________________v596  11/8/21   Look for lesskey in \$HOME/.config._____________________________v597  11/16/21  Fix bugs in --header.__________________________________________v598  12/6/21   Look for lesshst in \$XDG_STATE_HOME and \$HOME/.local/state.____v599  12/28/21  Defer moving to lower left in some cases; _____________________                suppress TAB expansion in some cases.__________________________v600  1/7/22    Use /dev/tty if cannot open ttyname()._________________________v601  1/31/22   Add --exit-follow-on-close option._____________________________v602  3/1/22    Doc changes.___________________________________________________v603  3/14/22   Fix --header.__________________________________________________v604  5/14/22   Fix termlib detection; fix non-ASCII input on Windows._________v605  6/14/22   Update version number._________________________________________v606  7/17/22   Fix bug with multibyte chars and --incsearch;__________________                escape filenames in LESSCLOSE; fix bin_file overrun.___________v607  7/19/22   Update Unicode tables._________________________________________v608  7/22/22   Fix highlighting on colored text boundaries.___________________v609            Add LESSUTFCHARDEF; fix overstrike color bug;__________________                fix procfs bug; fix signal race._______________________________*/____________________________________________________________________________________________________________________________________________________________char version[] = "609x";_______________________________________________________@04version.c lines 930-961/961 byte 50808/50808 (END)  (press RETURN)@00#_____________
1068+a
1069=                if -F and screen is resized; fix memcpy usage._________________v588  5/27/21   Fix release.___________________________________________________v589  5/29/21   Copyright & build changes._____________________________________v590  6/3/21    Fix non-autoconf Makefiles.____________________________________v591  8/8/21    Use \\kB for backspace key in lesskey; add more \\k codes;_______                handle multibyte chars in prompt.______________________________v592  8/24/21   Add --status-line option; limit use of /proc kludge; add --header.____________________________________________________________________________v593  8/30/21   Add header columns, --no-number-headers._______________________v594  10/1/21   Let regex library handle caseless; add --redraw-on-quit option;                add @04\#@00version to lesskey._______________________________________v595  10/12/21  Add H color type; add += to lesskey var section; ______________                add --search-options.__________________________________________v596  11/8/21   Look for lesskey in \$HOME/.config._____________________________v597  11/16/21  Fix bugs in --header.__________________________________________v598  12/6/21   Look for lesshst in \$XDG_STATE_HOME and \$HOME/.local/state.____v599  12/28/21  Defer moving to lower left in some cases; _____________________                suppress TAB expansion in some cases.__________________________v600  1/7/22    Use /dev/tty if cannot open ttyname()._________________________v601  1/31/22   Add --exit-follow-on-close option._____________________________v602  3/1/22    Doc changes.___________________________________________________v603  3/14/22   Fix --header.__________________________________________________v604  5/14/22   Fix termlib detection; fix non-ASCII input on Windows._________v605  6/14/22   Update version number._________________________________________v606  7/17/22   Fix bug with multibyte chars and --incsearch;__________________                escape filenames in LESSCLOSE; fix bin_file overrun.___________v607  7/19/22   Update Unicode tables._________________________________________v608  7/22/22   Fix highlighting on colored text boundaries.___________________v609            Add LESSUTFCHARDEF; fix overstrike color bug;__________________                fix procfs bug; fix signal race._______________________________*/____________________________________________________________________________________________________________________________________________________________char version[] = "609x";_______________________________________________________@04(END)@00#__________________________________________________________________________
1070+71
1071Q
1072