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.
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
- 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
- nano has its own self-contained checks for gettext
- Run signal_init() after doupdate() so ^Y wont suddenly
start suspending after returning from ^Z suspend in Hurd.
- do_spell() : Dont prompt for replace if we don't change
the word in question (Rocco Corsi, fixes bug #67).
- Added better Hurd support for function keys (Alt-V,U,9,@,F).
- signal_init() : Unconditionally disable VDSUSP if it exists,
stops ^Y suspending nano on the Hurd.
- Updated PO files
GNU `nano' is a small and friendly text editor. Besides basic text
editing, `nano' offers many extra features like an interactive search
and replace, goto line number, auto-indentation, feature toggles,
internationalization support, and filename tab completion.
The original goal for `nano' was a complete bug-for-bug compatible
emulation of Pico, but consistency is now a slightly higher priority.
Nano does not have the restrictive license problems of Pico.