note the release of 4.3
[nano-editor.git] / news.php
CommitLineData
1b1bdcd3 1<?php include "top.php"; ?>
0e4d2f77 2<title>GNU nano: News</title>
1b1bdcd3
MF
3<table BORDER=0 CELLSPACING=0 COLS=1 WIDTH="100%" HEIGHT="70%" NOSAVE >
4<tr VALIGN=TOP NOSAVE>
5<td HEIGHT="70%" NOSAVE>
6<table BORDER=0 CELLSPACING=0 COLS=1 WIDTH="100%" NOSAVE >
7<tr NOSAVE>
8<td NOSAVE>
50070c05
BS
9
10<center><b>News</b></center>
11</td>
12</tr>
13
14<tr align="center">
15<td>
e2ca83a4 16<br><br>
99d848e6 17
84553b52
BS
182019 June 18 - <b>GNU nano 4.3</b> "Musa Kart"
19<br><br>
20<table><tr><td><ul>
21<li>The ability to read from and write to a FIFO has been regained.</li>
22<li>Startup time is reduced by fully parsing a syntax only when needed.</li>
23<li>Asking for help (<tt>^G</tt>) when using <tt>--operatingdir</tt> does not crash.</li>
24<li>The reading of a huge or slow file can be stopped with <tt>^C</tt>.</li>
25<li>Cut, zap, and copy operations are undone separately when intermixed.</li>
26<li><tt>M-D</tt> reports the correct number of lines (zero for an empty buffer).</li>
27</ul></td></tr></table>
28<br><br><br>
29
933f5300 302019 April 24 - <b>GNU nano 4.2</b> "Tax the rich, pay the teachers"
616ce731
BS
31<br><br>
32<table><tr><td><ul>
33<li>The integrated spell checker does not crash when 'spell' is missing.</li>
094a026a 34<li>Option <tt>--breaklonglines</tt> works also when <tt>--ignorercfiles</tt> is used.</li>
616ce731
BS
35<li>Automatic hard-wrapping is more persistent in pushing words to the<br>
36 same overflow line.</li>
37</ul></td></tr></table>
38<br><br><br>
39
933f5300 402019 April 15 - <b>GNU nano 4.1</b> "Qu&eacute; corchos ser&aacute; eso?"
f5d848f8
BS
41<br><br>
42<table><tr><td><ul>
43<li>By default, a newline character is again automatically added at the</li>
44 end of a buffer, to produce valid POSIX text files by default, but<br>
45 also to get back the easy adding of text at the bottom.<br>
094a026a 46<li>The now unneeded option <tt>--finalnewline</tt> (<tt>-f</tt>) has been removed.</li>
f5d848f8
BS
47<li>Syntax files are read in alphabetical order when globbing, so that<br>
48 the precedence of syntaxes becomes predictable.</li>
49<li>In the C syntax, preprocessor directives are highlighted differently.</li>
094a026a 50<li><tt>M-S</tt> now toggles soft wrapping, and <tt>M-N</tt> toggles line numbers.</li>
f5d848f8 51<li>The jumpy-scrolling toggle has been removed.</li>
094a026a 52<li>The legacy keystrokes <tt>^W^Y</tt> and <tt>^W^V</tt> are recognized again.</li>
f5d848f8
BS
53<li>Executing an external command is disallowed when in view mode.</li>
54<li>Problems with resizing during external or speller commands were fixed.</li>
55</ul></td></tr></table>
56<br><br><br>
57
933f5300 582019 March 24 - <b>GNU nano 4.0</b> "Thy Rope of Sands"
e2ca83a4
BS
59<br><br>
60<table><tr><td><ul>
61<li>An overlong line is no longer automatically hard-wrapped.</li>
62<li>Smooth scrolling (one line at a time) has become the default.</li>
63<li>A newline character is no longer automatically added at end of buffer.</li>
64<li>The line below the title bar is by default part of the editing space.</li>
094a026a
BS
65<li>Option <tt>--breaklonglines</tt> (<tt>-b</tt>) turns automatic hard-wrapping back on.</li>
66<li>Option <tt>--jumpyscrolling</tt> (<tt>-j</tt>) gives the chunky, half-screen scrolling.</li>
67<li>Option <tt>--finalnewline</tt> (<tt>-f</tt>) brings back the automatic newline at EOF.</li>
68<li>Option <tt>--emptyline</tt> (<tt>-e</tt>) leaves the line below the title bar unused.</li>
d94a27bb 69<li>&lt;Alt+Up&gt; and &lt;Alt+Down&gt; now do a linewise scroll instead of a findnext.</li>
e2ca83a4
BS
70<li>Any number of justifications can be undone (like all other operations).</li>
71<li>When marked text is justified, it becomes a single, separate paragraph.</li>
094a026a
BS
72<li>Option <tt>--guidestripe=&lt;number&gt;</tt> draws a vertical bar at the given column.</li>
73<li>Option <tt>--fill=&lt;number&gt;</tt> no longer turns on automatic hard-wrapping.</li>
47ae3021 74<li>When a line continues offscreen, it now ends with a highlighted "&gt;".</li>
616ce731 75<li>The halves of a split two-column character are shown as "[" and "]".</li>
e2ca83a4
BS
76<li>A line now scrolls horizontally one column earlier.</li>
77<li>The bindable functions 'cutwordleft' and 'cutwordright' were renamed<br>
78 to 'chopwordleft' and 'chopwordright' as they don't use the cutbuffer.</li>
79<li>The paragraph-jumping functions were moved from Search to Go-to-Line.</li>
094a026a
BS
80<li>Option <tt>--rebinddelete</tt> is able to compensate for more misbindings.</li>
81<li>Options <tt>--morespace</tt> and <tt>--smooth</tt> are obsolete and thus ignored.</li>
82<li>The <tt>--disable-wrapping-as-root</tt> configure option was removed.</li>
e2ca83a4 83</ul></td></tr></table>
99d848e6
BS
84<br>
85
50070c05 86<pre>
2ea62bdc 87
eb64fc57
BS
882018 November 11
89
90GNU nano 3.2 "Het kromme hout" changes the default binding
91for the linter to M-B so that the spell checker (^T) can
92always be used, and changes (when linting) the text in the
93title bar and the color of the status bar to make linting
94mode more obvious. It also adds a bindable 'zap' function
95for deleting a line or marked region without changing the
67c6d961 96cutbuffer, adds --zap to bind the &lt;Del&gt; and &lt;Backspace&gt;
eb64fc57 97keys to the zap function when something is marked, and
67c6d961 98hard-binds &lt;Alt+Del&gt; to 'zap'. Furthermore, it shows the
eb64fc57
BS
99cursor also in the help viewer (when --showcursor is used),
100renames the bindable functions 'prevhistory' to 'older' and
101'nexthistory' to 'newer' (update your nanorcs when needed),
102reads the nanorc files also in restricted mode to allow
103customization by the user (if this should not be allowed,
104use --ignorercfiles in addition to --restricted), allows
105in view mode to open also other files (if this should not
106be allowed, use --restricted in addition to --view), makes
107resizes respect a relative --fill again, no longer binds
108F13...F15 by default, properly re-highlights a misspelled
109word after invoking help in the internal spell checker,
110and does not skip Unicode characters in string binds.
111
112
113
4c396222
BS
1142018 September 18
115
116GNU nano 3.1 "Je faisais des bonds comme &ccedil;a!" fixes a
117misbinding of ^H on some terminals and some systems,
118does not leave stray stuff after the prompt upon exit
119when having suspended nano while using --constantshow,
120and does not allow to toggle to Replace in view mode.
121
122
123
3f0eb75c
BS
1242018 September 9
125
126GNU nano 3.0 "Water Flowing Underground" speeds up the
127reading of a file by seventy percent, roughly doubles the
128speed of handling ASCII text, changes the way words at line
0c351168
BS
129boundaries are deleted, makes &lt;Ctrl+Delete&gt; wipe the next
130word and &lt;Ctrl+Shift+Delete&gt; the preceding word, binds M-Q
3f0eb75c
BS
131to 'findprevious' by default (the Tabs-to-Spaces toggle is
132placed on M-O, and the More-Space toggle is fully removed),
133makes an external spell check undoable, shows the correct
134number of lines on the status bar when opening multiple
135files, removes the 'formatter' command, removes the
136'searchagain' bindable function (M-W is now bound to
137'findnext' by default), moves the No-Convert toggle to the
138Insert menu, removes the Backup and New-Buffer toggles from
139the main menu (they remain in the Write-Out and Insert
140menus, respectively), is more precise in what it accepts as
0c351168 141a rebindable key name, ignores any presses of &lt;Esc&gt; before
3f0eb75c
BS
142a valid command keystroke, recognizes some more escape
143sequences for modified editing-pad keys, does not hide
144rcfile error messages on a Linux console, renames the
145bindable functions 'copytext' to 'copy' and 'uncut' to
146'paste', and avoids a possible hang during a Full-Justify.
147
148
149
97702e40
BS
1502018 June 2
151
152GNU nano 2.9.8 "Espresso" brings the ability to filter the
153buffer (or the marked region) through an external command
154(^R^X and prefix the command with the pipe symbol, "|"), is
155better at detecting and maintaining paragraphs, is able to
156justify //-style comments, fixes a crash when the binding
157of a key to a string lacks a closing quote, gives feedback
158about the number of lines written also when prepending or
159appending, and fixes a couple of bugs with the linter.
160
161
162
72c6f649
BS
1632018 May 15
164
165GNU nano 2.9.7 "Hvide Sande" adds the option '--afterends'
166for making Ctrl+Right (the nextword function) stop at word
167ends instead of beginnings, accepts multibyte letters for
168the Yes/No/All answers, does emergency saves of changed
169buffers in the unlikely event that nano crashes, adds the
170until-now missing bindable function 'linenumbers', and
171renames the toggles 'constupdate' to 'constantshow' and
172'cuttoend' to 'cutfromcursor', for consistency with the
173corresponding options -- adjust your nanorc files soon.
174
175
176
5eef41d6
BS
1772018 April 27
178
179GNU nano 2.9.6 "Gomance" fixes a crash in word completion,
180makes --enable-altrcname work again, improves the fluidity
181of scrolling when using the touchpad, tweaks the syntaxes
182for shell scripts and PO files, makes a replacing session
183go always forward by default, no longer inserts a newline
184after an external spell check of a selected region, always
185accepts the English Y and N (and A) at a yes-no prompt in
186any locale, and solves a few hypothetical bugs.
187
188
189
a67e22bf
BS
1902018 March 29
191
192GNU nano 2.9.5 "Ki&scaron;a pada" changes the way the Scroll-Up
193and Scroll-Down commands work (M-- and M-+): instead of
194keeping the cursor in the same screen position they now
195keep the cursor in the same text position (if possible).
196This version further adds a new color name, "normal",
197which gives the default foreground or background color,
198which is useful when you want to undo some overzealous
199painting by earlier syntax regexes. Bug fixes include:
200a segfault when trying to insert a file in restricted
201mode, the reading in of a new file being "undoable", a
202slight miswrapping of help texts when --linenumbers was
203used, and the shell syntax coloring the word "tar" in
204file names.
205
206
207
c7a92f85
BS
2082018 March 8
209
210GNU nano 2.9.4 "Isabel" allows binding a key to a string
211(any piece of text and/or commands), permits customizing
212the color of error messages with 'set errorcolor', colors
213those error messages by default in bright white on red,
0c351168 214makes &lt;Enter&gt; at the bottom of the screen scroll just one
c7a92f85
BS
215row when --smooth is used, does not fail when redoing a
216file insertion, and cancels a Shift-selection when any
217cursor key is pressed without Shift even when the cursor
218cannot move. Further, it treats tabs fully the same as
219spaces when doing automatic hard-wrapping, allows syntax
220names to be unquoted, and removes two deprecated options
221and six deprecated bindable function names.
222
223
224
51331e62
BS
2252018 January 29
226
227GNU nano 2.9.3 "C&oacute;rdoba" fixes a segfault with trimblanks
228that could occur when a typed space caused the word after
229it to be pushed to the next line. It further makes macros
230work also when your keyboard still emits escape sequences,
231adds the options -M and --trimblanks for the command line,
232recognizes key combos with Shift on a few more terminals,
233no longer shows dots in certain prompt texts when visible
aa32601b 234whitespace is turned on, fixes two corner cases when doing
51331e62
BS
235replacements in a marked region, allows to open a named
236pipe again when using --noread, and accurately detects
237a needed color change when a line contains a start match
238but not a corresponding end match any more. Plus some
239other small fry.
240
241
242
1aac1698
BS
2432018 January 2
244
245GNU nano 2.9.2 "Pussy Riot" correctly displays the Modified
246state when undoing/redoing (also when the file was saved
247somewhere midway), improves the undoing of an automatic
248linefeed at EOF, fixes a build issue on the BSDs, shows
249the cursor again when compiled with --withslang, renames
250the option 'justifytrim' to 'trimblanks' because it will
251now snip trailing whitespace also while you are typing
252(and hard-wrapping is enabled), continues pushing words
253to the next line much longer (when hard-wrapping), makes
690585d0 254&lt;Tab&gt; and &lt;Shift+Tab&gt; indent and unindent a marked region,
1aac1698
BS
255allows unindenting when not all lines are indented, lets a
256region marked with Shift persist when indenting/unindenting
257or commenting/uncommenting it, and in those cases excludes
258the last line of the region when it is not visibly marked
259(which makes for a more intuitive behavior).
260
261
262
83218525
BS
2632017 November 27
264
265GNU nano 2.9.1 "Damyatta" fixes a bug where, when the mark
266is on, ^S would overwrite the file with just the marked
267region. This release further clears the "Modified" flag
268when all edits are undone, adds or updates some magic
269strings, and does not forget when the cursor was last
270at line 1, column 1.
271
272
273
a65d4e42
BS
2742017 November 18
275
276GNU nano 2.9.0 "Eta" introduces the ability to record and
277replay keystrokes (M-: to start and stop recording, M-;
278to play the macro back), makes ^Q and ^S do something
279useful by default (^Q starts a backward search, and ^S
280saves the current file), changes ^W to start always a
281forward search, shows the number of open buffers (when
282more than one) in the title bar, no longer asks to press
283Enter when there are errors in an rc file, retires the
284options '--quiet' and 'set quiet' and 'set backwards',
285makes indenting and unindenting undoable, will look in
286$XDG_CONFIG_HOME for a nanorc file and in $XDG_DATA_HOME
287for the history files, adds a history stack for executed
288commands (^R^X), does not overwrite the position-history
289file of another nano, and fixes a score of tiny bugs.
290
291
292
47a922e5
BS
2932017 August 27
294
295GNU nano 2.8.7 "Fragrance" fixes a lockup when tabs are
296wider than the screen, makes indenting + unindenting
297more predictable by retaining relative indentations,
298allows pasting (^U) at a prompt, allows triple quotes
299in Python to not be followed by a character, does not
300scroll three pages on a roll of the mouse wheel, binds
301Alt+Up and Alt+Down to findprevious and findnext, and
302fixes some hard-to-describe issues with softwrapping
303and boundary-crossing tabs. Enjoy.
304
305
306
e3e1bf2d
BS
3072017 July 21
308
2031a280 309GNU nano 2.8.6 "Kekul&eacute;" offers a new feature: the ability
e3e1bf2d
BS
310to do softwrapping between words -- at whitespace --
311instead of always at the edge of the screen. This can
312be activated with -a or --atblanks or 'set atblanks'
313together with the softwrap option. This release further
314fixes a handful of rare display glitches, fixes a build
315failure on AIX, harmonizes the quoting rules in the rc
316files, and renames the option 'cut' to 'cutfromcursor'
317(please update your nanorc files before 2020).
318
319
320
516a48e2
BS
3212017 June 25
322
323GNU nano 2.8.5 "Farouche" avoids a crash when waking from
324a suspension that was induced from the outside, allows
325negative line and column numbers on the command line,
326avoids some flickering when resizing the screen while
327in the file browser, opens files in the order they were
328mentioned on the command line, and does not pretend to
329have woken from suspension when receiving a SIGCONT.
330
331
332
f1fb28e2
BS
3332017 May 21
334
516a48e2
BS
335GNU nano 2.8.4 "Our Version of Events" includes the nanorc
336man page again.
f1fb28e2
BS
337
338
339
269921c4
BS
3402017 May 18
341
342GNU nano 2.8.3 "Hirsch" fixes a misplacement of the spotlight
343during interactive replacing, avoids build failures on AIX
344and Solaris, fixes a crash on Solaris, speeds up backwards
345searching, improves PHP syntax highlighting, and no longer
8f3b8915 346asks "save anyway?" when the user ^Q discards the buffer.
269921c4
BS
347
348
349
b6208c46
BS
3502017 May 4
351
352GNU nano 2.8.2 "Krats" adds another new feature: it makes
353the ^G help texts searchable with ^W. Apart from that,
354it fixes a crash when resizing the window in the middle
355of verbatim input, avoids an unlikely crash when used
356without UTF-8 support in some locales, avoids redrawing
357the screen twice when switching between buffers while
358line numbers are active, and works around a coloring
359bug on musl. Plus tweaks to the documentation; plus
360translation updates for fifteen languages.
361
362
363
f2eff274
BS
3642017 April 12
365
366GNU nano 2.8.1 "Ellert" fixes build failures on MacOS and
367on musl, fixes scrolling problems in softwrap mode when
368double-width characters on row boundaries are involved,
0a09732f 369shows double-width characters as "&gt;" and "&lt;" when split
f2eff274
BS
370across two rows, moves the cursor more predictably (at
371the cost of sometimes putting it on the second "half"
372of a character), avoids creating lines that consist of
373only blanks when using autoindent, makes ^Home and ^End
374go to the start and end of the file (on terminals that
375support those keystrokes), places the cursor better when
376linting, lets the linter ask only once whether to open
377an included file, and adds bindings for ^Up and ^Down
378in the file browser. Don't sit on your hands.
379
380
381
26bddce3
BS
3822017 March 31
383
384GNU nano 2.8.0 "Axat" makes it easier to move around in
385softwrapped lines: the Up and Down keys now step from
386visual row to visual row instead of jumping between
387logical lines, and the Home and End keys now move to
388the start and end of a row, and only when already
389there, then to the start and end of the logical line.
390Furthermore, the screen can now scroll per row instead
391of always per logical line. On an entirely different
392front: nano now makes use of gnulib, to make it build
393on more platforms. In short: there were many internal
394changes, not many user-visible ones (apart form the
395new softwrap navigation). The conversion to gnulib
396was done by Mike Frysinger, the softwrap overhaul by
397David Ramsey.
398
399
400
9aefbfdf
BS
4012017 February 23
402
403GNU nano 2.7.5 "Nijntje" can properly search and replace
404the \B and \b regex anchors, correctly repaints things
405when multiline regexes with identical start and end are
406involved, fixes a crash with zero-length regex matches,
407does replacements at the edges of a marked region right,
408no longer hides double-width characters at the head of
409softwrapped rows, displays at most three warnings at
410startup, and documents the ability to read a file from
411standard input. Come tickle my ears.
412
413
414
5715368c
BS
4152017 January 10
416
417GNU nano 2.7.4 "Red dress" undoes deletions in an orderly
418manner again (bug was introduced in previous version),
419sets the preferred x position for vertical movements
420more consistently, avoids some scrolling problems in
421softwrap mode, installs the Info manual also when your
422system lacks 'makeinfo', and corrects the behavior of
690585d0 423the beginning-of-word anchor (\&lt;) in regex searches.
5715368c
BS
424
425
426
26028e19
BS
4272016 December 28
428
429GNU nano 2.7.3 "Ontbijtkoek" wipes away a handful of bugs:
430your editor is now able to handle filenames that contain
431newlines, avoids a brief flash of color when switching
432between buffers that are governed by different syntaxes,
433makes the Shift+Ctrl+Arrow keys select text again on a
434Linux console, is more resistant against malformations
435in the positionlog file, and does not crash when ^C is
436typed on systems where it produces the code KEY_CANCEL.
437Oh, and it no longer mistakenly warns about editing an
438unlocked file just after saving a new one. That's it.
439Tastes great with thick butter.
440
441
442
071abd3f
BS
4432016 December 12
444
445GNU nano 2.7.2 "Shemesh! Shemesh!" brings another feature:
446the ability to complete with one keystroke (^] by default)
447a fragment of a word to a full word existing elsewhere in
448the current buffer. Besides, this release fixes two bugs
449related to using line numbers in softwrap mode, allows to
450use the PageUp and PageDown keys together with Shift on
451VTE-based terminals, stops the help lines from flickering
452during interactive replacing, makes a 'set fill' override
453an earlier 'set nowrap', properly restores the selected
454region after an external spell check, and improves a few
455other tidbits. If you should find any more bugs, please
456run 'man nano | grep bugs' and report them there.
457
458
459
8e909873
BS
4602016 October 29
461
462GNU nano 2.7.1 "Leuven" adds an often-asked-for feature: the
463ability to display line numbers beside the text. This can
464be activated with -l or --linenumbers on the command line,
465or with 'set linenumbers' in your nanorc, or toggled with
466M-#. The coloring of these numbers can be chosen via the
467option 'set numbercolor'. This release furthermore fixes
468some bugs with scrolling in softwrap mode, is more strict
469in the parsing of key rebindings, and marks a new buffer
470as modified when the output of a command (^R ^X) has been
471read into it. Come and check it out!
472
473
474
4bb9ab8c
BS
4752016 September 1
476
477GNU nano 2.7.0 "Suni" adds a new feature: allowing text to be
478selected by holding Shift together with the cursor keys.
479Besides that, nano now works also when run in very tiny
480terminals (down to one line, one column), and improves
481the handling of the prompt in cramped spaces. Not much,
482but it's time to get it out there.
483
484With this release we return to GNU. For just a little while
485we dreamt we were tigers. But we are back in the herd,
486back to a healthy diet of fresh green free grass.
487
488
489
92bdea0d
BS
4902016 August 10
491
492nano 2.6.3 "Marika" makes the Ctrl+Arrow keys work also on
493a Linux virtual console, takes as verbatim only the very
494first keystroke after M-V, removes any lock files that it
495holds when dying, doesn't abort when a word contains digits
496(when using the default speller), fixes a small sorting bug
497in the file browser, makes searching case-insensitively in
498a UTF-8 locale a little faster, and doesn't enter invalid
499bytes when holding down both Alt keys. Santé!
500
501
502
2ea62bdc
BS
5032016 July 28
504
505nano 2.6.2 "Le vent nous portera" adds two new features: the
506keystrokes Ctrl+Up and Ctrl+Down for jumping between blocks
507of text, and the option 'wordchars' for specifying which
508characters (beside alphanumeric ones) should be considered
509word-forming. Further, it provides feedback during Unicode
510input (M-V followed by a six-digit hexadecimal number which
511must start with 0 or 10), avoids a crash when resizing the
512window during Verbatim input, doesn't drop a keystroke after
513having been suspended, and replaces the beginning-of-line
514anchor (^) just once per line. There are also several tiny
515improvements in screen rendering and key handling.
516Come get your hair tousled!
517
518
519
9d17e2b8
BS
5202016 June 27
521
522nano 2.6.1 "Stampede" is chiefly a translation update, but also
523adds one little feature (the ability to use negative numbers
524with Go To Line: -1 meaning the first line from the bottom),
525includes syntax highlighting for Rust, and fixes three tiny
526bugs (but in such far corners of the editor that they aren't
527even worth mentioning).
528
529
530
50070c05
BS
5312016 June 17
532
533nano 2.6.0 "Rubicon" fixes more than fifty little bugs -- and
534some of them not so little. It improves moving about in
535the file browser, corrects failings of the internal spell
536checker, adds a new feature (comment/uncomment lines, with
537default binding M-3), makes some error messages clearer,
538shows more of a file when positionlog is used and the cursor
539is near the end, displays all error messages at startup if
540there are multiple ones, does not misinterpret keystrokes
541when typing very fast, is less eager to trim the filename
542on narrow terminals, speeds up case-insensitive searches,
543and allows to abort re-searches. Among bunches of other
544things. It is worth the trouble to upgrade.
545
546And, with this release, we take leave of the herd...
547Bye! And thanks for all the grass!
548
549</pre>
1b1bdcd3
MF
550</td>
551</tr>
552</table>
50070c05
BS
553
554<!--Please see the <A HREF="https://savannah.gnu.org/news/?group=nano">Savannah project's</A>
555news section to obtain the most recent nano news and information.
556-->
557
1b1bdcd3
MF
558</td>
559</tr>
560</table>
561<?php include "bottom.php"; ?>
562