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