Commit graph

26 commits

Author SHA1 Message Date
wiedi
d7e425910b nano: update to 5.1
2020.08.12 - GNU nano 5.1 "Cantabria"
• M-Bsp (Alt+Backspace) deletes a word backwards, like in Bash.
• M-[ has become bindable.  (Be careful, though: as it is the
  starting combination of many escape sequences, avoid gluing
  it together with other keystrokes, like in a macro.)
• With --indicator and --softwrap, the first keystroke in an
  empty buffer does not crash.
• Invoking the formatter while text is marked does not crash.
• In UTF-8 locales, an anchor is shown as a diamond.

2020.07.29 - GNU nano 5.0 "Among the fields of barley"
• With --indicator (or -q or 'set indicator') nano will show a kind
  of scrollbar on the righthand side of the screen to indicate where
  in the buffer the viewport is located and how much it covers.
• With <Alt+Insert> any line can be "tagged" with an anchor, and
  <Alt+PageUp> and <Alt+PageDown> will jump to the nearest anchor.
  When using line numbers, an anchor is shown as "+" in the margin.
• The Execute Command prompt is now directly accessible from the
  main menu (with ^T, replacing the Spell Checker).  The Linter,
  Formatter, Spell Checker, Full Justification, Suspension, and
  Cut-Till-End functions are available in this menu too.
• On terminals that support at least 256 colors, nine new color
  names are available: pink, purple, mauve, lagoon, mint, lime,
  peach, orange, and latte.  These do not have lighter versions.
• For the color names red, green, blue, yellow, cyan, magenta,
  white, and black, the prefix 'light' gives a brighter color.
  Prefix 'bright' is deprecated, as it means both bold AND light.
• All color names can be preceded with "bold," and/or "italic,"
  (in that order) to get a bold and/or italic typeface.
• With --bookstyle (or -O or 'set bookstyle') nano considers any
  line that begins with whitespace as the start of a paragraph.
• Refreshing the screen with ^L now works in every menu.
• In the main menu, ^L also centers the line with the cursor.
• Toggling the help lines with M-X now works in all menus except
  in the help viewer and the linter.
• At a filename prompt, the first <Tab> lists the possibilities,
  and these are listed near the bottom instead of near the top.
• Bindable function 'curpos' has been renamed to 'location'.
• Long option --tempfile has been renamed to --saveonexit.
• Short option -S is now a synonym of --softwrap.
• The New Buffer toggle (M-F) has become non-persistent.  Options
  --multibuffer and 'set multibuffer' still make it default to on.
• Backup files will retain their group ownership (when possible).
• Data is synced to disk before "... lines written" is shown.
• The raw escape sequences for F13 to F16 are no longer recognized.
• Distro-specific syntaxes, and syntaxes of less common languages,
  have been moved down to subdirectory syntax/extra/.  The affected
  distros and others may wish to move wanted syntaxes one level up.
• Syntaxes for Markdown, Haskell, and Ada were added.
2020-08-23 23:09:01 +00:00
wiedi
e4d5627fff nano: update to 4.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.
2019-03-24 19:42:34 +00:00
wiedi
33c43e0edd nano: updated to 2.9.3
2018.01.29 - GNU nano 2.9.3 "Córdoba" fixes a segfault with trimblanks
             that could occur when a typed space caused the word after
             it to be pushed to the next line.  It further makes macros
             work also when your keyboard still emits escape sequences,
             adds the options -M and --trimblanks for the command line,
             recognizes key combos with Shift on a few more terminals,
             no longer shows dots in certain prompt texts when visible
             witespace is turned on, fixes two corner cases when doing
             replacements in a marked region, allows to open a named
             pipe again when using --noread, and accurately detects
             a needed color change when a line contains a start match
             but not a corresponding end match any more.  Plus some
             other small fry.
2018-01-30 01:21:33 +00:00
wiedi
1c21b29a61 Update nano to 2.8.2
2017.05.04 - GNU nano 2.8.2 "Krats" adds another new feature: it makes
		the ^G help texts searchable with ^W.  Apart from that,
		it fixes a crash when resizing the window in the middle
		of verbatim input, avoids an unlikely crash when used
		without UTF-8 support in some locales, avoids redrawing
		the screen twice when switching between buffers while
		line numbers are active, and works around a coloring
		bug on musl.  Plus tweaks to the documentation; plus
		translation updates for fifteen languages.
2017-05-09 15:29:15 +00:00
wiedi
bb50b5c488 Update editors/nano to 2.7.4
2017.01.10 - GNU nano 2.7.4 "Red dress" undoes deletions in an orderly
		manner again (bug was introduced in previous version),
		sets the preferred x position for vertical movements
		more consistently, avoids some scrolling problems in
		softwrap mode, installs the Info manual also when your
		system lacks 'makeinfo', and corrects the behavior of
		the beginning-of-word anchor (\<) in regex searches.

2016.12.28 - GNU nano 2.7.3 "Ontbijtkoek" wipes away a handful of bugs:
		your editor is now able to handle filenames that contain
		newlines, avoids a brief flash of color when switching
		between buffers that are governed by different syntaxes,
		makes the Shift+Ctrl+Arrow keys select text again on a
		Linux console, is more resistant against malformations
		in the positionlog file, and does not crash when ^C is
		typed on systems where it produces the code KEY_CANCEL.
		Oh, and it no longer mistakenly warns about editing an
		unlocked file just after saving a new one.  That's it.
		Tastes great with thick butter.
2017-01-22 02:04:15 +00:00
wiedi
2aef1a9ea6 Update editors/nano to 2.7.1
2016.10.29 - GNU nano 2.7.1 "Leuven" adds an often-asked-for feature: the
		ability to display line numbers beside the text.  This can
		be activated with -l or --linenumbers on the command line,
		or with 'set linenumbers' in your nanorc, or toggled with
		M-#.  The coloring of these numbers can be chosen via the
		option 'set numbercolor'.  This release furthermore fixes
		some bugs with scrolling in softwrap mode, is more strict
		in the parsing of key rebindings, and marks a new buffer
		as modified when the output of a command (^R ^X) has been
		read into it.  Come and check it out!

2016.09.01 - GNU nano 2.7.0 "Suni" adds a new feature: allowing text to be
		selected by holding Shift together with the cursor keys.
		Besides that, nano now works also when run in very tiny
		terminals (down to one line, one column), and improves
		the handling of the prompt in cramped spaces.  Not much,
		but it's time to get it out there.

2016.08.10 - nano 2.6.3 "Marika" makes the Ctrl+Arrow keys work also on
		a Linux virtual console, takes as verbatim only the very
		first keystroke after M-V, removes any lock files that it
		holds when dying, doesn't abort when a word contains digits
		(when using the default speller), fixes a small sorting bug
		in the file browser, makes searching case-insensitively in
		a UTF-8 locale a little faster, and doesn't enter invalid
		bytes when holding down both Alt keys.  Santé!

2016.07.28 - nano 2.6.2 "Le vent nous portera" adds two new features: the
		keystrokes Ctrl+Up and Ctrl+Down for jumping between blocks
		of text, and the option 'wordchars' for specifying which
		characters (beside alphanumeric ones) should be considered
		word-forming.  Further, it provides feedback during Unicode
		input (M-V followed by a six-digit hexadecimal number which
		must start with 0 or 10), avoids a crash when resizing the
		window during Verbatim input, doesn't drop a keystroke after
		having been suspended, and replaces the	beginning-of-line
		anchor (^) just once per line.  There are also several tiny
		improvements in screen rendering and key handling.  Come get
		your hair tousled!

2016.06.27 - nano 2.6.1 "Stampede" is chiefly a translation update, but also
		adds one little feature (the ability to use negative numbers
		with Go To Line: -1 meaning the first line from the bottom),
		includes syntax highlighting for Rust, and fixes three tiny
		bugs (but in such far corners of the editor that they aren't
		even worth mentioning).
2016-11-04 21:24:22 +00:00
wiedi
2c8cb2f840 Update nano to 2.5.2
2016.02.12 - GNU nano 2.5.2 is carrying too many dogs.  This release includes
		several fixes for various memory leaks, position history
		size growth, and a long standing issue with using
		nano under sudo creating root-owned files.  There are also
		the usual bevy of documentation and other miscellaneous
		fixes and touch ups.  Upgrade today while supplies last,
		operators are standing by!

2016.01.11 - GNU nano 2.5.1 "Salzburg" is released.  It includes fixes
		for a syntax-highlighting bug and a positionlog bug, it
		disables a time-eating multiline regex in the C syntax,
		and it adds an escape hatch to the WriteOut menu when
		--tempfile is used: the discardbuffer command, ^Q.  It
		also has translation updates for fifteen languages, and
		a small fix in the softwrap code.  So... you are heartily
		invited to upgrade.  Enjoy!
2016-02-21 15:36:33 +00:00
wiedi
520ae48b0e Update nano to 2.4.2
2015.07.05 - GNU nano 2.4.1 "Portorož" is released.  This release
		includes several fixes, including the ability to resize
		when in modes other than the main editing window,
		proper displaying of invalid UTF-8 bytes, new syntax
		definitions for Elisp, Guile, and PostgreSQL, and
		better display of shortcuts in the help menu and file
		browser.  Thanks for your patience and using nano!
2015-07-08 21:23:43 +00:00
wiedi
580525b459 Update nano to 2.4.1
2015.04.14 - GNU nano 2.4.1 "Glitch Gremlin" is released.  This release
		includes several fixes for issues with the file browser
		menu, linter and formatter functions, spell checker,
		undo/redo with some specific marked-cutting situations,
		and some small improvements to the color syntax
		highlighting definitions. There are also various
		documentation and code comment updates included, and
		finally, fixes for compilation on non-GNU/Linux systems
		and certain configure combinations.  Toasters!

2015.03.22 - GNU nano 2.4.0 "lizf" is released.  This is the first
		stable release in many years, and brings together many
		new features from the 2.3 series, including:
		a fully functional undo system (now enabled by default),
		vim-compatible file locking, linter support, formatter
		support, syntax highlighting flexibility, and many fixes
		for issues reported since 2.2.  Many sincere thanks
		to all of the bug reports, patches, well wishes and
		contributions from everyone who has continued to
		support us.  Thank you for using nano!


2015.02.27 - GNU nano 2.3.99pre3 "Ashley" is released.  This is likely
		to be the last release before the next major (2.4.0)
		release.  Please test it out and send us any feedback
		via the Savannah bug page for nano
		(https://savannah.gnu.org/bugs/?group=nano).  This
		release includes fixes for rebinding toggles via
		nanorc, several memory alignment fixes, and documentation
		and build updates.  As always thank you for using
		nano - Share and Enjoy!

2015.02.06 - GNU nano 2.3.99pre2 "Snowblind" is released.  This release
		contains only fixes, including: a long-standing problem
		with cutting in nano-tiny, several memory alignment
		improvements, and issues with leftover file locks.  Please
		keep reporting bugs so we can get a happy and healthy
		2.4.0 soon.  Thanks for using nano!

2015.01.06 - GNU nano 2.3.99pre1 "Junior" is released.  As the first
		2.4 release candidate there will be fewer new features
		but many bugfixes going forward.  This release contains
		new support for language reformatters like Go's gofmt
		command which takes the place of the spelling checker.
		Fixes in this release include many syntax highlighting
		fixes and improvements, and documentation formatting updates.
		As always please report bugs via the Savannah bug page for
		nano (https://savannah.gnu.org/bugs/?group=nano), so we can
		release a super awesome and bug-free 2.4.0 soon!

2014.07.17 - GNU nano 2.3.6 "Columbo" is released.  This release
		contains a fix for installing internationalization
		files.  Also included are scattered documentation
		(in particular man page) fixes, and a few touch ups
		to syntax highlighting definitions.  Oh, just one
		more thing, thanks for using nano!

2014.07.11 - GNU nano 2.3.5 "lucky day" is released.  This release
		contains many visible and under-the-hood fixes for
		components such as file locking, more fixes to the
		undo system, and you no longer have to explicitly ask
		nano to have undo/redo support as it now defaults to
		being enabled.  Other notable fixes include a better
		handling of --tempfile mode, and better handling of
		command line arguments when also attempting to specify
		+<line number>.  As always, please file any bugs you
		find at the Savannah page for nano, at
		https://savannah.gnu.org/bugs/index.php?42639 and
		thanks for using nano.

2014.06.02 - GNU nano 2.3.4 won't leave you high, won't leave you dry. This
		release contains only a small number of fixes, but in
		particular allows nano to compile on non-UTF8 curses
		implementations (i.e. libncursesw).  Other small fixes to
		the undo implementation and the default syntax config are
		also included. As always, Share and Enjoy!

2014.05.28 - GNU nano 2.3.3 is in its right place.  This release contains
		many many improvements to the core system, including
		substantial improvements to the undo/redo code, UTF-8
		handling, the configure script, and display of shortcuts
		on very wide terminals,  New features include the
		ability to write to named pipes (--noread), as well as
		linter support (see the nanorc man page for details).  Also
		included are much improved syntax highlighting code, and
		configurations for JSON, texinfo, Go, and a default syntax
		for catch all highlighting. Finally, nano now has the
		ability to set the color of the title bar, status bar, and
		shortcut keys (e.g. "^X") and their descriptions.  Again
		see the nanorc page for details.  There's much more, too
		much to include here, but please keep those reports and
		general feedback coming!  Thank you for helping us help
		you help us all.

2013.03.22 - GNU nano 2.3.2 "Annoy your coworkers for fun and profit" is
		released.  This release introduces vim-style file locking
		(though not backup/restore), useful when using nano
		in a multi-editor environment.  Feedback is welcome if
		you run into any issues with this new code.  Other new
		features include additional support for word boundary
		checking when cross compiling, fixes for trying to go to
		an invalid line number, and the usual documentation
		tweaks.

2011.05.10 - GNU nano 2.3.1 "I'm in space" is released.  This
		release includes some fixes for the new libmagic code, as
		well as a fix for improper character counts when using
		auto-indent.  Also included are new syntax highlighting
		definitions for RPM spec and lua files.  Thanks for
		using nano and keep circulating the tapes.

2011.02.26 - GNU nano 2.3.0 "Septic surprise" is released.  This first
		release in the 2.3 unstable series brings several new
		features.  First, libmagic support for syntax highlighting
		has been added on top of the existing file extension
		and header support already available.  Secondly, cursor
		position can be saved between editing sessions with
		the -P or --poslog command-line flag, or via "set poslog"
		in your .nanorc.  Also included are some fixes for
		compilation with g++, and better handling of issues
		writing the backup file, which should reduce the need
		for the 'set allow_insecure_backup" nanorc option.
		Don't stop, get it get it, don't stop, get it get it.
2015-06-05 01:32:38 +00:00
ryoon
bdc6f20b95 Update to 2.2.6
* Replace PKG_LEGACY_OPTS with PKG_OPTIONS_LEGACY_OPTS

Changelog:
2010.11.22 - GNU nano 2.2.6 "Pimp my BBS" wants you to go to
                www.desertbus.org and donate a few bucks for the great
                Child's Play Charity!  This is just a small release to
                update a bug where restricted mode was not particularly
                restricted since key bindings were introduced. It also
                signals the return of win32 builds which now feature
                nanorc support; please see the FAQ for details of how
                to enable it, this feature is a bit of a kludge for now.
                Remember that when all else fails, USE SPACE JUMP.

2010.08.05 - GNU nano 2.2.5 "Inactivity timeout" is now available.
                This release includes slightly less restrictive checkng
                when writing files in strange environments (e.g.
                when being used out of crontab).  For very strange situations
                (such as where you cannot change the permissions on the
                file you're writing, there is a new rc file option
                "allow_insecure_backup" to be even more permissive and
                allowing the write to proceed.  Also included are
                some syntax highlighting updated, and that is about it.
                Keep fighting the good fight children.
2012-08-27 10:37:50 +00:00
fhajny
b8ca32336b Install a sample config file by default.
Bump PKGREVISION.
2012-03-13 14:19:00 +00:00
tez
57b725a585 update to 2.2.4 to resolve CVE-2010-1160 & CVE-2010-1161 2010-04-18 17:21:34 +00:00
joerg
bacea7cad5 Remove @dirrm entries from PLISTs 2009-06-14 17:48:39 +00:00
obache
17cf716469 Update nano to 2.0.7.
Patches for NetBSD curses no longer need.

2007/12/20 - GNU nano 2.0.7 keeps its balance.  This release fixes
                several bugs, among others: a segfault and several
                cursor positioning problems when uncutting text or
                inserting files into the current buffer; a problem where
                the total number of characters would be miscalculated
                when replacing single-byte characters with multibyte
                ones; several minor issues with the statusbar prompt
                involving text display and mouse support; and several
                oddities when tab-completing in the middle of a line.
                It also improves autodetection of DOS and Mac format
                files, properly supports the mouse wheel when using a
                version of ncurses built with the --enable-ext-mouse
                option, fixes some problems under NetBSD curses, adds a
                lot of translation updates, and adds more minor
                documentation updates.  Slang curses emulation support
                has also been changed to turn off all the options that
                --enable-tiny does, as it's hopelessly broken otherwise.
                Finally, nano is now licensed under the GNU GPL version
                3 or later, and its documentation is now dual-licensed
                under the GNU GPL version 3 or later and the GNU FDL
                version 1.2 or later.  Have fun.
2007-12-22 15:12:22 +00:00
obache
eff58b25f0 Update nano to 2.0.6.
Based on patch provided by Jason White in PR 37133.
 * Added patch to work with NetBSD's curses.
 * Added ncuesesw option.
 * IRIX now require glib2, not glib.

The 2.0 release of GNU nano is a major leap forward in usability and
features, building on the 1.3 branch. The following improvemens and features
are available in version 2.0 include:

    * UTF-8 support.
    * Improved color syntax highlighting.
    * Copy text without cutting..
    * Verbatim input mode.
    * Repeat last seach w/o confirmation (Meta-W)
    * Spell check/replace selected text only
    * Indent marked text
    * Move to beginning/end of paragraph
    * Search within the file browser
    * Mixed file format auto-conversion
2007-10-24 15:28:38 +00:00
jlam
ea5f9f80b6 Strip ${PKGLOCALEDIR} from PLISTs of packages that already obey
PKGLOCALEDIR and which install their locale files directly under
${PREFIX}/${PKGLOCALEDIR} and sort the PLIST file entries.  From now
on, pkgsrc/mk/plist/plist-locale.awk will automatically handle
transforming the PLIST to refer to the correct locale directory.
2006-04-17 07:07:11 +00:00
jlam
21dc5e3f91 Move info file entries to PLIST. 2006-03-31 15:40:37 +00:00
xtraeme
05ea87ef5d Update editors/nano to 1.2.4.
Too many changes to list here, because our pkgsrc version was really old!
please take a look at the NEWS/ChangeLog file.

Another change:

Georg Schwarz reported in PR pkg/26671 that nano requires glib to build
in his system (IRIX 5.3) and I know what's happening there...
nano.h checks for the functions snprintf()/vsnprint(), if they aren't
available, the glib functions are used instead, so put the glib dependency
if MACHINE_PLATFORM = IRIX 5.3 and closing PR.

No idea about IRIX 6.x, sorry.
2004-10-21 03:39:04 +00:00
minskim
8d0a675c0b Remove .info from PLIST. 2004-02-12 14:36:50 +00:00
seb
07f0d088a4 Convert to USE_NEW_TEXINFO. 2003-06-30 02:04:50 +00:00
shell
919c3b895c Updated to nano-1.0.9
Changes :
free_charptrarray, striponedir()
    - Plug some memory leaks (Steven Kneizys).
read_file()
    - Abort if we read a file of 0 lines (num_lines == 0), fixes BUG #70.
    - Reverse tests to stop segfault on editing a new file of 0 lines
      (David Benbennick).
do_int_speller()
    - Fix zombie processes and spelling buffer issues (Rocco Corsi)
do_gotoline()
    - Set placewewant if we actually move to a different line.
nanogetstr()
    - Add NANO_HOME_KEY and NANO_END_KEY to the home and
      end key code (fixes BUG #69).
bottombars(), onekey()
    - Make bottom list dynamic with screen size (Guus Sliepen & Chris).
do_credits()
    - Add Thomas Dickey.
strcasestr()
    - Renamed to stristr since strcasestr has not been confirmed to
      be detected properly on various Linux systems.
Updated POs : no nb it fr uk gl
2002-12-26 15:14:41 +00:00
salo
5a68637b24 USE_PKGLOCALEDIR, delint. 2002-11-30 23:32:20 +00:00
seb
66111c6d15 Introduce new framework for handling info files generation and installation.
Summary of changes:
- removal of USE_GTEXINFO
- addition of mk/texinfo.mk
- inclusion of this file in package Makefiles requiring it
- `install-info' substituted by `${INSTALL_INFO}' in PLISTs
- tuning of mk/bsd.pkg.mk:
    removal of USE_GTEXINFO
    INSTALL_INFO added to PLIST_SUBST
    `${INSTALL_INFO}' replace `install-info' in target rules
    print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info'
- a couple of new patch files added for a handful of packages
- setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it
- devel/cssc marked requiring texinfo 4.0
- a couple of packages Makefiles were tuned with respect of INFO_FILES and
  makeinfo command usage

See -newly added by this commit- section 10.24 of Packages.txt for
further information.
2002-02-18 15:14:00 +00:00
martti
4d8c8066c6 Updated nano tp 1.0.8 (provede by Shell Hung in pkg/15278)
- Better partial word checking code
- Add Meta-A as alternate keyystroke for ^^ for people with
  non-US keyboards
- Replace hard coded ALT_G and ALT_H values in the replace
  and goto shortcuts with their macro counterparts NANO_ALT_*_KEY
- Call tcsetattr() to restore the old terminal settings, so
  tcsh can use ^C after suspend for example
- Move "right" increment to part where new line is created
- New Polish translation, and updates
2002-01-26 07:16:59 +00:00
martti
58d57b6c98 Updated to version 1.0.6 (PR#14620). Changes since 1.0.2:
- Change HOMEPAGE to nano-editor
- Regen PLIST
- More translation
- More bugfixes
2001-11-22 09:23:15 +00:00
zuntum
273821c4d3 Move pkg/ files into package's toplevel directory 2001-10-31 20:59:00 +00:00
Renamed from editors/nano/pkg/PLIST (Browse further)