Commit graph

61 commits

Author SHA1 Message Date
Hannu Nyman
9137583d3d nano: Add a plus variant with more features
Nano is by default built as "tiny" with most features disabled.
That is suitable for basic tasks in routers with small flash.

Add a new nano-plus variant that enables selected additional
features in the build config:
 * multiple files (multibuffer)
 * Unicode/utf8
 * justify
 * .nanorc support
 * help
 * also some key bindings get enabled as "tiny" configure option
   is removed.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 85cb71d8d8)
2022-02-01 23:41:59 +02:00
Hannu Nyman
e818e3ed37 nano: update to version 6.0
Update nano editor to version 6.0

Version 6.0 enable toggling the display of the line numbers with
the shortcut key M-N (Alt-n). Also the cmdline option "-l" works.
Remove earlier patch regarding that.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 0571f5400d)
2021-12-16 20:26:45 +02:00
Hannu Nyman
309c5d62ae nano: enable showing line numbers with M-N (Alt-n)
Backport new upstream patch to enable toggling the display of
the line numbers with the shortcut key M-N (Alt-n).

Also the cmdline option "-l" works.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 9023845d50)
2021-11-10 20:33:15 +02:00
Hannu Nyman
50fdbd3a7c nano: enable line numbers (from cmdline)
Enable showing line numbers, which makes it easier to find
the correct place in long files. Due to the "tiny" build,
the functionality is only available from cmdline with "-l"
option.
For example:  nano -l /etc/banner

Key shortcut M-n is disabled due to "tiny".
See https://savannah.gnu.org/bugs/?61441 for explanation.

Also
* remove without-slang config option, deprecated in Dec 2020
* adopt AUTORELEASE

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit ae7f62d637)
2021-11-09 23:12:39 +02:00
Hannu Nyman
e155b3d293 nano: update to 5.9
Update nano editor to version 5.9.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 38143e6f8b)
2021-10-08 18:25:44 +03:00
Hannu Nyman
a1dc635481 nano: update to 5.8
Update nano editor version to 5.8.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 6f2ac237a1)
2021-06-17 19:04:40 +03:00
Hannu Nyman
10a45baa6f nano: update version to 5.7
Upgrade nano editor to version 5.7.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 765e986857)
2021-05-01 23:51:46 +03:00
Hannu Nyman
801d4cae62 nano: update to 5.6.1
Update nano editor to version 5.6.1

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 0f4138db0b)
2021-03-06 10:28:39 +02:00
Hannu Nyman
7263be101b nano: update to version 5.6
Upgrade nano to version 5.6

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit dffdfe4ac8)
2021-02-25 16:59:31 +02:00
Hannu Nyman
be75f77973 nano: update to 5.5
Update nano editor to version 5.5

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2021-01-15 15:54:41 +02:00
Hannu Nyman
b7d8a0a028 nano: update to 5.4
Update nano editor to version 5.4.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-12-04 16:30:37 +02:00
Hannu Nyman
4690a1f1c9 nano: update to 5.3
Update nano editor to version 5.3.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-10-07 18:22:50 +03:00
Hannu Nyman
3ce7595136 nano: update to 5.2
Update nano editor to version 5.2.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-08-25 23:03:55 +03:00
Hannu Nyman
02f9ec4adc nano: update to 5.1
Update nano to version 5.1.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-08-12 22:53:37 +03:00
Hannu Nyman
409633f0dd nano: update to 5.0
Update nano editor to version 5.0.
http://git.savannah.gnu.org/cgit/nano.git/tree/NEWS

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-07-30 18:34:26 +03:00
Hannu Nyman
38be46a7ae nano: update to 4.9.3
Update nano version to 4.9.3
Minor bugfix release.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-05-24 20:41:28 +03:00
Hannu Nyman
f11833d46c nano: update to 4.9.2
Update nano editor to version 4.9.2

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-04-07 18:05:11 +03:00
Hannu Nyman
f5c47a2606 nano: update to 4.9.1
Update nano editor to version 4.9.1

 2020.03.31 - GNU nano 4.9.1 "Sapperdeflap"
 Two bugs introduced in version 4.9 are fixed: the cursor
 getting misplaced when undoing line cuts, and filtering
 of the whole buffer to a new buffer not working.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-04-05 19:20:19 +03:00
