NEWS revision 128345
10SN/A
29660SN/A                     NEWS about less
30SN/A
40SN/A======================================================================
50SN/A
60SN/A  For the latest news about less, see the "less" Web page:
72362SN/A      http://www.greenwoodsoftware.com/less
80SN/A  You can also download the latest version of less from there.
92362SN/A
100SN/A  To report bugs, suggestions or comments, send email to 
110SN/A  bug-less@gnu.org or markn@greenwoodsoftware.com.
120SN/A
130SN/A======================================================================
140SN/A
150SN/A
160SN/A	Major changes between "less" versions 378 and 381
170SN/A
180SN/A* New -L option to disable LESSOPEN processing.
190SN/A
200SN/A* Further support for large (64 bit) file addressing.
212362SN/A  Large file support is now set up by the configure script.
222362SN/A
232362SN/A* Use autoconf 2.54.
240SN/A  Replace configure.in, acconfig.h, defines.h.top with configure.ac.
250SN/A
260SN/A* Overstriking underscore with underscore is now bold or underlined 
270SN/A  depending on context.
280SN/A
290SN/A* Use only 7 spaces for line numbers in -N mode, if possible.
300SN/A
310SN/A* Fix some bugs in handling overstriking in UTF-8 files.
320SN/A
330SN/A* Fix some nroff issues in the man page.
340SN/A
350SN/A======================================================================
360SN/A
370SN/A	Major changes between "less" versions 376 and 378
380SN/A
390SN/A* Bug fixes:
400SN/A  Default buffer space is now 64K as documented.
410SN/A  Search highlighting works properly when used with -R.
420SN/A  Windows version works properly when input file contains carriage returns.
430SN/A  Clean up some compiler warnings.
440SN/A
450SN/A======================================================================
460SN/A
470SN/A	Major changes between "less" versions 358 and 376
480SN/A
490SN/A* -x option can now specify multiple variable-width tab stops.
500SN/A
510SN/A* -X option no longer disables keypad initialization.
520SN/A  New option --no-keypad disables keypad initialization.
530SN/A
540SN/A* New commands t and T step through multiple tag matches.
550SN/A  Added support for "global(1)" tags
560SN/A  (see http://www.gnu.org/software/global/global.html).
570SN/A
580SN/A* New prompt style set by option -Pw defines the message printed 
599660SN/A  while waiting for data in the F command.
600SN/A
610SN/A* System-wide lesskey file now defaults to sysless in etc directory 
6210340SN/A  instead of .sysless in bin directory.
630SN/A  Use "configure --sysconfdir=..." to change it.
640SN/A  (For backwards compatibility, .sysless in bin is still recognized.)
650SN/A
660SN/A* Pressing RightArrow or LeftArrow while entering a number now shifts
670SN/A  the display N columns rather than editing the number itself.
680SN/A
690SN/A* Status column (enabled with -J) now shows search results.
700SN/A
710SN/A* Windows version sets window title.
720SN/A
730SN/A* Default LESSCHARSET for MS-DOS versions is now "dos".
740SN/A
758155SN/A* Searching works better with ANSI (SGR) escape sequences.
760SN/A  ANSI color escape sequences are now supported in the MS-DOS (DJGPP) version.
770SN/A
780SN/A* Improved performance in reading very large pipes.
790SN/A
800SN/A* Eliminated some dependencies on file offets being 32 bits.
810SN/A
820SN/A* Fixed problems when viewing files with very long lines.
830SN/A
840SN/A* Fixed overstriking in UTF-8 mode, and overstriking tabs.
850SN/A
860SN/A* Improved horizontal shifting of text using -R option with ANSI color.
870SN/A
880SN/A* Improved handling of filenames containing shell metacharacters.
890SN/A
900SN/A* Some fixes for EBCDIC systems.
910SN/A
928155SN/A* Some fixes for OS/2 systems.
930SN/A
940SN/A======================================================================
958155SN/A
960SN/A	Major changes between "less" versions 354 and 358
970SN/A
980SN/A* Add -J (--status-column) option to display a status column.
990SN/A
1000SN/A* Add -# (--shift) option to set default horizontal shift distance.
1010SN/A  Default horizontal shift distance is now one-half screen width.
1020SN/A
1030SN/A* Horizontal shifting does not shift line numbers if -N is in effect.
1040SN/A
1050SN/A* Horizontal shifting acts as though -S were set, to avoid confusion.
1060SN/A
1070SN/A======================================================================
1080SN/A
1090SN/A
1100SN/A	Major changes between "less" versions 352 and 354
1110SN/A
1120SN/A* Allow space after numeric-valued command line options.
1130SN/A
1140SN/A* Fix problem with configuring terminal libraries on some systems.
1150SN/A
1160SN/A* Add support for PCRE regular expression library.
1170SN/A
1180SN/A* Add --with-regex option to configure to allow manually selecting
1190SN/A  a regular expression library.
1200SN/A
1210SN/A* Fix bug compiling with SECURE = 1.
1220SN/A
1230SN/A======================================================================
1240SN/A
1250SN/A
1260SN/A	Major changes between "less" versions 346 and 352
1270SN/A
1280SN/A* Enable UTF-8 if "UTF-8" appears in locale-related environment variables.
1290SN/A
1300SN/A* Add --with-editor option to configure script.
1310SN/A
1320SN/A* The -M prompt and = message now show the top and bottom line number.
1330SN/A
1340SN/A* Fix bug in running the editor on a file whose name contains quotes, etc.
1350SN/A
1360SN/A* Fix bug in horizontal scrolling of long lines.
1370SN/A
1380SN/A* Fix bug in doing :d on a file which contains marks.
1390SN/A
1400SN/A* Fix bug causing cleared lines to sometimes be filled with standout, 
1410SN/A  bold, underline, etc. on certain terminals.
1420SN/A
1430SN/A* Fixes for MS-DOS (DJGPP) version.
1440SN/A
1450SN/A======================================================================
1460SN/A
1470SN/A
1480SN/A	Major changes between "less" versions 340 and 346
1490SN/A
1500SN/A* The UTF-8 character set is now supported.
1510SN/A
1520SN/A* The default character set is now latin1 rather than ascii.
1530SN/A
1540SN/A* New option -R (--RAW-CONTROL-CHARS) is like -r but handles 
1550SN/A  long (wrapped) lines correctly, as long as the input contains only 
1560SN/A  normal text and ANSI color escape sequences.
1570SN/A
1580SN/A* New option -F (--quit-if-one-screen) quits if the text fits on
1590SN/A  the first screen.
1600SN/A
1610SN/A* The -w option now highlights the target line of a g or p command.
1620SN/A
1630SN/A* A system-wide lesskey file is supported (LESSKEY_SYSTEM).
1640SN/A
1650SN/A* New escape for prompt strings: %c is replaced by column number.
1660SN/A
1670SN/A* New escape for prompt strings: %P is replaced by percentage into
1680SN/A  file, based on line number rather than byte offset.
1690SN/A
1700SN/A* HOME and END keys now jump to beginning of file or end of file.
1710SN/A
1720SN/A======================================================================
1730SN/A
1740SN/A
1750SN/A	Major changes between "less" versions 337 and 340
1760SN/A
1770SN/A* Command line options for less may now be given in either the old 
1780SN/A  single-letter form, or a new long name form (--option-name).
1790SN/A  See the less man page or "less --help" for the list of long option names.
1800SN/A
1810SN/A* Command line options for lesskey may now be given in a new long name
1820SN/A  form.  See the lesskey man page for the list of long option names.
1830SN/A
1840SN/A* New command -- toggles an option using the long option name.
1850SN/A
1860SN/A* New command __ queries an option using the long option name.
1870SN/A
1880SN/A* The old -- command is renamed as -!.
1890SN/A
1900SN/A* If a ^P is entered between the dash and the option letter of the -
1910SN/A  command, the message describing the new setting is suppressed.
1920SN/A
1930SN/A* Lesskey files may now contain \k escape sequences to represent the
1940SN/A  "special" keys (arrows, PAGE-UP/PAGE-DOWN, HOME, END, INSERT, DELETE).
1950SN/A
1960SN/A* New command :d removes the current file from the list of files.
1970SN/A
1980SN/A* New option -~ (like -w before version 335)
1990SN/A  suppresses tildes after end-of-file.
2000SN/A
2010SN/A* Less is now released under the GNU General Public License.
2020SN/A
2030SN/A======================================================================
2040SN/A
2050SN/A
2060SN/A	Major changes between "less" versions 335 and 337
2070SN/A
2080SN/A* Fixed bugs in "make install".
2090SN/A
2100SN/A======================================================================
2110SN/A
2120SN/A
2130SN/A	Major changes between "less" versions 332 and 335
2140SN/A
2150SN/A* The old -w flag (suppress tildes after end-of-file) has been removed.
2160SN/A
2170SN/A* New -w flag highlights the first new line after a forward-screen.
2180SN/A
2190SN/A* New -W flag highlights the first new line after any forward movement.
2200SN/A
2210SN/A* Window resize works even if LINES and/or COLUMNS environment 
2220SN/A  variables are incorrect.
2230SN/A
2240SN/A* New percent escapes for prompt strings:
2250SN/A  %d is replaced by the page number, and
2260SN/A  %D is replaced by the number of pages in the file.
2270SN/A
2280SN/A* Added charsets "iso8859" and "ebcdic".
2290SN/A
2300SN/A* In Windows version, uses HOMEDRIVE and HOMEPATH if HOME is not defined.
2310SN/A
2320SN/A* Fixed some bugs causing incorrect display on DOS/Windows.
2330SN/A
2340SN/A======================================================================
2350SN/A
2360SN/A
2370SN/A	Major changes between "less" versions 330 and 332
2380SN/A
2390SN/A* Filenames from the command line are entered into the command history,
2400SN/A  so UPARROW/DOWNARROW can be used to retrieve them from the :e command.
2410SN/A
2420SN/A* Now works correctly on Windows when using a scrolling terminal
2430SN/A  window (buffer larger than display window).
2440SN/A
2450SN/A* On Windows, now restores the console screen on exit.  
2460SN/A  Use -X to get the old behavior.
2470SN/A
2480SN/A* Fixed bug on Windows when CAPS-LOCK or NUM-LOCK is pressed.
249
250* Fixed bug on Windows when piping output of an interactive program.
251
252* Fixed bug in tags file processing when tags file has DOS-style
253  line terminators (CR/LF).
254
255* Fixed compilation problem on OS/2.
256
257======================================================================
258
259
260	Major changes between "less" versions 321 and 330
261
262* Now supports filenames containing spaces (in double quotes).
263  New option -" can be used to change the quoting characters.
264
265* In filename completion, a slash is appended to a directory name.
266  If the environment variable LESSSEPARATOR is set, the value of
267  that variable, rather than a slash, is appended.
268
269* LeftArrow and RightArrow are same as ESC-[ and ESC-].
270
271* Added commands ESC-( and ESC-), same as ESC-[ and ESC-].
272
273* A "quit" command defined in a lesskey file may now have an "extra" 
274  string, which is used to return an exit code from less when it quits.
275
276* New environment variables LESSMETACHARS and LESSMETAESCAPE provide
277  more control over how less interfaces to the shell.
278
279* Ported to Microsoft Visual C compiler for Windows.
280
281* Ported to DJGPP compiler for MS-DOS.
282
283* Bug fixes.
284
285======================================================================
286
287
288	Major changes between "less" versions 291 and 321
289
290* Command line at bottom of screen now scrolls, so it can be longer 
291  than the screen width.
292
293* New commands ESC-] and ESC-[ scroll the display horizontally.
294
295* New command ESC-SPACE scrolls forward a full screen, even if it
296  hits end-of-file.
297
298* Alternate modifiers for search commands: ^N is same as !,
299  ^F is same as @, and ^E is same as *.
300
301* New modifier for search commands: ^K means highlight the matches
302  currently on-screen, but don't move to the first match.
303
304* New modifier for search commands: ^R means don't use regular
305  expressions in the search.
306
307* Environment variable LESSKEY gives name of default lesskey file.
308
309* Environment variable LESSSECURE will force less to run in
310  "secure" mode.
311
312* Command line argument "--" signals that the rest of the arguments
313  are files (not option flags).
314
315* Help file (less.hlp) is no longer installed.  Help text is now 
316  embedded in the less executable itself.
317
318* Added -Ph to change the prompt for the help text.
319  Added -Ps to change the default short prompt (same as plain -P).
320
321* Ported to the Borland C compiler for MS-DOS.
322
323* Ported to Windows 95 & Windows NT.
324
325* Ported to OS-9.
326
327* Ported to GNU Hurd.
328
329======================================================================
330
331
332	Major changes between "less" versions 290 and 291
333
334* Less environment variables can be specified in lesskey files.
335
336* Fixed MS-DOS build.
337
338======================================================================
339
340
341	Major changes between "less" versions 278 and 290
342
343* Accepts GNU-style options "--help" and "--version".
344
345* OS/2 version looks for less.ini in $HOME before $INIT and $PATH.
346
347* Bug fixes
348
349======================================================================
350
351
352	Major changes between "less" versions 252 and 278
353
354* A LESSOPEN preprocessor may now pipe the converted file data to less,
355  rather than writing it to a temporary file.
356
357* Search pattern highlighting has been fixed.  It now highlights 
358  reliably, even if a string is split across two screen lines,
359  contains TABs, etc.
360
361* The -F flag (which suppress search highlighting) has been changed 
362  to -G.  A new flag, -g, changes search highlighting to highlight 
363  only the string found by the last search command, instead of all 
364  strings which match the last search command.
365
366* New flag -I acts like -i, but ignores case even if the search 
367  pattern contains uppercase letters.
368
369* Less now checks for the environment variable VISUAL before EDITOR.
370
371* Ported to OS/2.
372
373======================================================================
374
375
376	Major changes between "less" versions 237 and 252
377
378* Changes in line-editing keys:
379  The literal key is now ^V or ^A rather than \ (backslash).
380  Filename completion commands (TAB and ^L) are disabled 
381  when typing a search pattern.
382
383* Line-editing command keys can be redefined using lesskey.
384
385* Lesskey with no input file defaults to $HOME/.lesskey
386  rather than standard input.
387
388* New option -V displays version number of less.
389
390* New option -V displays version number of lesskey.
391
392* Help file less.hlp is now installed by default in /usr/local/share 
393  rather than /usr/local/lib.
394
395
396======================================================================
397
398
399	Major changes between "less" versions 170 and 237
400
401* By popular demand, text which matches the current search pattern
402  is highlighted.  New -F flag disables this feature.
403
404* Henry Spencer's regexp.c is now included, for systems which do not
405  have a regular expression library.
406  regexp.c is Copyright (c) 1986 by University of Toronto.
407
408* New line-editing keys, including command history (arrow keys) and 
409  filename completion (TAB).
410
411* Input preprocessor allows modification of input files (e.g. uncompress)
412  via LESSOPEN/LESSCLOSE environment variables.
413
414* New -X flag disables sending termcap "ti" and "te" (initialize and
415  deinitialize) strings to the terminal. 
416
417* Changing -i from within less now correctly affects a subsequent
418  repeated search.  
419
420* Searching for underlined or overstruck text now works when the -u
421  flag is in effect, rather than the -i flag.
422
423* Use setlocale (LANG and LC_CTYPE environment variables) to determine
424  the character set if LESSCHARSET/LESSCHARDEF are not set.
425
426* The default format for displaying binary characters is now standout
427  (reverse video) rather than blinking.  This can still be changed by
428  setting the LESSBINFMT environment variable.
429
430* Use autoconf installation technology.
431
432* Ported to MS-DOS.
433
434        ********************************
435          Things that may surprise you
436        ********************************
437
438* When you enter text at the bottom of the screen (search string, 
439  filename, etc.), some keys act different than previously.  
440  Specifically, \ (backslash), ESC, TAB, BACKTAB, and control-L 
441  now have line editing functions.
442
443* Some previous unofficial versions of less were able to display
444  compressed files.  The new LESSOPEN/LESSCLOSE feature now provides
445  this functionality in a different way.
446
447* Some previous unofficial versions of less provided a -Z flag to 
448  set the number of lines of text to retain between full screen scrolls.
449  The -z-n flag (that is, -z with a negative number) provides this 
450  functionality.
451
452
453======================================================================
454
455
456	Major changes between "less" versions 123 and 170
457
458* New option -j allows target lines to be positioned anywhere on screen.
459
460* New option -S truncates displayed line at the screen width,
461  rather than wrapping onto the next line.
462
463* New option -y limits amount of forward scroll.
464
465* New option -T specifies a "tags" file.
466
467* Non-printable, non-control characters are displayed in octal.
468  Such characters, as well as control characters, are displayed 
469  in blinking mode.
470
471* New command -+ sets an option to its default.
472* New command -- sets an option to the opposite of its default.
473
474* Lesskey file may have a string appended to a key's action,
475  which acts as though typed in after the command.
476
477* New commands ESC-^F and ESC-^B match arbitrary types of brackets.
478
479* New command F monitors a growing file (like "tail -f").
480
481* New command | pipes a section of the input file into a shell command.
482
483* New command :x directly jumps to a file in the command line list.
484
485* Search commands have been enhanced and reorganized:
486	n	Repeat search, same direction.
487	N	Repeat search, opposite direction.
488	ESC-/	Search forward thru file boundaries
489	ESC-?	Search backward thru file boundaries
490	ESC-n	Repeat search thru file boundaries, same direction.
491	ESC-N	Repeat search thru file boundaries, opposite direction.
492  Special character * causes search to search thru file boundaries.
493  Special character @ causes search to begin at start/end of file list.
494
495* Examining a new file adds it to the command line list.
496  A list of files, or an expression which matches more than one file,
497  may be examined; all of them are added to the command line list.
498
499* Environment variables LESSCHARSET and LESSCHARDEF can define
500  a non-ASCII character set.
501
502* Partial support for MSDOS, including options -R for repainting screen
503  on quit, -v/-V to select video mode, and -W to change window size.
504
505
506======================================================================
507
508
509	Major changes between "less" versions 97 and 123
510
511* New option (-N) causes line numbers to be displayed in the
512  text of the file (like vi "set nu").
513
514* New option (-?) prints help message immediately.
515
516* New option (-r) displays "raw" control characters, without
517  mapping them to ^X notation.
518
519* New option (-f) forces less to open non-regular files
520  (directories, etc).
521
522* New option (-k) can be used to specify lesskey files by name.
523
524* New option (-y) can be used to set a forward scroll limit
525  (like -h sets a backward scroll limit).
526
527* File marks (set by the m command) are now preserved when a new
528  file is edited.  The ' command can thus be used to switch files.
529
530* New command ESC-/ searches all files (on the command line) 
531  for a pattern.
532
533* New command ESC-n repeats previous search, spanning files.
534
535* The N command has been changed to repeat the previous search
536  in the reverse direction.  The old N command is still available 
537  via :n.
538
539* New command ESC-N repeats previous search in the reverse
540  direction and spanning files.
541
542* 8 bit characters are now supported.  A new option (-g) can be 
543  used to strip off the eighth bit (the previous behavior).
544
545* Options which take a following string (like -t) may now
546  optionally have a space between the option letter and the string.
547
548* Six new commands { } ( ) [ and ] can be used to match
549  brackets of specific types, similar to vi % command.
550
551* New commands z and w move forward/backward one window and
552  simultaneously set the window size.
553
554* Prompt string expansion now has %L for line number of the last
555  line in the file, and %E for the name of the editor.
556  Also, % escapes which refer to a line (b=bottom, t=top, etc.)
557  can use j for the jump target line.
558
559* New environment variable LESSEDIT can be used to tailor the
560  command string passed to the editor by the v command.
561
562* Examining a file which was previously examined will return
563  to the same position in the file.
564
565* A "%" is expanded to the current filename and a "#" to the 
566  previous filename, in both shell commands and the E command.
567  (Previously % worked only in shell commands and # worked 
568  only in the E command.)
569
570* New command ":ta" is equivalent to "-t".
571
572* New command "s" is equivalent to "-l".
573
574* The - command may be followed by "+X" to revert to the default
575  for option X, or "-X" to get the opposite of the default.
576
577* Lesskey files may now include characters after the action as
578  extra input to be parsed after the action; for example:
579  "toggle-option X" to toggle a specific option X.
580