Annotation of src/usr.bin/less/NEWS, Revision 1.1.1.1
1.1 etheisen 1: Major changes between "less" versions 278 and 290
2:
3: * Accepts GNU-style options "--help" and "--version".
4:
5: * OS/2 version looks for less.ini in $HOME before $INIT and $PATH.
6:
7: * Bug fixes
8:
9: ======================================================================
10:
11:
12: Major changes between "less" versions 252 and 278
13:
14: * A LESSOPEN preprocessor may now pipe the converted file data to less,
15: rather than writing it to a temporary file.
16:
17: * Search pattern highlighting has been fixed. It now highlights
18: reliably, even if a string is split across two screen lines,
19: contains TABs, etc.
20:
21: * The -F flag (which suppress search highlighting) has been changed
22: to -G. A new flag, -g, changes search highlighting to highlight
23: only the string found by the last search command, instead of all
24: strings which match the last search command.
25:
26: * New flag -I acts like -i, but ignores case even if the search
27: pattern contains uppercase letters.
28:
29: * Less now checks for the environment variable VISUAL before EDITOR.
30:
31: * Ported to OS/2.
32:
33: ======================================================================
34:
35:
36: Major changes between "less" versions 237 and 252
37:
38: * Changes in line-editing keys:
39: The literal key is now ^V or ^A rather than \ (backslash).
40: Filename completion commands (TAB and ^L) are disabled
41: when typing a search pattern.
42:
43: * Line-editing command keys can be redefined using lesskey.
44:
45: * Lesskey with no input file defaults to $HOME/.lesskey
46: rather than standard input.
47:
48: * New option -V displays version number of less.
49:
50: * New option -V displays version number of lesskey.
51:
52: * Help file less.hlp is now installed by default in /usr/local/share
53: rather than /usr/local/lib.
54:
55:
56: ======================================================================
57:
58:
59: Major changes between "less" versions 170 and 237
60:
61: * By popular demand, text which matches the current search pattern
62: is highlighted. New -F flag disables this feature.
63:
64: * Henry Spencer's regexp.c is now included, for systems which do not
65: have a regular expression library.
66: regexp.c is Copyright (c) 1986 by University of Toronto.
67:
68: * New line-editing keys, including command history (arrow keys) and
69: filename completion (TAB).
70:
71: * Input preprocessor allows modification of input files (e.g. uncompress)
72: via LESSOPEN/LESSCLOSE environment variables.
73:
74: * New -X flag disables sending termcap "ti" and "te" (initialize and
75: deinitialize) strings to the terminal.
76:
77: * Changing -i from within less now correctly affects a subsequent
78: repeated search.
79:
80: * Searching for underlined or overstruck text now works when the -u
81: flag is in effect, rather than the -i flag.
82:
83: * Use setlocale (LANG and LC_CTYPE environment variables) to determine
84: the character set if LESSCHARSET/LESSCHARDEF are not set.
85:
86: * The default format for displaying binary characters is now standout
87: (reverse video) rather than blinking. This can still be changed by
88: setting the LESSBINFMT environment variable.
89:
90: * Use autoconf installation technology.
91:
92: * Ported to MS-DOS.
93:
94: ********************************
95: Things that may surprise you
96: ********************************
97:
98: * When you enter text at the bottom of the screen (search string,
99: filename, etc.), some keys act different than previously.
100: Specifically, \ (backslash), ESC, TAB, BACKTAB, and control-L
101: now have line editing functions.
102:
103: * Some previous unofficial versions of less were able to display
104: compressed files. The new LESSOPEN/LESSCLOSE feature now provides
105: this functionality in a different way.
106:
107: * Some previous unofficial versions of less provided a -Z flag to
108: set the number of lines of text to retain between full screen scrolls.
109: The -z-n flag (that is, -z with a negative number) provides this
110: functionality.
111:
112:
113: ======================================================================
114:
115:
116: Major changes between "less" versions 123 and 170
117:
118: * New option -j allows target lines to be positioned anywhere on screen.
119:
120: * New option -S truncates displayed line at the screen width,
121: rather than wrapping onto the next line.
122:
123: * New option -y limits amount of forward scroll.
124:
125: * New option -T specifies a "tags" file.
126:
127: * Non-printable, non-control characters are displayed in octal.
128: Such characters, as well as control characters, are displayed
129: in blinking mode.
130:
131: * New command -+ sets an option to its default.
132: * New command -- sets an option to the opposite of its default.
133:
134: * Lesskey file may have a string appended to a key's action,
135: which acts as though typed in after the command.
136:
137: * New commands ESC-^F and ESC-^B match arbitrary types of brackets.
138:
139: * New command F monitors a growing file (like "tail -f").
140:
141: * New command | pipes a section of the input file into a shell command.
142:
143: * New command :x directly jumps to a file in the command line list.
144:
145: * Search commands have been enhanced and reorganized:
146: n Repeat search, same direction.
147: N Repeat search, opposite direction.
148: ESC-/ Search forward thru file boundaries
149: ESC-? Search backward thru file boundaries
150: ESC-n Repeat search thru file boundaries, same direction.
151: ESC-N Repeat search thru file boundaries, opposite direction.
152: Special character * causes search to search thru file boundaries.
153: Special character @ causes search to begin at start/end of file list.
154:
155: * Examining a new file adds it to the command line list.
156: A list of files, or an expression which matches more than one file,
157: may be examined; all of them are added to the command line list.
158:
159: * Environment variables LESSCHARSET and LESSCHARDEF can define
160: a non-ASCII character set.
161:
162: * Partial support for MSDOS, including options -R for repainting screen
163: on quit, -v/-V to select video mode, and -W to change window size.
164:
165:
166: ======================================================================
167:
168:
169: Major changes between "less" versions 97 and 123
170:
171: * New option (-N) causes line numbers to be displayed in the
172: text of the file (like vi "set nu").
173:
174: * New option (-?) prints help message immediately.
175:
176: * New option (-r) displays "raw" control characters, without
177: mapping them to ^X notation.
178:
179: * New option (-f) forces less to open non-regular files
180: (directories, etc).
181:
182: * New option (-k) can be used to specify lesskey files by name.
183:
184: * New option (-y) can be used to set a forward scroll limit
185: (like -h sets a backward scroll limit).
186:
187: * File marks (set by the m command) are now preserved when a new
188: file is edited. The ' command can thus be used to switch files.
189:
190: * New command ESC-/ searches all files (on the command line)
191: for a pattern.
192:
193: * New command ESC-n repeats previous search, spanning files.
194:
195: * The N command has been changed to repeat the previous search
196: in the reverse direction. The old N command is still available
197: via :n.
198:
199: * New command ESC-N repeats previous search in the reverse
200: direction and spanning files.
201:
202: * 8 bit characters are now supported. A new option (-g) can be
203: used to strip off the eighth bit (the previous behavior).
204:
205: * Options which take a following string (like -t) may now
206: optionally have a space between the option letter and the string.
207:
208: * Six new commands { } ( ) [ and ] can be used to match
209: brackets of specific types, similar to vi % command.
210:
211: * New commands z and w move forward/backward one window and
212: simultaneously set the window size.
213:
214: * Prompt string expansion now has %L for line number of the last
215: line in the file, and %E for the name of the editor.
216: Also, % escapes which refer to a line (b=bottom, t=top, etc.)
217: can use j for the jump target line.
218:
219: * New environment variable LESSEDIT can be used to tailor the
220: command string passed to the editor by the v command.
221:
222: * Examining a file which was previously examined will return
223: to the same position in the file.
224:
225: * A "%" is expanded to the current filename and a "#" to the
226: previous filename, in both shell commands and the E command.
227: (Previously % worked only in shell commands and # worked
228: only in the E command.)
229:
230: * New command ":ta" is equivalent to "-t".
231:
232: * New command "s" is equivalent to "-l".
233:
234: * The - command may be followed by "+X" to revert to the default
235: for option X, or "-X" to get the opposite of the default.
236:
237: * Lesskey files may now include characters after the action as
238: extra input to be parsed after the action; for example:
239: "toggle-option X" to toggle a specific option X.