xref: /freebsd/contrib/less/NEWS (revision a5f0fb151d90effe79714de0fa059954725fe57f)
1a5f0fb15SPaul Saab
2a5f0fb15SPaul Saab                     NEWS about less
3a5f0fb15SPaul Saab
4a5f0fb15SPaul Saab======================================================================
5a5f0fb15SPaul Saab
6a5f0fb15SPaul Saab  For the latest news about less, see the "less" Web page:
7a5f0fb15SPaul Saab      http://www.flash.net/~marknu/less
8a5f0fb15SPaul Saab  You can also download the latest version of less from there.
9a5f0fb15SPaul Saab
10a5f0fb15SPaul Saab  To report bugs, suggestions or comments, send email to
11a5f0fb15SPaul Saab  bug-less@gnu.org or marknu@flash.net.
12a5f0fb15SPaul Saab
13a5f0fb15SPaul Saab======================================================================
14a5f0fb15SPaul Saab
15a5f0fb15SPaul Saab
16a5f0fb15SPaul Saab	Major changes between "less" versions 352 and 354
17a5f0fb15SPaul Saab
18a5f0fb15SPaul Saab* Allow space after numeric-valued command line options.
19a5f0fb15SPaul Saab
20a5f0fb15SPaul Saab* Fix problem with configuring terminal libraries on some systems.
21a5f0fb15SPaul Saab
22a5f0fb15SPaul Saab* Add support for PCRE regular expression library.
23a5f0fb15SPaul Saab
24a5f0fb15SPaul Saab* Add --with-regex option to configure to allow manually selecting
25a5f0fb15SPaul Saab  a regular expression library.
26a5f0fb15SPaul Saab
27a5f0fb15SPaul Saab* Fix bug compiling with SECURE = 1.
28a5f0fb15SPaul Saab
29a5f0fb15SPaul Saab======================================================================
30a5f0fb15SPaul Saab
31a5f0fb15SPaul Saab
32a5f0fb15SPaul Saab	Major changes between "less" versions 346 and 352
33a5f0fb15SPaul Saab
34a5f0fb15SPaul Saab* Enable UTF-8 if "UTF-8" appears in locale-related environment variables.
35a5f0fb15SPaul Saab
36a5f0fb15SPaul Saab* Add --with-editor option to configure script.
37a5f0fb15SPaul Saab
38a5f0fb15SPaul Saab* The -M prompt and = message now show the top and bottom line number.
39a5f0fb15SPaul Saab
40a5f0fb15SPaul Saab* Fix bug in running the editor on a file whose name contains quotes, etc.
41a5f0fb15SPaul Saab
42a5f0fb15SPaul Saab* Fix bug in horizontal scrolling of long lines.
43a5f0fb15SPaul Saab
44a5f0fb15SPaul Saab* Fix bug in doing :d on a file which contains marks.
45a5f0fb15SPaul Saab
46a5f0fb15SPaul Saab* Fix bug causing cleared lines to sometimes be filled with standout,
47a5f0fb15SPaul Saab  bold, underline, etc. on certain terminals.
48a5f0fb15SPaul Saab
49a5f0fb15SPaul Saab* Fixes for MS-DOS (DJGPP) version.
50a5f0fb15SPaul Saab
51a5f0fb15SPaul Saab======================================================================
52a5f0fb15SPaul Saab
53a5f0fb15SPaul Saab
54a5f0fb15SPaul Saab	Major changes between "less" versions 340 and 346
55a5f0fb15SPaul Saab
56a5f0fb15SPaul Saab* The UTF-8 character set is now supported.
57a5f0fb15SPaul Saab
58a5f0fb15SPaul Saab* The default character set is now latin1 rather than ascii.
59a5f0fb15SPaul Saab
60a5f0fb15SPaul Saab* New option -R (--RAW-CONTROL-CHARS) is like -r but handles
61a5f0fb15SPaul Saab  long (wrapped) lines correctly, as long as the input contains only
62a5f0fb15SPaul Saab  normal text and ANSI color escape sequences.
63a5f0fb15SPaul Saab
64a5f0fb15SPaul Saab* New option -F (--quit-if-one-screen) quits if the text fits on
65a5f0fb15SPaul Saab  the first screen.
66a5f0fb15SPaul Saab
67a5f0fb15SPaul Saab* The -w option now highlights the target line of a g or p command.
68a5f0fb15SPaul Saab
69a5f0fb15SPaul Saab* A system-wide lesskey file is supported (LESSKEY_SYSTEM).
70a5f0fb15SPaul Saab
71a5f0fb15SPaul Saab* New escape for prompt strings: %c is replaced by column number.
72a5f0fb15SPaul Saab
73a5f0fb15SPaul Saab* New escape for prompt strings: %P is replaced by percentage into
74a5f0fb15SPaul Saab  file, based on line number rather than byte offset.
75a5f0fb15SPaul Saab
76a5f0fb15SPaul Saab* HOME and END keys now jump to beginning of file or end of file.
77a5f0fb15SPaul Saab
78a5f0fb15SPaul Saab======================================================================
79a5f0fb15SPaul Saab
80a5f0fb15SPaul Saab
81a5f0fb15SPaul Saab	Major changes between "less" versions 337 and 340
82a5f0fb15SPaul Saab
83a5f0fb15SPaul Saab* Command line options for less may now be given in either the old
84a5f0fb15SPaul Saab  single-letter form, or a new long name form (--option-name).
85a5f0fb15SPaul Saab  See the less man page or "less --help" for the list of long option names.
86a5f0fb15SPaul Saab
87a5f0fb15SPaul Saab* Command line options for lesskey may now be given in a new long name
88a5f0fb15SPaul Saab  form.  See the lesskey man page for the list of long option names.
89a5f0fb15SPaul Saab
90a5f0fb15SPaul Saab* New command -- toggles an option using the long option name.
91a5f0fb15SPaul Saab
92a5f0fb15SPaul Saab* New command __ queries an option using the long option name.
93a5f0fb15SPaul Saab
94a5f0fb15SPaul Saab* The old -- command is renamed as -!.
95a5f0fb15SPaul Saab
96a5f0fb15SPaul Saab* If a ^P is entered between the dash and the option letter of the -
97a5f0fb15SPaul Saab  command, the message describing the new setting is suppressed.
98a5f0fb15SPaul Saab
99a5f0fb15SPaul Saab* Lesskey files may now contain \k escape sequences to represent the
100a5f0fb15SPaul Saab  "special" keys (arrows, PAGE-UP/PAGE-DOWN, HOME, END, INSERT, DELETE).
101a5f0fb15SPaul Saab
102a5f0fb15SPaul Saab* New command :d removes the current file from the list of files.
103a5f0fb15SPaul Saab
104a5f0fb15SPaul Saab* New option -~ (like -w before version 335)
105a5f0fb15SPaul Saab  suppresses tildes after end-of-file.
106a5f0fb15SPaul Saab
107a5f0fb15SPaul Saab* Less is now released under the GNU General Public License.
108a5f0fb15SPaul Saab
109a5f0fb15SPaul Saab======================================================================
110a5f0fb15SPaul Saab
111a5f0fb15SPaul Saab
112a5f0fb15SPaul Saab	Major changes between "less" versions 335 and 337
113a5f0fb15SPaul Saab
114a5f0fb15SPaul Saab* Fixed bugs in "make install".
115a5f0fb15SPaul Saab
116a5f0fb15SPaul Saab======================================================================
117a5f0fb15SPaul Saab
118a5f0fb15SPaul Saab
119a5f0fb15SPaul Saab	Major changes between "less" versions 332 and 335
120a5f0fb15SPaul Saab
121a5f0fb15SPaul Saab* The old -w flag (suppress tildes after end-of-file) has been removed.
122a5f0fb15SPaul Saab
123a5f0fb15SPaul Saab* New -w flag highlights the first new line after a forward-screen.
124a5f0fb15SPaul Saab
125a5f0fb15SPaul Saab* New -W flag highlights the first new line after any forward movement.
126a5f0fb15SPaul Saab
127a5f0fb15SPaul Saab* Window resize works even if LINES and/or COLUMNS environment
128a5f0fb15SPaul Saab  variables are incorrect.
129a5f0fb15SPaul Saab
130a5f0fb15SPaul Saab* New percent escapes for prompt strings:
131a5f0fb15SPaul Saab  %d is replaced by the page number, and
132a5f0fb15SPaul Saab  %D is replaced by the number of pages in the file.
133a5f0fb15SPaul Saab
134a5f0fb15SPaul Saab* Added charsets "iso8859" and "ebcdic".
135a5f0fb15SPaul Saab
136a5f0fb15SPaul Saab* In Windows version, uses HOMEDRIVE and HOMEPATH if HOME is not defined.
137a5f0fb15SPaul Saab
138a5f0fb15SPaul Saab* Fixed some bugs causing incorrect display on DOS/Windows.
139a5f0fb15SPaul Saab
140a5f0fb15SPaul Saab======================================================================
141a5f0fb15SPaul Saab
142a5f0fb15SPaul Saab
143a5f0fb15SPaul Saab	Major changes between "less" versions 330 and 332
144a5f0fb15SPaul Saab
145a5f0fb15SPaul Saab* Filenames from the command line are entered into the command history,
146a5f0fb15SPaul Saab  so UPARROW/DOWNARROW can be used to retrieve them from the :e command.
147a5f0fb15SPaul Saab
148a5f0fb15SPaul Saab* Now works correctly on Windows when using a scrolling terminal
149a5f0fb15SPaul Saab  window (buffer larger than display window).
150a5f0fb15SPaul Saab
151a5f0fb15SPaul Saab* On Windows, now restores the console screen on exit.
152a5f0fb15SPaul Saab  Use -X to get the old behavior.
153a5f0fb15SPaul Saab
154a5f0fb15SPaul Saab* Fixed bug on Windows when CAPS-LOCK or NUM-LOCK is pressed.
155a5f0fb15SPaul Saab
156a5f0fb15SPaul Saab* Fixed bug on Windows when piping output of an interactive program.
157a5f0fb15SPaul Saab
158a5f0fb15SPaul Saab* Fixed bug in tags file processing when tags file has DOS-style
159a5f0fb15SPaul Saab  line terminators (CR/LF).
160a5f0fb15SPaul Saab
161a5f0fb15SPaul Saab* Fixed compilation problem on OS/2.
162a5f0fb15SPaul Saab
163a5f0fb15SPaul Saab======================================================================
164a5f0fb15SPaul Saab
165a5f0fb15SPaul Saab
166a5f0fb15SPaul Saab	Major changes between "less" versions 321 and 330
167a5f0fb15SPaul Saab
168a5f0fb15SPaul Saab* Now supports filenames containing spaces (in double quotes).
169a5f0fb15SPaul Saab  New option -" can be used to change the quoting characters.
170a5f0fb15SPaul Saab
171a5f0fb15SPaul Saab* In filename completion, a slash is appended to a directory name.
172a5f0fb15SPaul Saab  If the environment variable LESSSEPARATOR is set, the value of
173a5f0fb15SPaul Saab  that variable, rather than a slash, is appended.
174a5f0fb15SPaul Saab
175a5f0fb15SPaul Saab* LeftArrow and RightArrow are same as ESC-[ and ESC-].
176a5f0fb15SPaul Saab
177a5f0fb15SPaul Saab* Added commands ESC-( and ESC-), same as ESC-[ and ESC-].
178a5f0fb15SPaul Saab
179a5f0fb15SPaul Saab* A "quit" command defined in a lesskey file may now have an "extra"
180a5f0fb15SPaul Saab  string, which is used to return an exit code from less when it quits.
181a5f0fb15SPaul Saab
182a5f0fb15SPaul Saab* New environment variables LESSMETACHARS and LESSMETAESCAPE provide
183a5f0fb15SPaul Saab  more control over how less interfaces to the shell.
184a5f0fb15SPaul Saab
185a5f0fb15SPaul Saab* Ported to Microsoft Visual C compiler for Windows.
186a5f0fb15SPaul Saab
187a5f0fb15SPaul Saab* Ported to DJGPP compiler for MS-DOS.
188a5f0fb15SPaul Saab
189a5f0fb15SPaul Saab* Bug fixes.
190a5f0fb15SPaul Saab
191a5f0fb15SPaul Saab======================================================================
192a5f0fb15SPaul Saab
193a5f0fb15SPaul Saab
194a5f0fb15SPaul Saab	Major changes between "less" versions 291 and 321
195a5f0fb15SPaul Saab
196a5f0fb15SPaul Saab* Command line at bottom of screen now scrolls, so it can be longer
197a5f0fb15SPaul Saab  than the screen width.
198a5f0fb15SPaul Saab
199a5f0fb15SPaul Saab* New commands ESC-] and ESC-[ scroll the display horizontally.
200a5f0fb15SPaul Saab
201a5f0fb15SPaul Saab* New command ESC-SPACE scrolls forward a full screen, even if it
202a5f0fb15SPaul Saab  hits end-of-file.
203a5f0fb15SPaul Saab
204a5f0fb15SPaul Saab* Alternate modifiers for search commands: ^N is same as !,
205a5f0fb15SPaul Saab  ^F is same as @, and ^E is same as *.
206a5f0fb15SPaul Saab
207a5f0fb15SPaul Saab* New modifier for search commands: ^K means highlight the matches
208a5f0fb15SPaul Saab  currently on-screen, but don't move to the first match.
209a5f0fb15SPaul Saab
210a5f0fb15SPaul Saab* New modifier for search commands: ^R means don't use regular
211a5f0fb15SPaul Saab  expressions in the search.
212a5f0fb15SPaul Saab
213a5f0fb15SPaul Saab* Environment variable LESSKEY gives name of default lesskey file.
214a5f0fb15SPaul Saab
215a5f0fb15SPaul Saab* Environment variable LESSSECURE will force less to run in
216a5f0fb15SPaul Saab  "secure" mode.
217a5f0fb15SPaul Saab
218a5f0fb15SPaul Saab* Command line argument "--" signals that the rest of the arguments
219a5f0fb15SPaul Saab  are files (not option flags).
220a5f0fb15SPaul Saab
221a5f0fb15SPaul Saab* Help file (less.hlp) is no longer installed.  Help text is now
222a5f0fb15SPaul Saab  embedded in the less executable itself.
223a5f0fb15SPaul Saab
224a5f0fb15SPaul Saab* Added -Ph to change the prompt for the help text.
225a5f0fb15SPaul Saab  Added -Ps to change the default short prompt (same as plain -P).
226a5f0fb15SPaul Saab
227a5f0fb15SPaul Saab* Ported to the Borland C compiler for MS-DOS.
228a5f0fb15SPaul Saab
229a5f0fb15SPaul Saab* Ported to Windows 95 & Windows NT.
230a5f0fb15SPaul Saab
231a5f0fb15SPaul Saab* Ported to OS-9.
232a5f0fb15SPaul Saab
233a5f0fb15SPaul Saab* Ported to GNU Hurd.
234a5f0fb15SPaul Saab
235a5f0fb15SPaul Saab======================================================================
236a5f0fb15SPaul Saab
237a5f0fb15SPaul Saab
238a5f0fb15SPaul Saab	Major changes between "less" versions 290 and 291
239a5f0fb15SPaul Saab
240a5f0fb15SPaul Saab* Less environment variables can be specified in lesskey files.
241a5f0fb15SPaul Saab
242a5f0fb15SPaul Saab* Fixed MS-DOS build.
243a5f0fb15SPaul Saab
244a5f0fb15SPaul Saab======================================================================
245a5f0fb15SPaul Saab
246a5f0fb15SPaul Saab
247a5f0fb15SPaul Saab	Major changes between "less" versions 278 and 290
248a5f0fb15SPaul Saab
249a5f0fb15SPaul Saab* Accepts GNU-style options "--help" and "--version".
250a5f0fb15SPaul Saab
251a5f0fb15SPaul Saab* OS/2 version looks for less.ini in $HOME before $INIT and $PATH.
252a5f0fb15SPaul Saab
253a5f0fb15SPaul Saab* Bug fixes
254a5f0fb15SPaul Saab
255a5f0fb15SPaul Saab======================================================================
256a5f0fb15SPaul Saab
257a5f0fb15SPaul Saab
258a5f0fb15SPaul Saab	Major changes between "less" versions 252 and 278
259a5f0fb15SPaul Saab
260a5f0fb15SPaul Saab* A LESSOPEN preprocessor may now pipe the converted file data to less,
261a5f0fb15SPaul Saab  rather than writing it to a temporary file.
262a5f0fb15SPaul Saab
263a5f0fb15SPaul Saab* Search pattern highlighting has been fixed.  It now highlights
264a5f0fb15SPaul Saab  reliably, even if a string is split across two screen lines,
265a5f0fb15SPaul Saab  contains TABs, etc.
266a5f0fb15SPaul Saab
267a5f0fb15SPaul Saab* The -F flag (which suppress search highlighting) has been changed
268a5f0fb15SPaul Saab  to -G.  A new flag, -g, changes search highlighting to highlight
269a5f0fb15SPaul Saab  only the string found by the last search command, instead of all
270a5f0fb15SPaul Saab  strings which match the last search command.
271a5f0fb15SPaul Saab
272a5f0fb15SPaul Saab* New flag -I acts like -i, but ignores case even if the search
273a5f0fb15SPaul Saab  pattern contains uppercase letters.
274a5f0fb15SPaul Saab
275a5f0fb15SPaul Saab* Less now checks for the environment variable VISUAL before EDITOR.
276a5f0fb15SPaul Saab
277a5f0fb15SPaul Saab* Ported to OS/2.
278a5f0fb15SPaul Saab
279a5f0fb15SPaul Saab======================================================================
280a5f0fb15SPaul Saab
281a5f0fb15SPaul Saab
282a5f0fb15SPaul Saab	Major changes between "less" versions 237 and 252
283a5f0fb15SPaul Saab
284a5f0fb15SPaul Saab* Changes in line-editing keys:
285a5f0fb15SPaul Saab  The literal key is now ^V or ^A rather than \ (backslash).
286a5f0fb15SPaul Saab  Filename completion commands (TAB and ^L) are disabled
287a5f0fb15SPaul Saab  when typing a search pattern.
288a5f0fb15SPaul Saab
289a5f0fb15SPaul Saab* Line-editing command keys can be redefined using lesskey.
290a5f0fb15SPaul Saab
291a5f0fb15SPaul Saab* Lesskey with no input file defaults to $HOME/.lesskey
292a5f0fb15SPaul Saab  rather than standard input.
293a5f0fb15SPaul Saab
294a5f0fb15SPaul Saab* New option -V displays version number of less.
295a5f0fb15SPaul Saab
296a5f0fb15SPaul Saab* New option -V displays version number of lesskey.
297a5f0fb15SPaul Saab
298a5f0fb15SPaul Saab* Help file less.hlp is now installed by default in /usr/local/share
299a5f0fb15SPaul Saab  rather than /usr/local/lib.
300a5f0fb15SPaul Saab
301a5f0fb15SPaul Saab
302a5f0fb15SPaul Saab======================================================================
303a5f0fb15SPaul Saab
304a5f0fb15SPaul Saab
305a5f0fb15SPaul Saab	Major changes between "less" versions 170 and 237
306a5f0fb15SPaul Saab
307a5f0fb15SPaul Saab* By popular demand, text which matches the current search pattern
308a5f0fb15SPaul Saab  is highlighted.  New -F flag disables this feature.
309a5f0fb15SPaul Saab
310a5f0fb15SPaul Saab* Henry Spencer's regexp.c is now included, for systems which do not
311a5f0fb15SPaul Saab  have a regular expression library.
312a5f0fb15SPaul Saab  regexp.c is Copyright (c) 1986 by University of Toronto.
313a5f0fb15SPaul Saab
314a5f0fb15SPaul Saab* New line-editing keys, including command history (arrow keys) and
315a5f0fb15SPaul Saab  filename completion (TAB).
316a5f0fb15SPaul Saab
317a5f0fb15SPaul Saab* Input preprocessor allows modification of input files (e.g. uncompress)
318a5f0fb15SPaul Saab  via LESSOPEN/LESSCLOSE environment variables.
319a5f0fb15SPaul Saab
320a5f0fb15SPaul Saab* New -X flag disables sending termcap "ti" and "te" (initialize and
321a5f0fb15SPaul Saab  deinitialize) strings to the terminal.
322a5f0fb15SPaul Saab
323a5f0fb15SPaul Saab* Changing -i from within less now correctly affects a subsequent
324a5f0fb15SPaul Saab  repeated search.
325a5f0fb15SPaul Saab
326a5f0fb15SPaul Saab* Searching for underlined or overstruck text now works when the -u
327a5f0fb15SPaul Saab  flag is in effect, rather than the -i flag.
328a5f0fb15SPaul Saab
329a5f0fb15SPaul Saab* Use setlocale (LANG and LC_CTYPE environment variables) to determine
330a5f0fb15SPaul Saab  the character set if LESSCHARSET/LESSCHARDEF are not set.
331a5f0fb15SPaul Saab
332a5f0fb15SPaul Saab* The default format for displaying binary characters is now standout
333a5f0fb15SPaul Saab  (reverse video) rather than blinking.  This can still be changed by
334a5f0fb15SPaul Saab  setting the LESSBINFMT environment variable.
335a5f0fb15SPaul Saab
336a5f0fb15SPaul Saab* Use autoconf installation technology.
337a5f0fb15SPaul Saab
338a5f0fb15SPaul Saab* Ported to MS-DOS.
339a5f0fb15SPaul Saab
340a5f0fb15SPaul Saab        ********************************
341a5f0fb15SPaul Saab          Things that may surprise you
342a5f0fb15SPaul Saab        ********************************
343a5f0fb15SPaul Saab
344a5f0fb15SPaul Saab* When you enter text at the bottom of the screen (search string,
345a5f0fb15SPaul Saab  filename, etc.), some keys act different than previously.
346a5f0fb15SPaul Saab  Specifically, \ (backslash), ESC, TAB, BACKTAB, and control-L
347a5f0fb15SPaul Saab  now have line editing functions.
348a5f0fb15SPaul Saab
349a5f0fb15SPaul Saab* Some previous unofficial versions of less were able to display
350a5f0fb15SPaul Saab  compressed files.  The new LESSOPEN/LESSCLOSE feature now provides
351a5f0fb15SPaul Saab  this functionality in a different way.
352a5f0fb15SPaul Saab
353a5f0fb15SPaul Saab* Some previous unofficial versions of less provided a -Z flag to
354a5f0fb15SPaul Saab  set the number of lines of text to retain between full screen scrolls.
355a5f0fb15SPaul Saab  The -z-n flag (that is, -z with a negative number) provides this
356a5f0fb15SPaul Saab  functionality.
357a5f0fb15SPaul Saab
358a5f0fb15SPaul Saab
359a5f0fb15SPaul Saab======================================================================
360a5f0fb15SPaul Saab
361a5f0fb15SPaul Saab
362a5f0fb15SPaul Saab	Major changes between "less" versions 123 and 170
363a5f0fb15SPaul Saab
364a5f0fb15SPaul Saab* New option -j allows target lines to be positioned anywhere on screen.
365a5f0fb15SPaul Saab
366a5f0fb15SPaul Saab* New option -S truncates displayed line at the screen width,
367a5f0fb15SPaul Saab  rather than wrapping onto the next line.
368a5f0fb15SPaul Saab
369a5f0fb15SPaul Saab* New option -y limits amount of forward scroll.
370a5f0fb15SPaul Saab
371a5f0fb15SPaul Saab* New option -T specifies a "tags" file.
372a5f0fb15SPaul Saab
373a5f0fb15SPaul Saab* Non-printable, non-control characters are displayed in octal.
374a5f0fb15SPaul Saab  Such characters, as well as control characters, are displayed
375a5f0fb15SPaul Saab  in blinking mode.
376a5f0fb15SPaul Saab
377a5f0fb15SPaul Saab* New command -+ sets an option to its default.
378a5f0fb15SPaul Saab* New command -- sets an option to the opposite of its default.
379a5f0fb15SPaul Saab
380a5f0fb15SPaul Saab* Lesskey file may have a string appended to a key's action,
381a5f0fb15SPaul Saab  which acts as though typed in after the command.
382a5f0fb15SPaul Saab
383a5f0fb15SPaul Saab* New commands ESC-^F and ESC-^B match arbitrary types of brackets.
384a5f0fb15SPaul Saab
385a5f0fb15SPaul Saab* New command F monitors a growing file (like "tail -f").
386a5f0fb15SPaul Saab
387a5f0fb15SPaul Saab* New command | pipes a section of the input file into a shell command.
388a5f0fb15SPaul Saab
389a5f0fb15SPaul Saab* New command :x directly jumps to a file in the command line list.
390a5f0fb15SPaul Saab
391a5f0fb15SPaul Saab* Search commands have been enhanced and reorganized:
392a5f0fb15SPaul Saab	n	Repeat search, same direction.
393a5f0fb15SPaul Saab	N	Repeat search, opposite direction.
394a5f0fb15SPaul Saab	ESC-/	Search forward thru file boundaries
395a5f0fb15SPaul Saab	ESC-?	Search backward thru file boundaries
396a5f0fb15SPaul Saab	ESC-n	Repeat search thru file boundaries, same direction.
397a5f0fb15SPaul Saab	ESC-N	Repeat search thru file boundaries, opposite direction.
398a5f0fb15SPaul Saab  Special character * causes search to search thru file boundaries.
399a5f0fb15SPaul Saab  Special character @ causes search to begin at start/end of file list.
400a5f0fb15SPaul Saab
401a5f0fb15SPaul Saab* Examining a new file adds it to the command line list.
402a5f0fb15SPaul Saab  A list of files, or an expression which matches more than one file,
403a5f0fb15SPaul Saab  may be examined; all of them are added to the command line list.
404a5f0fb15SPaul Saab
405a5f0fb15SPaul Saab* Environment variables LESSCHARSET and LESSCHARDEF can define
406a5f0fb15SPaul Saab  a non-ASCII character set.
407a5f0fb15SPaul Saab
408a5f0fb15SPaul Saab* Partial support for MSDOS, including options -R for repainting screen
409a5f0fb15SPaul Saab  on quit, -v/-V to select video mode, and -W to change window size.
410a5f0fb15SPaul Saab
411a5f0fb15SPaul Saab
412a5f0fb15SPaul Saab======================================================================
413a5f0fb15SPaul Saab
414a5f0fb15SPaul Saab
415a5f0fb15SPaul Saab	Major changes between "less" versions 97 and 123
416a5f0fb15SPaul Saab
417a5f0fb15SPaul Saab* New option (-N) causes line numbers to be displayed in the
418a5f0fb15SPaul Saab  text of the file (like vi "set nu").
419a5f0fb15SPaul Saab
420a5f0fb15SPaul Saab* New option (-?) prints help message immediately.
421a5f0fb15SPaul Saab
422a5f0fb15SPaul Saab* New option (-r) displays "raw" control characters, without
423a5f0fb15SPaul Saab  mapping them to ^X notation.
424a5f0fb15SPaul Saab
425a5f0fb15SPaul Saab* New option (-f) forces less to open non-regular files
426a5f0fb15SPaul Saab  (directories, etc).
427a5f0fb15SPaul Saab
428a5f0fb15SPaul Saab* New option (-k) can be used to specify lesskey files by name.
429a5f0fb15SPaul Saab
430a5f0fb15SPaul Saab* New option (-y) can be used to set a forward scroll limit
431a5f0fb15SPaul Saab  (like -h sets a backward scroll limit).
432a5f0fb15SPaul Saab
433a5f0fb15SPaul Saab* File marks (set by the m command) are now preserved when a new
434a5f0fb15SPaul Saab  file is edited.  The ' command can thus be used to switch files.
435a5f0fb15SPaul Saab
436a5f0fb15SPaul Saab* New command ESC-/ searches all files (on the command line)
437a5f0fb15SPaul Saab  for a pattern.
438a5f0fb15SPaul Saab
439a5f0fb15SPaul Saab* New command ESC-n repeats previous search, spanning files.
440a5f0fb15SPaul Saab
441a5f0fb15SPaul Saab* The N command has been changed to repeat the previous search
442a5f0fb15SPaul Saab  in the reverse direction.  The old N command is still available
443a5f0fb15SPaul Saab  via :n.
444a5f0fb15SPaul Saab
445a5f0fb15SPaul Saab* New command ESC-N repeats previous search in the reverse
446a5f0fb15SPaul Saab  direction and spanning files.
447a5f0fb15SPaul Saab
448a5f0fb15SPaul Saab* 8 bit characters are now supported.  A new option (-g) can be
449a5f0fb15SPaul Saab  used to strip off the eighth bit (the previous behavior).
450a5f0fb15SPaul Saab
451a5f0fb15SPaul Saab* Options which take a following string (like -t) may now
452a5f0fb15SPaul Saab  optionally have a space between the option letter and the string.
453a5f0fb15SPaul Saab
454a5f0fb15SPaul Saab* Six new commands { } ( ) [ and ] can be used to match
455a5f0fb15SPaul Saab  brackets of specific types, similar to vi % command.
456a5f0fb15SPaul Saab
457a5f0fb15SPaul Saab* New commands z and w move forward/backward one window and
458a5f0fb15SPaul Saab  simultaneously set the window size.
459a5f0fb15SPaul Saab
460a5f0fb15SPaul Saab* Prompt string expansion now has %L for line number of the last
461a5f0fb15SPaul Saab  line in the file, and %E for the name of the editor.
462a5f0fb15SPaul Saab  Also, % escapes which refer to a line (b=bottom, t=top, etc.)
463a5f0fb15SPaul Saab  can use j for the jump target line.
464a5f0fb15SPaul Saab
465a5f0fb15SPaul Saab* New environment variable LESSEDIT can be used to tailor the
466a5f0fb15SPaul Saab  command string passed to the editor by the v command.
467a5f0fb15SPaul Saab
468a5f0fb15SPaul Saab* Examining a file which was previously examined will return
469a5f0fb15SPaul Saab  to the same position in the file.
470a5f0fb15SPaul Saab
471a5f0fb15SPaul Saab* A "%" is expanded to the current filename and a "#" to the
472a5f0fb15SPaul Saab  previous filename, in both shell commands and the E command.
473a5f0fb15SPaul Saab  (Previously % worked only in shell commands and # worked
474a5f0fb15SPaul Saab  only in the E command.)
475a5f0fb15SPaul Saab
476a5f0fb15SPaul Saab* New command ":ta" is equivalent to "-t".
477a5f0fb15SPaul Saab
478a5f0fb15SPaul Saab* New command "s" is equivalent to "-l".
479a5f0fb15SPaul Saab
480a5f0fb15SPaul Saab* The - command may be followed by "+X" to revert to the default
481a5f0fb15SPaul Saab  for option X, or "-X" to get the opposite of the default.
482a5f0fb15SPaul Saab
483a5f0fb15SPaul Saab* Lesskey files may now include characters after the action as
484a5f0fb15SPaul Saab  extra input to be parsed after the action; for example:
485a5f0fb15SPaul Saab  "toggle-option X" to toggle a specific option X.
486