Hannu Nyman
09fd4445b3 nano: update to 4.9
Update nano editor to version 4.9

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-03-26 21:36:36 +02:00
Hannu Nyman
7bc96280d3 nano: update to 4.8
Update nano editor to version 4.8

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-02-08 11:24:35 +02:00
Hannu Nyman
c62f8962ba nano: update to 4.7
Update nano to version 4.7

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-12-29 15:18:27 +02:00
Hannu Nyman
421dae85a3 nano: update to 4.6
Update nano editor to version 4.6

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-12-01 14:18:08 +02:00
Hannu Nyman
bfd66f2d23 nano: update to 4.5
Update nano editor to version 4.5.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-10-07 18:17:03 +03:00
Jan Pavlinec
299e5b0a9b
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Sven Eckelmann
bbb1ea7345 treewide: Change .*GPL.*+ licenses to SPDX compatible identifier
The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL
licenses. But a lot of packages did use a different, non-SPDX style with a
"+" at the end instead of "-or-later".

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-09-10 07:45:15 +02:00
Hannu Nyman
d9347059a8 nano: update to 4.4
Update nano editor to 4.4

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-08-25 20:38:01 +03:00
Hannu Nyman
2bdd3856fd nano: update to 4.3
Update nano to 4.3

Release notes at https://nano-editor.org/news.php

2019.06.18 - GNU nano 4.3
* The ability to read from and write to a FIFO has been regained.
* Startup time is reduced by fully parsing a syntax only when needed.
* Asking for help (^G) when using --operatingdir does not crash.
* The reading of a huge or slow file can be stopped with ^C.
* Cut, zap, and copy operations are undone separately when intermixed.
* M-D reports the correct number of lines (zero for an empty buffer).

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-06-20 14:49:17 +03:00
Hannu Nyman
aee8628696 nano: update to 4.2
* update nano to 4.2

Release notes at https://nano-editor.org/news.php

2019.04.24 - GNU nano 4.2
* The integrated spell checker does not crash when 'spell' is missing.
* Option --breaklonglines works also when --ignorercfiles is used.
* Automatic hard-wrapping is more persistent in pushing words to the
  same overflow line.

Tested with ipq806x/R7800 and mvebu/WRT3200ACM

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-04-24 16:22:11 +03:00
Hannu Nyman
5c212b1a13 nano: update to 4.1
* update nano to 4.1
* implement Makefile style changes proposed in #8483

Release notes at https://nano-editor.org/news.php

2019.04.15 - GNU nano 4.1
* By default, a newline character is again automatically added at the
  end of a buffer, to produce valid POSIX text files by default, but
  also to get back the easy adding of text at the bottom.
* The now unneeded option --finalnewline (-f) has been removed.
* Syntax files are read in alphabetical order when globbing, so that
  the precedence of syntaxes becomes predictable.
* In the C syntax, preprocessor directives are highlighted differently.
* M-S now toggles soft wrapping, and M-N toggles line numbers.
* The jumpy-scrolling toggle has been removed.
* The legacy keystrokes ^W^Y and ^W^V are recognized again.
* Executing an external command is disallowed when in view mode.
* Problems with resizing during external or speller commands were fixed.

Tested with ipq806x R7800

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-04-16 18:19:00 +03:00
Hannu Nyman
f1d51dbf76 nano: update to 4.0
Update nano editor to version 4.0.

Release notes at
http://git.savannah.gnu.org/cgit/nano.git/plain/NEWS?h=v4.0

 2019.03.24 - GNU nano 4.0 "Thy Rope of Sands"
 * An overlong line is no longer automatically hard-wrapped.
 * Smooth scrolling (one line at a time) has become the default.
 * A newline character is no longer automatically added at end of buffer.
 * The line below the title bar is by default part of the editing space.
 * Option --breaklonglines (-b) turns automatic hard-wrapping back on.
 * Option --jumpyscrolling (-j) gives the chunky, half-screen scrolling.
 * Option --finalnewline (-f) brings back the automatic newline at EOF.
 * Option --emptyline (-e) leaves the line below the title bar unused.
 * <Alt+Up> and <Alt+Down> now do a linewise scroll instead of a findnext.
 * Any number of justifications can be undone (like all other operations).
 * When marked text is justified, it becomes a single, separate paragraph.
 * Option --guidestripe=<number> draws a vertical bar at the given column.
 * Option --fill=<number> no longer turns on automatic hard-wrapping.
 * When a line continues offscreen, it now ends with a highlighted ">".
 * The halfs of a split two-column character are shown as "[" and "]".
 * A line now scrolls horizontally one column earlier.
 * The bindable functions 'cutwordleft' and 'cutwordright' were renamed
   to 'chopwordleft' and 'chopwordright' as they don't use the cutbuffer.
 * The paragraph-jumping functions were moved from Search to Go-to-Line.
 * Option --rebinddelete is able to compensate for more misbindings.
 * Options --morespace and --smooth are obsolete and thus ignored.
 * The --disable-wrapping-as-root configure option was removed.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-03-24 19:14:03 +02:00
