Go to file
Benno Schulenberg 7ba356a62c searching: don't keep track of current_y, but calculate it at the end
Stop keeping track of the vertical screen position when searching for
something.  If nothing is found, current_y doesn't change, and all the
incrementing/decrementing was a waste of time.  If something is found
and it is onscreen, it is easy to calculate the new current_y.  And if
something is found and it is offscreen, then current_y is irrelevant,
because we will be either centering the found occurrence (searching)
or putting it on the top or bottom line (bracket matching).

(The above does not take softwrapping into account, but neither did
the old code, so this doesn't introduce any new bugs.)

(Also, when the search wraps, and the viewport is away from head or
tail of the file, and the found occurrence is within the viewport,
then the incremented/decremented current_y would be way wrong, but
this didn't have any adverse effects as far as I could tell.  It
seems that current_y is irrelevant in most cases.)
2016-04-08 18:31:15 +02:00
doc all: eradicate SVN's $Id$ tags 2016-04-05 14:59:12 +02:00
m4 Compiling with warnings enabled by default, to help prevent 2014-03-24 13:31:37 +00:00
po i18n: gather three more translatable strings into the POT file 2016-04-05 15:00:43 +02:00
src searching: don't keep track of current_y, but calculate it at the end 2016-04-08 18:31:15 +02:00
.gitignore build-sys: ignore .patch, .orig and .swp files 2016-04-05 17:14:30 +02:00
AUTHORS Removing two SVN Id tags and a duplication. 2016-02-10 16:40:08 +00:00
autogen.sh Mentioning SVN instead of CVS, in the docs and in a comment. 2016-03-13 19:09:28 +00:00
ChangeLog Renaming a variable, and adjusting whitespace after the previous change. 2016-03-31 11:27:16 +00:00
ChangeLog.pre-2.1 all: eradicate SVN's $Id$ tags 2016-04-05 14:59:12 +02:00
configure.ac build-sys: identify a build from git not as one from svn 2016-04-05 15:11:09 +02:00
COPYING convert to GPLv3 or later 2007-08-11 05:17:36 +00:00
COPYING.DOC convert documentation to GPLv3/GFDLv1.2 2007-08-23 04:34:35 +00:00
Makefile.am all: eradicate SVN's $Id$ tags 2016-04-05 14:59:12 +02:00
nano-regress 2014-05-29 Chris Allegretta <chrisa@asty.org> 2014-05-29 18:30:23 +00:00
nano.spec.in Adding the post-install and pre-uninstall rules for the Info document, 2015-06-04 18:05:27 +00:00
NEWS Tweaking the Changelog a bit, and the NEWS file (double spacing version jumps). 2016-03-12 09:37:48 +00:00
README Saying that the 2.5 branch is a "rolling" release, that lock files are done, 2016-02-14 12:17:17 +00:00
README.GIT README.GIT: update a few more points to match current tree 2016-04-04 18:46:21 -04:00
THANKS Removing two SVN Id tags and a duplication. 2016-02-10 16:40:08 +00:00
TODO all: eradicate SVN's $Id$ tags 2016-04-05 14:59:12 +02:00
UPGRADE 2009-12-01 David Lawrence Ramsey <pooka109@gmail.com> 2009-12-02 03:36:22 +00:00

	GNU nano - an enhanced clone of the Pico text editor.

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 or a GPL-friendly license, and has unclear restrictions on
     redistribution.  Because of this, Pine and Pico are not included
     with many GNU/Linux distributions.  Also, other features (like
     go-to-line-number or search-and-replace) were unavailable until
     recently or require a command-line flag.  Yuck.

     nano aims to solve these problems by emulating the functionality of
     Pico as closely as possible while addressing the problems above and
     providing other extra functionality.

     The nano editor is an official GNU package.  For more information on
     GNU and the Free Software Foundation, please see http://www.gnu.org/.

How to compile and install nano

     Download the nano source code, then:

     tar zxvf nano-x.y.z.tar.gz
     cd nano-x.y.z
     ./configure
     make
     make install

     It's that simple.  Use --prefix with configure to override the
     default installation directory of /usr/local.

     If you haven't configured with the "--disable-nanorc" option, after
     installation you may want to copy the doc/nanorc.sample to your
     home directory, rename it to ".nanorc", and then edit it according
     to your taste.

Web Page

	http://www.nano-editor.org/

Mailing Lists and Bug Reports

	Savannah hosts all the nano-related mailing-lists.

	+ info-nano@gnu.org is a very low traffic list used to announce
	  new nano versions or other important information 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.

	For general bug reports, please file a description of the problem
	on the Savannah bug tracker page for nano
	(https://savannah.gnu.org/bugs/?group=nano).  The issue may have
	already been reported, and we are better able to track the state
	of the issue and whom to notify when fixed, the more the bug
	tracker is used.

Current Status

	GNU nano has reached its sixth milestone, 2.5.x.  This is now a
	"rolling" release: bug fixing and development go hand in hand.