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