Hannu Nyman
ea656e25a2 nano: update to 3.2
Update nano to version 3.2

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-12 22:46:51 +02:00
Hannu Nyman
af86b17064 nano: update to 3.1
* Update nano editor to 3.1
* Apply a post-release upstream patch to fix compilation

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-09-23 18:42:29 +03:00
Jonathan Bennett
0ceaa4e32c Nano: Update to 3.0
Signed-off-by: Jonathan Bennett <jbennett@incomsystems.biz>
2018-09-09 16:50:43 -05:00
Hannu Nyman
33f1f6e940 nano: update to 2.9.8
Update nano to version 2.9.8

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-06-04 18:09:44 +03:00
Hannu Nyman
d9e9b59159 nano: update to 2.9.7
nano 2.9.7 was released on 2018 May 15.

Release notes:

GNU nano 2.9.7 "Hvide Sande" adds the option '--afterends'
for making Ctrl+Right (the nextword function) stop at word
ends instead of beginnings, accepts multibyte letters for
the Yes/No/All answers, does emergency saves of changed
buffers in the unlikely event that nano crashes, adds the
until-now missing bindable function 'linenumbers', and
renames the toggles 'constupdate' to 'constantshow' and
'cuttoend' to 'cutfromcursor', for consistency with the
corresponding options -- adjust your nanorc files soon.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-05-16 18:45:28 +03:00
Hannu Nyman
6a8a087927 nano: update to 2.9.6
Nano 2.9.6 release notes:

GNU nano 2.9.6 "Gomance" fixes a crash in word completion,
makes --enable-altrcname work again, improves the fluidity
of scrolling when using the touchpad, tweaks the syntaxes
for shell scripts and PO files, makes a replacing session
go always forward by default, no longer inserts a newline
after an external spell check of a selected region, always
accepts the English Y and N (and A) at a yes-no prompt in
any locale, and solves a few hypothetical bugs.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-04-29 21:34:36 +03:00
Hannu Nyman
fd3d3638d0 nano: update to 2.9.5
Update nano to 2.9.5

Release Notes:
 2018 March 29
 GNU nano 2.9.5 "Kiša pada" changes the way the Scroll-Up
 and Scroll-Down commands work (M-- and M-+): instead of
 keeping the cursor in the same screen position they now
 keep the cursor in the same text position (if possible).
 This version further adds a new color name, "normal",
 which gives the default foreground or background color,
 which is useful when you want to undo some overzealous
 painting by earlier syntax regexes.  Bug fixes include:
 a segfault when trying to insert a file in restricted
 mode, the reading in of a new file being "undoable", a
 slight miswrapping of help texts when --linenumbers was
 used, and the shell syntax coloring the word "tar" in
 file names.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-04-02 18:18:40 +03:00
Hannu Nyman
19819bb80d nano: update to 2.9.4
Update nano to 2.9.4

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-03-11 18:37:29 +02:00
Hannu Nyman
a0d14534d1 nano: update to 2.9.3
update nano to 2.9.3

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-02-03 15:56:31 +02:00
Hannu Nyman
9579692d3f nano: update to 2.9.2
Update nano to 2.9.2

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-01-05 19:24:39 +02:00
Hannu Nyman
d573181fcb nano: update to 2.9.1
* update nano to 2.9.1
   (and drop the unnecessary upstream patch)
* add myself as the second maintainer

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-12-28 14:36:31 +02:00
Hannu Nyman
a3438efc4a nano: update to 2.8.7
Update nano editor to 2.8.7

Apply post-release fix from upstream to enable compilation
with --enable-tiny

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-09-15 20:19:02 +03:00
Jonathan Bennett
4d5c8594f9 Nano: Update to 2.8.6
Signed-off-by: Jonathan Bennett <JBennett@incomsystems.biz>
2017-07-29 22:44:12 -05:00
Hannu Nyman
c6242809a0 nano: update to 2.8.4
* update nano to 2.8.4
* remove deprecated glibtest configure argument
* fix whitespace in configure arguments

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-05-24 10:03:36 +03:00
Daniel Albers
249ae1f164 nano: Update to version 2.7.5
Description: fixes a crash with zero-length regex matches and further updates


Signed-off-by: Daniel Albers <Daniel.Albers@public-files.de>
2017-02-25 17:34:12 +01:00
Jonathan Bennett
f167378f3d nano: Update to version 2.7.4
Signed-off-by: Jonathan Bennett <JBennett@incomsystems.biz>
2017-01-15 14:45:38 -06:00
Hannu Nyman
f849713743 nano: update to 2.7.2
Update nano to version 2.7.2

Compile and run tested on ipq806x.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-12-22 12:38:17 +02:00
p-wassi
85e4442361 utils/nano: update to 2.7.1
Update nano to upstream release 2.7.1

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
2016-11-22 09:18:09 +01:00
Daniel Engberg
02ad44838c nano: Switch to xz tarball
Switch to xz tarball, less bandwidth used as it's about half in size (1M vs 1.9M).

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2016-10-11 17:34:28 +02:00
Jonathan Bennett
7a4e3208f9 Nano: Update to 2.7.0
Signed-off-by: Jonathan Bennett <jbennett@incomsystems.biz>
2016-09-04 21:51:56 -05:00