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