note the release of 7.2
[nano-editor.git] / news.php
CommitLineData
5704db4e 1<?php $title="News"; include "top.php"; ?>
563ba55f 2
082f4e84 3<table BORDER=0 CELLSPACING=0 WIDTH="100%">
cb81e8d7
BS
4<tr>
5<td>
319d9c47
BS
6<br><br>
7<center><b><big>News</big></b></center>
50070c05
BS
8</td>
9</tr>
10
11<tr align="center">
12<td>
e2ca83a4 13<br><br>
99d848e6 14
9e53a8f7
BS
152023 January 18 - <b>GNU nano 7.2</b> "Boer doe mij 't hekke l&ouml;s!"
16<br>
17<table><tr><td><ul>
18<li>&lt;Shift+Insert&gt; is prevented from pasting in view mode.</li>
19</ul></td></tr></table>
20<br><br>
21
385b36e2
BS
222022 December 14 - <b>GNU nano 7.1</b> "And the devices shall be made of wood"
23<br>
24<table><tr><td><ul>
25<li>When <tt>--autoindent</tt> and <tt>--breaklonglines</tt> are combined, pressing<br>
26 &lt;Enter&gt; at a specific position no longer eats characters.</li>
27</ul></td></tr></table>
28<br><br>
29
be21dffb
BS
302022 November 15 - <b>GNU nano 7.0</b> "Una existencia simple bajo el sol"
31<br>
32<table><tr><td><ul>
33<li>String binds may contain bindable function names between braces.<br>
34 For example, to move the current line down to after the next one:<br>
35 <tt>bind ^D "{cut}{down}{paste}{up}" main</tt>. Of course, braced function<br>
36 names may be mixed with literal text. If an existing string bind<br>
37 contains a literal <tt>{</tt>, replace it with <tt>{{}</tt>.</li>
38<li>Unicode codes can be entered (via <tt>M-V</tt>) without leading zeroes,<br>
39 by finishing short codes with &lt;Space&gt; or &lt;Enter&gt;.</li>
40<li>Word completion (<tt>^]</tt>) looks for candidates in all open buffers.</li>
41<li>No regular expression matches the final empty line any more.</li>
42</ul></td></tr></table>
43<br><br>
44
45
877a14fc
BS
462022 August 2 - <b>GNU nano 6.4</b> "Regentag Dunkelbunt Hundertwasser"
47<br>
48<table><tr><td><ul>
49<li>The file browser does not crash when moving up to the root folder.</li>
50<li>Softwrapping very long lines is done more efficiently.</li>
51<li>Invoking the formatter does not blink the screen.</li>
52</ul></td></tr></table>
53<br><br>
54
060a6131
BS
552022 April 28 - <b>GNU nano 6.3</b> "Wat zullen we drinken? Wat een dorst!"
56<br>
57<table><tr><td><ul>
9cb2f064 58<li>For multiline regexes, text is now colored as soon as a start match<br>
060a6131
BS
59 is found, also when there is no end match at all.</li>
60<li>The colorizing of any line is stopped after two thousand bytes,<br>
61 to avoid frustrating delays.</li>
62<li>When environment variable <tt>NO_COLOR</tt> is set, the two default colors<br>
63 (yellow for the spotlight, red for error messages) are suppressed<br>
64 when no interface colors are specified in a nanorc file.</li>
65<li>Full justification and piping the whole buffer through a command<br>
66 now keep the cursor at the same line number.</li>
67<li>Utility <tt>xsel</tt> can be used to copy a marked region to the system's<br>
68 clipboard. See <tt>doc/sample.nanorc</tt> for an example.</li>
69</ul></td></tr></table>
70<br><br>
71
2745bc14
BS
722022 February 18 - <b>GNU nano 6.2</b> "Kamperfoelie"
73<br>
74<table><tr><td><ul>
75<li>The file browser clears the prompt bar also when using <tt>--minibar</tt>.</li>
76<li>Linting now works also with a newer 'pyflakes'.</li>
77</ul></td></tr></table>
78<br><br>
79
0ce2f4ef
BS
802022 February 9 - <b>GNU nano 6.1</b> "Re&#x21B;elele de socializare sunt ca un frigider"
81<br>
82<table><tr><td><ul>
e5478013
BS
83<li>The behavior of <tt>^K</tt> at a prompt has been enhanced: when there<br>
84 is text after the cursor, just this text is erased. (In the usual<br>
85 situation, however, when the cursor is at the end of the answer,<br>
86 the behavior is as before: the whole answer is erased.)</li>
0ce2f4ef
BS
87<li>At a prompt, <tt>M-6</tt> copies the current answer into the cutbuffer.</li>
88<li>Large external pastes into nano are handled more quickly.</li>
89</ul></td></tr></table>
90<br><br>
91
24781d9c
BS
922021 December 15 - <b>GNU nano 6.0</b> "Humor heeft ook zijn leuke kanten"
93<br>
94<table><tr><td><ul>
95<li>Option <tt>--zero</tt> hides the title bar, status bar and help lines, and<br>
96 uses all rows of the terminal as editing area. The title bar and<br>
97 status bar can be toggled with <tt>M-Z</tt>.</li>
98<li>Colors can now be specified also as three-digit hexadecimal numbers,<br>
99 in the format <tt>#rgb</tt>. This picks from the 216 index colors (that most<br>
100 terminals know) the color that is nearest to the given values.</li>
101<li>For users who dislike numbers, there are fourteen new color names:<br>
102 rosy, beet, plum, sea, sky, slate, teal, sage, brown, ocher, sand,<br>
103 tawny, brick, and crimson.</li>
104<li>Suspension is enabled by default, invokable with <tt>^T^Z</tt>. The options<br>
105 <tt>-z</tt>, <tt>--suspendable</tt>, and 'set suspendable' are obsolete and ignored.<br>
106 (In case you want to be able to suspend nano with a single keystroke,<br>
107 you can put 'bind ^Z suspend main' in your nanorc.)</li>
108<li>When automatic hard-wrapping is in effect, pasting just a few words<br>
109 (without a line break) will now hard-wrap the line when needed.</li>
110<li>Toggling Append or Prepend clears the current filename.</li>
111<li>The word count as shown by <tt>M-D</tt> is now affected by option --wordbounds;<br>
112 with it, nano counts words as 'wc' does; without it (the new default),<br>
113 words are counted in a more human way: seeing punctuation as space.</li>
114<li>The YAML syntax file is now actually included in the tarball.</li>
115</ul></td></tr></table>
116<br><br>
117
118
31d85dce 1192021 October 6 - <b>GNU nano 5.9</b> "El manicomio ha decidido: ma&ntilde;ana sol!"
a5abf02d
BS
120<br>
121<table><tr><td><ul>
122<li>The extension of a filename is added to the name of a corresponding<br>
c080b5b8
BS
123 temporary file, so that spell checking a C file, for example, will check<br>
124 only the comments and strings (when using 'aspell').</li>
a5abf02d
BS
125<li>The process number is added to the name of an emergency save file,<br>
126 so that when multiple nanos die they will not fight over a filename.</li>
127<li>Undoing a cutting operation will restore an anchor that was located<br>
128 in the cut area to its original line.</li>
e28fd2ae 129<li>When using <tt>--locking</tt>, saving a new buffer will create a lock file.</li>
a5abf02d
BS
130<li>Syntax highlighting for YAML files has been added.</li>
131</ul></td></tr></table>
132<br><br>
133
880921a4
BS
1342021 June 15 - <b>GNU nano 5.8</b> "Why is it necessary to be special?"
135<br>
136<table><tr><td><ul>
137<li>After a search, the spotlighting is dropped after 1.5 seconds (0.8<br>
138 seconds with <tt>--quick</tt>) to avoid the idea that the text is selected.</li>
377f9fc5
BS
139<li>A <tt>+</tt> and a space before a filename on the command line will put<br>
140 the cursor at the end of the corresponding buffer.</li>
880921a4
BS
141<li>Linter messages no longer include filename and line/column numbers.</li>
142<li>Color name "grey" or "gray" can be used instead of "lightblack".</li>
143<li>The color of the minibar can be chosen with 'set minicolor'.</li>
144</ul></td></tr></table>
145<br><br>
146
3a2d03c4
BS
1472021 April 29 - <b>GNU nano 5.7</b> "To&#x21B;i ceilal&#x21B;i arau c&acirc;mpurile"
148<br>
149<table><tr><td><ul>
150<li>The output of <tt>--constantshow</tt> (without <tt>--minibar</tt>) is more stable.</li>
151<li>When opening multiple buffers and there is an error message, this<br>
152 message is shown again upon first switch to the relevant buffer.</li>
153<li>The position and size of the indicator now follow actual lines,<br>
154 instead of visual lines when in softwrap mode, meaning that the<br>
155 size of the indicator can change when scrolling in softwrap mode.</li>
156</ul></td></tr></table>
157<br><br>
158
2e8352ec
BS
1592021 March 3 - <b>GNU nano 5.6.1</b> "Geelgors"
160<br>
161<table><tr><td><ul>
162<li>Search matches are properly colorized in softwrap mode too.</li>
163<li>Option 'highlightcolor' has been renamed to 'spotlightcolor'.</li>
164</ul></td></tr></table>
165<br><br>
166
d2a54053
BS
1672021 February 24 - <b>GNU nano 5.6</b> "Wielewaal"
168<br>
169<table><tr><td><ul>
170<li>A search match gets highlighted (in black on yellow by default),<br>
171 in addition to placing the cursor at the start of the match.<br>
172 The color combination can be changed with 'set highlightcolor'.<br>
173 By default the cursor is hidden until the next keystroke, but<br>
85194e5b 174 it can be forced on with <tt>--showcursor</tt> / 'set showcursor'.</li>
d2a54053
BS
175<li>Option <tt>--markmatch</tt> / 'set markmatch' has been removed.</li>
176<li>Cursor position and character code are displayed in the minibar<br>
177 only when option <tt>--constantshow</tt> / 'set constantshow' is used,<br>
178 and their display can be toggled with <tt>M-C</tt>.</li>
179<li>The state flags are displayed in the minibar only when option<br>
180 <tt>--stateflags</tt> / 'set stateflags' is used.</li>
181</ul></td></tr></table>
182<br><br>
183
3dfa6adf
BS
1842021 January 14 - <b>GNU nano 5.5</b> "Rebecca"
185<br>
186<table><tr><td><ul>
187<li>Option 'set minibar' makes nano suppress the title bar and instead<br>
188 show a bar with basic editing information at the bottom: file name<br>
189 (plus an asterisk when the buffer is modified), the cursor position<br>
190 (line,column), the character under the cursor (U+xxxx), the flags<br>
191 that <tt>--stateflags</tt> normally shows, plus the percentage of the buffer<br>
192 that is above the cursor.</li>
193<li>With 'set promptcolor' the color combination of the prompt bar can<br>
194 be changed, to allow contrasting it with the mini bar (which always<br>
195 has the same color as the title bar).</li>
196<li>Option 'set markmatch' highlights the result of a successful search<br>
197 by putting the mark at the end of the match, making the match more<br>
198 visible. It also suppresses the cursor until the next keystroke.<br>
199 (If you dislike the hiding of the cursor, use 'set showcursor'.)</li>
200<li>The bindable toggle 'nowrap' has been renamed to 'breaklonglines',<br>
201 to match the corresponding option, like for all other toggles.</li>
202<li>Support for Slang has been removed.</li>
203</ul></td></tr></table>
204<br><br>
205
5789b38a
BS
2062020 December 2 - <b>GNU nano 5.4</b> "Terre des hommes"
207<br>
208<table><tr><td><ul>
21e174f3
BS
209<li>Moving the cursor now skips over combining characters (and<br>
210 other zero-width characters). Deleting a character deletes<br>
211 also any succeeding zero-width characters, but backspacing<br>
212 deletes just one character at a time.</li>
5789b38a
BS
213</ul></td></tr></table>
214<br><br>
215
1c73aaaa
BS
2162020 October 7 - <b>GNU nano 5.3</b> "Revolution!"
217<br>
218<table><tr><td><ul>
219<li>Option 'set stateflags' makes nano show the state of auto-indenting,<br>
220 the mark, hard-wrapping, macro recording, and soft-wrapping in the<br>
221 title bar. The flags take the place of "Modified", and a modified<br>
222 buffer is instead indicated by an asterisk (*) after its name.</li>
223<li>Nano no longer by default tries using libmagic to determine the type<br>
224 of a file (when neither filename nor first line gave a clue), because<br>
225 in most cases it is a waste of time. It requires using the option<br>
226 <tt>--magic</tt> or <tt>-!</tt> or 'set magic' to make nano try libmagic.</li>
227<li>The color of the indicator can be changed with 'set scrollercolor'.</li>
228</ul></td></tr></table>
229<br><br>
230
6ad13f56
BS
2312020 August 24 - <b>GNU nano 5.2</b> "Ranrapalca"
232<br>
233<table><tr><td><ul>
234<li>Making certain replacements after a large paste does not crash.</li>
235<li>Hitting a toggle at the Search prompt does not clear the answer.</li>
236<li>Using <tt>--positionlog</tt> does not complain at the first start.</li>
237<li>A macro containing a Search command will not sometimes fail.</li>
238</ul></td></tr></table>
239<br><br>
240
d8f59a36
BS
2412020 August 12 - <b>GNU nano 5.1</b> "Cantabria"
242<br>
243<table><tr><td><ul>
244<li><tt>M-Bsp</tt> (Alt+Backspace) deletes a word backwards, like in Bash.</li>
245<li><tt>M-[</tt> has become bindable. (Be careful, though: as it is the<br>
246 starting combination of many escape sequences, avoid gluing<br>
247 it together with other keystrokes, like in a macro.)</li>
f285c48d
BS
248<li>With <tt>--indicator</tt> and <tt>--softwrap</tt>, the first keystroke in an<br>
249 empty buffer does not crash.</li>
d8f59a36
BS
250<li>Invoking the formatter while text is marked does not crash.</li>
251<li>In UTF-8 locales, an anchor is shown as a diamond.</li>
252</ul></td></tr></table>
253<br><br>
254
7587be57
BS
2552020 July 29 - <b>GNU nano 5.0</b> "Among the fields of barley"
256<br>
257<table><tr><td><ul>
258<li>With <tt>--indicator</tt> (or <tt>-q</tt> or 'set indicator') nano will show a kind<br>
259 of scrollbar on the righthand side of the screen to indicate where<br>
260 in the buffer the viewport is located and how much it covers.</li>
261<li>With &lt;Alt+Insert&gt; any line can be "tagged" with an anchor, and<br>
262 &lt;Alt+PageUp&gt; and &lt;Alt+PageDown&gt; will jump to the nearest anchor.<br>
263 When using line numbers, an anchor is shown as "+" in the margin.</li>
264<li>The Execute Command prompt is now directly accessible from the<br>
265 main menu (with <tt>^T</tt>, replacing the Spell Checker). The Linter,<br>
266 Formatter, Spell Checker, Full Justification, Suspension, and<br>
267 Cut-Till-End functions are available in this menu too.</li>
268<li>On terminals that support at least 256 colors, nine new color<br>
269 names are available: pink, purple, mauve, lagoon, mint, lime,<br>
270 peach, orange, and latte. These do not have lighter versions.</li>
271<li>For the color names red, green, blue, yellow, cyan, magenta,<br>
272 white, and black, the prefix 'light' gives a brighter color.<br>
273 Prefix 'bright' is deprecated, as it means both bold AND light.</li>
274<li>All color names can be preceded with "bold," and/or "italic,"<br>
275 (in that order) to get a bold and/or italic typeface.</li>
276<li>With <tt>--bookstyle</tt> (or <tt>-O</tt> or 'set bookstyle') nano considers any<br>
277 line that begins with whitespace as the start of a paragraph.</li>
278<li>Refreshing the screen with <tt>^L</tt> now works in every menu.</li>
279<li>In the main menu, <tt>^L</tt> also centers the line with the cursor.</li>
1bfd5748 280<li>Toggling the help lines with <tt>M-X</tt> now works in all menus except<br>
7587be57
BS
281 in the help viewer and the linter.</li>
282<li>At a filename prompt, the first &lt;Tab&gt; lists the possibilities,<br>
283 and these are listed near the bottom instead of near the top.</li>
284<li>Bindable function 'curpos' has been renamed to 'location'.</li>
285<li>Long option <tt>--tempfile</tt> has been renamed to <tt>--saveonexit</tt>.</li>
286<li>Short option <tt>-S</tt> is now a synonym of <tt>--softwrap</tt>.</li>
287<li>The New Buffer toggle (<tt>M-F</tt>) has become non-persistent. Options<br>
1bfd5748 288 <tt>--multibuffer</tt> and 'set multibuffer' still make it default to on.</li>
7587be57
BS
289<li>Backup files will retain their group ownership (when possible).</li>
290<li>Data is synced to disk before "... lines written" is shown.</li>
291<li>The raw escape sequences for <tt>F13</tt> to <tt>F16</tt> are no longer recognized.</li>
292<li>Distro-specific syntaxes, and syntaxes of less common languages,<br>
293 have been moved down to subdirectory syntax/extra/. The affected<br>
294 distros and others may wish to move wanted syntaxes one level up.</li>
295<li>Syntaxes for Markdown, Haskell, and Ada were added.</li>
296</ul></td></tr></table>
297<br><br>
298
f0146453
BS
2992020 May 23 - <b>GNU nano 4.9.3</b> "Almendras"
300<br><br>
301<table><tr><td>
bfb390e0 302 One more bug introduced in version 4.9 is fixed: a crash when<br>
f0146453
BS
303 the terminal screen is resized while at a lock-file prompt.
304</td></tr></table>
305<br><br>
306
c78fafd2 3072020 April 7 - <b>GNU nano 4.9.2</b> "Mali Lo&scaron;inj"
f0146453 308<br><br>
c78fafd2
BS
309<table><tr><td>
310 Another bug introduced in version 4.9 is fixed: a likely crash<br>
cba23c33 311 after undoing an &lt;Enter&gt; at the end of leading whitespace.
c78fafd2
BS
312</td></tr></table>
313<br><br>
314
cded4212 3152020 March 31 - <b>GNU nano 4.9.1</b> "Sapperdeflap"
f0146453 316<br><br>
cded4212 317<table><tr><td>
5ba12afa
BS
318 Two bugs introduced in version 4.9 are fixed: the cursor<br>
319 getting misplaced when undoing line cuts, and filtering<br>
320 of the whole buffer to a new buffer not working.
cded4212
BS
321</td></tr></table>
322<br><br>
323
09f8b5f0
BS
3242020 March 24 - <b>GNU nano 4.9</b> "die fetten Jahre sind vorbei"
325<br>
326<table><tr><td><ul>
327<li>When justifying a selection, the new paragraph and the<br>
328 succeeding one get the appropriate first-line indent.</li>
329<li>Trying to justify an empty selection does not crash.</li>
330<li>Redoing the insertion of an empty file does not crash.</li>
331<li>On the BSDs and macOS, <tt>^H</tt> has become rebindable again<br>
332 (in most terminal emulators, not on the console).</li>
333<li>DOS line endings in nanorc files are accepted.</li>
334<li>Option <tt>--suspend</tt> / 'set suspend' has been renamed to<br>
335 the more logical <tt>--suspendable</tt> / 'set suspendable'.</li>
336</ul></td></tr></table>
337<br><br>
338
01a85566
BS
3392020 February 7 - <b>GNU nano 4.8</b> "Ja&scaron;ka"
340<br>
341<table><tr><td><ul>
342<li>When something is pasted into nano, auto-indentation is suppressed,<br>
343 and the paste can be undone as a whole with a single <tt>M-U</tt>.</li>
344<li>When a lock file is encountered during startup, pressing <tt>^C</tt>/Cancel<br>
345 quits nano. (Pressing 'No' just skips the file and continues.)</li>
346<li>Shift+Meta+letter key combos can be bound with 'bind Sh-M-letter'.<br>
347 Making any such binding dismisses the default behavior of ignoring<br>
348 Shift for all Meta+letter keystrokes.</li>
349<li>The configuration option <tt>--with-slang</tt> (to be avoided when possible)<br>
350 can now be used only together with <tt>--enable-tiny</tt>.</li>
351<li>A custom nanorc file can be specified on the command line, with<br>
352 <tt>-f filename</tt> or <tt>--rcfile=filename</tt>.</li>
353</ul></td></tr></table>
354<br><br>
355
21d362bb 3562019 December 23 - <b>GNU nano 4.7</b> "Havikskruid"
fa82a7df
BS
357<br>
358<table><tr><td><ul>
21d362bb
BS
359<li>A &lt;Tab&gt; will indent a marked region only when mark and cursor are<br>
360 on different lines.</li>
361<li>Two indentations (any mix of tabs and spaces) are considered the<br>
362 same when they look the same (that is: indent to the same level).</li>
363<li>When using <tt>--breaklonglines</tt> or <tt>^J</tt>, a line will never be broken in<br>
364 its leading whitespace or quoting.</li>
365<li>The keywords in nanorc files must be in lowercase.</li>
fa82a7df
BS
366</ul></td></tr></table>
367<br><br>
21d362bb 368
fb86bd83
BS
3692019 November 29 - <b>GNU nano 4.6</b> "And don't you eat that yellow snow"
370<br>
371<table><tr><td><ul>
372<li>The 'formatter' command has returned, bound by default to <tt>M-F</tt>.<br>
373 It allows running a syntax-specific command on the contents of<br>
374 the buffer.</li>
36934144 375<li><tt>^T</tt> will try to run 'hunspell' before 'spell', because it checks<br>
f9aef8a0 376 spelling for the locale's language and understands UTF-8.</li>
fb86bd83
BS
377<li>Multiple errors or warnings on startup will no longer slow nano<br>
378 down but will be indicated on the status bar with trailing dots.</li>
379</ul></td></tr></table>
380<br><br>
381
a739c60d
BS
3822019 October 4 - <b>GNU nano 4.5</b> "Ko&scaron;ice"
383<br>
384<table><tr><td><ul>
385<li>The new 'tabgives' command allows you to specify per syntax what<br>
386 the &lt;Tab&gt; key should produce: some spaces, a hard TAB, ...</li>
387<li>The output of <tt>--help</tt> is properly aligned again for all languages.</li>
388<li>&lt;Tab&gt; will indent a marked region also when <tt>M-}</tt> has been rebound.</li>
389</ul></td></tr></table>
390<br><br>
391
ae82a2d1 3922019 August 25 - <b>GNU nano 4.4</b> "Hagelslag"
fcb625d4 393<br>
ae82a2d1
BS
394<table><tr><td><ul>
395<li>At startup, the cursor can be put on the first or last occurrence<br>
396 of a string by preceding the filename with <tt>+/string</tt> or <tt>+?string</tt>.</li>
397<li>When automatic hard-wrapping occurs (<tt>--breaklonglines</tt>), any leading<br>
398 quoting characters will be automatically copied to the new line.</li>
a739c60d 399<li><tt>M-6</tt> works again also when the cursor is at end of buffer.</li>
ae82a2d1 400</ul></td></tr></table>
fcb625d4 401<br><br>
ae82a2d1 402
84553b52 4032019 June 18 - <b>GNU nano 4.3</b> "Musa Kart"
fcb625d4 404<br>
84553b52
BS
405<table><tr><td><ul>
406<li>The ability to read from and write to a FIFO has been regained.</li>
c0610592 407<li>Opening a file no longer triggers an inotify CLOSE_WRITE event.</li>
84553b52
BS
408<li>Startup time is reduced by fully parsing a syntax only when needed.</li>
409<li>Asking for help (<tt>^G</tt>) when using <tt>--operatingdir</tt> does not crash.</li>
410<li>The reading of a huge or slow file can be stopped with <tt>^C</tt>.</li>
411<li>Cut, zap, and copy operations are undone separately when intermixed.</li>
412<li><tt>M-D</tt> reports the correct number of lines (zero for an empty buffer).</li>
413</ul></td></tr></table>
fcb625d4 414<br><br>
84553b52 415
933f5300 4162019 April 24 - <b>GNU nano 4.2</b> "Tax the rich, pay the teachers"
fcb625d4 417<br>
616ce731
BS
418<table><tr><td><ul>
419<li>The integrated spell checker does not crash when 'spell' is missing.</li>
094a026a 420<li>Option <tt>--breaklonglines</tt> works also when <tt>--ignorercfiles</tt> is used.</li>
616ce731
BS
421<li>Automatic hard-wrapping is more persistent in pushing words to the<br>
422 same overflow line.</li>
423</ul></td></tr></table>
fcb625d4 424<br><br>
616ce731 425
933f5300 4262019 April 15 - <b>GNU nano 4.1</b> "Qu&eacute; corchos ser&aacute; eso?"
fcb625d4 427<br>
f5d848f8 428<table><tr><td><ul>
3a9f2f9b 429<li>By default, a newline character is again automatically added at the<br>
f5d848f8 430 end of a buffer, to produce valid POSIX text files by default, but<br>
3a9f2f9b 431 also to get back the easy adding of text at the bottom.</li>
094a026a 432<li>The now unneeded option <tt>--finalnewline</tt> (<tt>-f</tt>) has been removed.</li>
f5d848f8
BS
433<li>Syntax files are read in alphabetical order when globbing, so that<br>
434 the precedence of syntaxes becomes predictable.</li>
435<li>In the C syntax, preprocessor directives are highlighted differently.</li>
094a026a 436<li><tt>M-S</tt> now toggles soft wrapping, and <tt>M-N</tt> toggles line numbers.</li>
f5d848f8 437<li>The jumpy-scrolling toggle has been removed.</li>
094a026a 438<li>The legacy keystrokes <tt>^W^Y</tt> and <tt>^W^V</tt> are recognized again.</li>
f5d848f8
BS
439<li>Executing an external command is disallowed when in view mode.</li>
440<li>Problems with resizing during external or speller commands were fixed.</li>
441</ul></td></tr></table>
fcb625d4 442<br><br>
f5d848f8 443
933f5300 4442019 March 24 - <b>GNU nano 4.0</b> "Thy Rope of Sands"
fcb625d4 445<br>
e2ca83a4
BS
446<table><tr><td><ul>
447<li>An overlong line is no longer automatically hard-wrapped.</li>
448<li>Smooth scrolling (one line at a time) has become the default.</li>
449<li>A newline character is no longer automatically added at end of buffer.</li>
450<li>The line below the title bar is by default part of the editing space.</li>
094a026a
BS
451<li>Option <tt>--breaklonglines</tt> (<tt>-b</tt>) turns automatic hard-wrapping back on.</li>
452<li>Option <tt>--jumpyscrolling</tt> (<tt>-j</tt>) gives the chunky, half-screen scrolling.</li>
453<li>Option <tt>--finalnewline</tt> (<tt>-f</tt>) brings back the automatic newline at EOF.</li>
454<li>Option <tt>--emptyline</tt> (<tt>-e</tt>) leaves the line below the title bar unused.</li>
d94a27bb 455<li>&lt;Alt+Up&gt; and &lt;Alt+Down&gt; now do a linewise scroll instead of a findnext.</li>
e2ca83a4
BS
456<li>Any number of justifications can be undone (like all other operations).</li>
457<li>When marked text is justified, it becomes a single, separate paragraph.</li>
094a026a
BS
458<li>Option <tt>--guidestripe=&lt;number&gt;</tt> draws a vertical bar at the given column.</li>
459<li>Option <tt>--fill=&lt;number&gt;</tt> no longer turns on automatic hard-wrapping.</li>
47ae3021 460<li>When a line continues offscreen, it now ends with a highlighted "&gt;".</li>
616ce731 461<li>The halves of a split two-column character are shown as "[" and "]".</li>
e2ca83a4
BS
462<li>A line now scrolls horizontally one column earlier.</li>
463<li>The bindable functions 'cutwordleft' and 'cutwordright' were renamed<br>
464 to 'chopwordleft' and 'chopwordright' as they don't use the cutbuffer.</li>
465<li>The paragraph-jumping functions were moved from Search to Go-to-Line.</li>
094a026a
BS
466<li>Option <tt>--rebinddelete</tt> is able to compensate for more misbindings.</li>
467<li>Options <tt>--morespace</tt> and <tt>--smooth</tt> are obsolete and thus ignored.</li>
468<li>The <tt>--disable-wrapping-as-root</tt> configure option was removed.</li>
e2ca83a4 469</ul></td></tr></table>
99d848e6
BS
470<br>
471
50070c05 472<pre>
2ea62bdc 473
eb64fc57
BS
4742018 November 11
475
476GNU nano 3.2 "Het kromme hout" changes the default binding
477for the linter to M-B so that the spell checker (^T) can
478always be used, and changes (when linting) the text in the
479title bar and the color of the status bar to make linting
480mode more obvious. It also adds a bindable 'zap' function
481for deleting a line or marked region without changing the
67c6d961 482cutbuffer, adds --zap to bind the &lt;Del&gt; and &lt;Backspace&gt;
eb64fc57 483keys to the zap function when something is marked, and
67c6d961 484hard-binds &lt;Alt+Del&gt; to 'zap'. Furthermore, it shows the
eb64fc57
BS
485cursor also in the help viewer (when --showcursor is used),
486renames the bindable functions 'prevhistory' to 'older' and
487'nexthistory' to 'newer' (update your nanorcs when needed),
488reads the nanorc files also in restricted mode to allow
489customization by the user (if this should not be allowed,
490use --ignorercfiles in addition to --restricted), allows
491in view mode to open also other files (if this should not
492be allowed, use --restricted in addition to --view), makes
493resizes respect a relative --fill again, no longer binds
494F13...F15 by default, properly re-highlights a misspelled
495word after invoking help in the internal spell checker,
496and does not skip Unicode characters in string binds.
497
498
499
4c396222
BS
5002018 September 18
501
502GNU nano 3.1 "Je faisais des bonds comme &ccedil;a!" fixes a
503misbinding of ^H on some terminals and some systems,
504does not leave stray stuff after the prompt upon exit
505when having suspended nano while using --constantshow,
506and does not allow to toggle to Replace in view mode.
507
508
509
3f0eb75c
BS
5102018 September 9
511
512GNU nano 3.0 "Water Flowing Underground" speeds up the
513reading of a file by seventy percent, roughly doubles the
514speed of handling ASCII text, changes the way words at line
0c351168
BS
515boundaries are deleted, makes &lt;Ctrl+Delete&gt; wipe the next
516word and &lt;Ctrl+Shift+Delete&gt; the preceding word, binds M-Q
3f0eb75c
BS
517to 'findprevious' by default (the Tabs-to-Spaces toggle is
518placed on M-O, and the More-Space toggle is fully removed),
519makes an external spell check undoable, shows the correct
520number of lines on the status bar when opening multiple
521files, removes the 'formatter' command, removes the
522'searchagain' bindable function (M-W is now bound to
523'findnext' by default), moves the No-Convert toggle to the
524Insert menu, removes the Backup and New-Buffer toggles from
525the main menu (they remain in the Write-Out and Insert
526menus, respectively), is more precise in what it accepts as
0c351168 527a rebindable key name, ignores any presses of &lt;Esc&gt; before
3f0eb75c
BS
528a valid command keystroke, recognizes some more escape
529sequences for modified editing-pad keys, does not hide
530rcfile error messages on a Linux console, renames the
531bindable functions 'copytext' to 'copy' and 'uncut' to
532'paste', and avoids a possible hang during a Full-Justify.
533
534
535
97702e40
BS
5362018 June 2
537
538GNU nano 2.9.8 "Espresso" brings the ability to filter the
539buffer (or the marked region) through an external command
540(^R^X and prefix the command with the pipe symbol, "|"), is
541better at detecting and maintaining paragraphs, is able to
542justify //-style comments, fixes a crash when the binding
543of a key to a string lacks a closing quote, gives feedback
544about the number of lines written also when prepending or
545appending, and fixes a couple of bugs with the linter.
546
547
548
72c6f649
BS
5492018 May 15
550
551GNU nano 2.9.7 "Hvide Sande" adds the option '--afterends'
552for making Ctrl+Right (the nextword function) stop at word
553ends instead of beginnings, accepts multibyte letters for
554the Yes/No/All answers, does emergency saves of changed
555buffers in the unlikely event that nano crashes, adds the
556until-now missing bindable function 'linenumbers', and
557renames the toggles 'constupdate' to 'constantshow' and
558'cuttoend' to 'cutfromcursor', for consistency with the
559corresponding options -- adjust your nanorc files soon.
560
561
562
5eef41d6
BS
5632018 April 27
564
565GNU nano 2.9.6 "Gomance" fixes a crash in word completion,
566makes --enable-altrcname work again, improves the fluidity
567of scrolling when using the touchpad, tweaks the syntaxes
568for shell scripts and PO files, makes a replacing session
569go always forward by default, no longer inserts a newline
570after an external spell check of a selected region, always
571accepts the English Y and N (and A) at a yes-no prompt in
572any locale, and solves a few hypothetical bugs.
573
574
575
a67e22bf
BS
5762018 March 29
577
578GNU nano 2.9.5 "Ki&scaron;a pada" changes the way the Scroll-Up
579and Scroll-Down commands work (M-- and M-+): instead of
580keeping the cursor in the same screen position they now
581keep the cursor in the same text position (if possible).
582This version further adds a new color name, "normal",
583which gives the default foreground or background color,
584which is useful when you want to undo some overzealous
585painting by earlier syntax regexes. Bug fixes include:
586a segfault when trying to insert a file in restricted
587mode, the reading in of a new file being "undoable", a
588slight miswrapping of help texts when --linenumbers was
589used, and the shell syntax coloring the word "tar" in
590file names.
591
592
593
c7a92f85
BS
5942018 March 8
595
596GNU nano 2.9.4 "Isabel" allows binding a key to a string
597(any piece of text and/or commands), permits customizing
598the color of error messages with 'set errorcolor', colors
599those error messages by default in bright white on red,
0c351168 600makes &lt;Enter&gt; at the bottom of the screen scroll just one
c7a92f85
BS
601row when --smooth is used, does not fail when redoing a
602file insertion, and cancels a Shift-selection when any
603cursor key is pressed without Shift even when the cursor
604cannot move. Further, it treats tabs fully the same as
605spaces when doing automatic hard-wrapping, allows syntax
606names to be unquoted, and removes two deprecated options
607and six deprecated bindable function names.
608
609
610
51331e62
BS
6112018 January 29
612
613GNU nano 2.9.3 "C&oacute;rdoba" fixes a segfault with trimblanks
614that could occur when a typed space caused the word after
615it to be pushed to the next line. It further makes macros
616work also when your keyboard still emits escape sequences,
617adds the options -M and --trimblanks for the command line,
618recognizes key combos with Shift on a few more terminals,
619no longer shows dots in certain prompt texts when visible
aa32601b 620whitespace is turned on, fixes two corner cases when doing
51331e62
BS
621replacements in a marked region, allows to open a named
622pipe again when using --noread, and accurately detects
623a needed color change when a line contains a start match
624but not a corresponding end match any more. Plus some
625other small fry.
626
627
628
1aac1698
BS
6292018 January 2
630
631GNU nano 2.9.2 "Pussy Riot" correctly displays the Modified
632state when undoing/redoing (also when the file was saved
633somewhere midway), improves the undoing of an automatic
634linefeed at EOF, fixes a build issue on the BSDs, shows
635the cursor again when compiled with --withslang, renames
636the option 'justifytrim' to 'trimblanks' because it will
637now snip trailing whitespace also while you are typing
638(and hard-wrapping is enabled), continues pushing words
639to the next line much longer (when hard-wrapping), makes
690585d0 640&lt;Tab&gt; and &lt;Shift+Tab&gt; indent and unindent a marked region,
1aac1698
BS
641allows unindenting when not all lines are indented, lets a
642region marked with Shift persist when indenting/unindenting
643or commenting/uncommenting it, and in those cases excludes
644the last line of the region when it is not visibly marked
645(which makes for a more intuitive behavior).
646
647
648
83218525
BS
6492017 November 27
650
651GNU nano 2.9.1 "Damyatta" fixes a bug where, when the mark
652is on, ^S would overwrite the file with just the marked
653region. This release further clears the "Modified" flag
654when all edits are undone, adds or updates some magic
655strings, and does not forget when the cursor was last
656at line 1, column 1.
657
658
659
a65d4e42
BS
6602017 November 18
661
662GNU nano 2.9.0 "Eta" introduces the ability to record and
663replay keystrokes (M-: to start and stop recording, M-;
664to play the macro back), makes ^Q and ^S do something
665useful by default (^Q starts a backward search, and ^S
666saves the current file), changes ^W to start always a
667forward search, shows the number of open buffers (when
668more than one) in the title bar, no longer asks to press
669Enter when there are errors in an rc file, retires the
670options '--quiet' and 'set quiet' and 'set backwards',
671makes indenting and unindenting undoable, will look in
672$XDG_CONFIG_HOME for a nanorc file and in $XDG_DATA_HOME
673for the history files, adds a history stack for executed
674commands (^R^X), does not overwrite the position-history
675file of another nano, and fixes a score of tiny bugs.
676
677
678
47a922e5
BS
6792017 August 27
680
681GNU nano 2.8.7 "Fragrance" fixes a lockup when tabs are
682wider than the screen, makes indenting + unindenting
683more predictable by retaining relative indentations,
684allows pasting (^U) at a prompt, allows triple quotes
685in Python to not be followed by a character, does not
686scroll three pages on a roll of the mouse wheel, binds
687Alt+Up and Alt+Down to findprevious and findnext, and
688fixes some hard-to-describe issues with softwrapping
689and boundary-crossing tabs. Enjoy.
690
691
692
e3e1bf2d
BS
6932017 July 21
694
2031a280 695GNU nano 2.8.6 "Kekul&eacute;" offers a new feature: the ability
e3e1bf2d
BS
696to do softwrapping between words -- at whitespace --
697instead of always at the edge of the screen. This can
698be activated with -a or --atblanks or 'set atblanks'
699together with the softwrap option. This release further
700fixes a handful of rare display glitches, fixes a build
701failure on AIX, harmonizes the quoting rules in the rc
702files, and renames the option 'cut' to 'cutfromcursor'
703(please update your nanorc files before 2020).
704
705
706
516a48e2
BS
7072017 June 25
708
709GNU nano 2.8.5 "Farouche" avoids a crash when waking from
710a suspension that was induced from the outside, allows
711negative line and column numbers on the command line,
712avoids some flickering when resizing the screen while
713in the file browser, opens files in the order they were
714mentioned on the command line, and does not pretend to
715have woken from suspension when receiving a SIGCONT.
716
717
718
f1fb28e2
BS
7192017 May 21
720
516a48e2
BS
721GNU nano 2.8.4 "Our Version of Events" includes the nanorc
722man page again.
f1fb28e2
BS
723
724
725
269921c4
BS
7262017 May 18
727
728GNU nano 2.8.3 "Hirsch" fixes a misplacement of the spotlight
729during interactive replacing, avoids build failures on AIX
730and Solaris, fixes a crash on Solaris, speeds up backwards
731searching, improves PHP syntax highlighting, and no longer
8f3b8915 732asks "save anyway?" when the user ^Q discards the buffer.
269921c4
BS
733
734
735
b6208c46
BS
7362017 May 4
737
738GNU nano 2.8.2 "Krats" adds another new feature: it makes
739the ^G help texts searchable with ^W. Apart from that,
740it fixes a crash when resizing the window in the middle
741of verbatim input, avoids an unlikely crash when used
742without UTF-8 support in some locales, avoids redrawing
743the screen twice when switching between buffers while
744line numbers are active, and works around a coloring
745bug on musl. Plus tweaks to the documentation; plus
746translation updates for fifteen languages.
747
748
749
f2eff274
BS
7502017 April 12
751
752GNU nano 2.8.1 "Ellert" fixes build failures on MacOS and
753on musl, fixes scrolling problems in softwrap mode when
754double-width characters on row boundaries are involved,
0a09732f 755shows double-width characters as "&gt;" and "&lt;" when split
f2eff274
BS
756across two rows, moves the cursor more predictably (at
757the cost of sometimes putting it on the second "half"
758of a character), avoids creating lines that consist of
759only blanks when using autoindent, makes ^Home and ^End
760go to the start and end of the file (on terminals that
761support those keystrokes), places the cursor better when
762linting, lets the linter ask only once whether to open
763an included file, and adds bindings for ^Up and ^Down
764in the file browser. Don't sit on your hands.
765
766
767
26bddce3
BS
7682017 March 31
769
770GNU nano 2.8.0 "Axat" makes it easier to move around in
771softwrapped lines: the Up and Down keys now step from
772visual row to visual row instead of jumping between
773logical lines, and the Home and End keys now move to
774the start and end of a row, and only when already
775there, then to the start and end of the logical line.
776Furthermore, the screen can now scroll per row instead
777of always per logical line. On an entirely different
778front: nano now makes use of gnulib, to make it build
779on more platforms. In short: there were many internal
780changes, not many user-visible ones (apart form the
781new softwrap navigation). The conversion to gnulib
782was done by Mike Frysinger, the softwrap overhaul by
783David Ramsey.
784
785
786
9aefbfdf
BS
7872017 February 23
788
789GNU nano 2.7.5 "Nijntje" can properly search and replace
790the \B and \b regex anchors, correctly repaints things
791when multiline regexes with identical start and end are
792involved, fixes a crash with zero-length regex matches,
793does replacements at the edges of a marked region right,
794no longer hides double-width characters at the head of
795softwrapped rows, displays at most three warnings at
796startup, and documents the ability to read a file from
797standard input. Come tickle my ears.
798
799
800
5715368c
BS
8012017 January 10
802
803GNU nano 2.7.4 "Red dress" undoes deletions in an orderly
804manner again (bug was introduced in previous version),
805sets the preferred x position for vertical movements
806more consistently, avoids some scrolling problems in
807softwrap mode, installs the Info manual also when your
808system lacks 'makeinfo', and corrects the behavior of
690585d0 809the beginning-of-word anchor (\&lt;) in regex searches.
5715368c
BS
810
811
812
26028e19
BS
8132016 December 28
814
815GNU nano 2.7.3 "Ontbijtkoek" wipes away a handful of bugs:
816your editor is now able to handle filenames that contain
817newlines, avoids a brief flash of color when switching
818between buffers that are governed by different syntaxes,
819makes the Shift+Ctrl+Arrow keys select text again on a
820Linux console, is more resistant against malformations
821in the positionlog file, and does not crash when ^C is
822typed on systems where it produces the code KEY_CANCEL.
823Oh, and it no longer mistakenly warns about editing an
824unlocked file just after saving a new one. That's it.
825Tastes great with thick butter.
826
827
828
071abd3f
BS
8292016 December 12
830
831GNU nano 2.7.2 "Shemesh! Shemesh!" brings another feature:
832the ability to complete with one keystroke (^] by default)
833a fragment of a word to a full word existing elsewhere in
834the current buffer. Besides, this release fixes two bugs
835related to using line numbers in softwrap mode, allows to
836use the PageUp and PageDown keys together with Shift on
837VTE-based terminals, stops the help lines from flickering
838during interactive replacing, makes a 'set fill' override
839an earlier 'set nowrap', properly restores the selected
840region after an external spell check, and improves a few
841other tidbits. If you should find any more bugs, please
842run 'man nano | grep bugs' and report them there.
843
844
845
8e909873
BS
8462016 October 29
847
848GNU nano 2.7.1 "Leuven" adds an often-asked-for feature: the
849ability to display line numbers beside the text. This can
850be activated with -l or --linenumbers on the command line,
851or with 'set linenumbers' in your nanorc, or toggled with
852M-#. The coloring of these numbers can be chosen via the
853option 'set numbercolor'. This release furthermore fixes
854some bugs with scrolling in softwrap mode, is more strict
855in the parsing of key rebindings, and marks a new buffer
856as modified when the output of a command (^R ^X) has been
857read into it. Come and check it out!
858
859
860
4bb9ab8c
BS
8612016 September 1
862
863GNU nano 2.7.0 "Suni" adds a new feature: allowing text to be
864selected by holding Shift together with the cursor keys.
865Besides that, nano now works also when run in very tiny
866terminals (down to one line, one column), and improves
867the handling of the prompt in cramped spaces. Not much,
868but it's time to get it out there.
869
870With this release we return to GNU. For just a little while
871we dreamt we were tigers. But we are back in the herd,
872back to a healthy diet of fresh green free grass.
873
874
875
92bdea0d
BS
8762016 August 10
877
878nano 2.6.3 "Marika" makes the Ctrl+Arrow keys work also on
879a Linux virtual console, takes as verbatim only the very
880first keystroke after M-V, removes any lock files that it
881holds when dying, doesn't abort when a word contains digits
882(when using the default speller), fixes a small sorting bug
883in the file browser, makes searching case-insensitively in
884a UTF-8 locale a little faster, and doesn't enter invalid
0fe6854f 885bytes when holding down both Alt keys. Sant&eacute;!
92bdea0d
BS
886
887
888
2ea62bdc
BS
8892016 July 28
890
891nano 2.6.2 "Le vent nous portera" adds two new features: the
892keystrokes Ctrl+Up and Ctrl+Down for jumping between blocks
893of text, and the option 'wordchars' for specifying which
894characters (beside alphanumeric ones) should be considered
895word-forming. Further, it provides feedback during Unicode
896input (M-V followed by a six-digit hexadecimal number which
897must start with 0 or 10), avoids a crash when resizing the
898window during Verbatim input, doesn't drop a keystroke after
899having been suspended, and replaces the beginning-of-line
900anchor (^) just once per line. There are also several tiny
901improvements in screen rendering and key handling.
902Come get your hair tousled!
903
904
905
9d17e2b8
BS
9062016 June 27
907
908nano 2.6.1 "Stampede" is chiefly a translation update, but also
909adds one little feature (the ability to use negative numbers
910with Go To Line: -1 meaning the first line from the bottom),
911includes syntax highlighting for Rust, and fixes three tiny
912bugs (but in such far corners of the editor that they aren't
913even worth mentioning).
914
915
916
50070c05
BS
9172016 June 17
918
919nano 2.6.0 "Rubicon" fixes more than fifty little bugs -- and
920some of them not so little. It improves moving about in
921the file browser, corrects failings of the internal spell
922checker, adds a new feature (comment/uncomment lines, with
923default binding M-3), makes some error messages clearer,
924shows more of a file when positionlog is used and the cursor
925is near the end, displays all error messages at startup if
926there are multiple ones, does not misinterpret keystrokes
927when typing very fast, is less eager to trim the filename
928on narrow terminals, speeds up case-insensitive searches,
929and allows to abort re-searches. Among bunches of other
930things. It is worth the trouble to upgrade.
931
932And, with this release, we take leave of the herd...
933Bye! And thanks for all the grass!
934
935</pre>
1b1bdcd3
MF
936</td>
937</tr>
938</table>
50070c05 939
563ba55f 940<?php include "bottom.php"; ?>