mirror of
git://git.sv.gnu.org/nano.git
synced 2024-12-27 20:59:45 +03:00
929770191e
The mblen() and mbtowc() functions will happily return 4 or 5 or 6 for byte sequences that start with 0xF4 0x90 or higher. But those sequences encode for U+110000 or higher, which are not valid Unicode code points. The libc of FreeBSD and OpenBSD and Alpine correctly return -1 for such sequences. Make nano behave correctly also when linked against glibc, so that invalid sequences are always presented as a series of invalid bytes and never as a single invalid code. This fixes https://savannah.gnu.org/bugs/?60262. Bug existed since before version 2.0.0. |
||
---|---|---|
doc | ||
m4 | ||
po | ||
src | ||
syntax | ||
.gitignore | ||
AUTHORS | ||
autogen.sh | ||
ChangeLog | ||
ChangeLog.1999-2006 | ||
ChangeLog.2007-2015 | ||
configure.ac | ||
COPYING | ||
COPYING.DOC | ||
IMPROVEMENTS | ||
Makefile.am | ||
nano-regress | ||
NEWS | ||
README | ||
README.GIT | ||
roll-a-release.sh | ||
THANKS | ||
TODO |
GNU nano -- a simple editor, inspired by Pico Overview The nano project was started because of a few "problems" with the wonderfully easy-to-use and friendly Pico text editor. First and foremost was its license: the Pine suite does not use the GPL, and (before using the Apache License) it had unclear restrictions on redistribution. Because of this, Pine and Pico were not included in many GNU/Linux distributions. Furthermore, some features (like go-to-line-number or search-and-replace) were unavailable for a long time or require a command-line flag. Yuck. Nano aimed to solve these problems by: 1) being truly free software by using the GPL, 2) emulating the functionality of Pico as closely as is reasonable, and 3) including extra functionality by default. Nowadays, nano wants to be a generally useful editor with sensible defaults (linewise scrolling, no automatic line breaking). The nano editor is an official GNU package. For more information on GNU and the Free Software Foundation, please see https://www.gnu.org/. How to compile and install nano Download the latest nano source tarball, and then: tar -xvf nano-x.y.tar.gz cd nano-x.y ./configure make make install You will need the header files of ncurses installed for ./configure to succeed -- get them from libncurses-dev (Debian) or ncurses-devel (Fedora) or a similarly named package. Use --prefix with ./configure to override the default installation directory of /usr/local. After installation you may want to copy the doc/sample.nanorc file to your home directory, rename it to ".nanorc", and then edit it according to your taste. Web Page https://nano-editor.org/ Mailing Lists There are three nano-related mailing-lists. + info-nano@gnu.org is a very low traffic list used to announce new nano versions or other important info about the project. + help-nano@gnu.org is for those seeking to get help without wanting to hear about the technical details of its development. + nano-devel@gnu.org is the list used by the people that make nano and a general development discussion list, with moderate traffic. To subscribe, send email to <name>-request@gnu.org with a subject of "subscribe", where <name> is the list you want to subscribe to. The archives of the development and help mailing lists are here: https://lists.gnu.org/archive/html/nano-devel/ https://lists.gnu.org/archive/html/help-nano/ Bug Reports If you find a bug, please file a detailed description of the problem on nano's bug tracker: https://savannah.gnu.org/bugs/?group=nano. Copyright Years When in any file of this package a copyright notice mentions a year range (such as 1999-2011), it is a shorthand for a list of all the years in that interval.