Subject: CVS commit: pkgsrc/editors/nano
To: None <pkgsrc-changes@NetBSD.org>
From: OBATA Akio <obache@netbsd.org>
List: pkgsrc-changes
Date: 10/14/2007 13:30:46
Module Name:	pkgsrc
Committed By:	obache
Date:		Sun Oct 14 13:30:46 UTC 2007

Modified Files:
	pkgsrc/editors/nano: Makefile distinfo

Log Message:
Update nano to 1.2.5, latest 1.2 release.
Based on patch provided by Jason White in PR 32859.

GNU nano 1.2.5 - 2005.05.15
- files.c:
  open_prevfile(), open_nextfile()
        - Translate the "New Buffer" string when displaying "Switched
          to" messages on the statusbar. (DLR)
  input_tab()
        - Fix snprintf() call so that we don't segfault when trying to
          complete a filename containing %'s. (Ulf H<E4>rnhammar)
- global.c:
  shortcut_init()
        - Move the "Cancel" shortcut up so that it's just after the "Get
          Help" shortcut, for consistency with the other shortcut lists.
          (DLR)
- nano.c:
  do_int_spell_fix()
        - Move the REVERSE_SEARCH flag toggling into the NANO_SMALL
          #ifdef, since the tiny version of nano doesn't support reverse
          searching.  Also, turn the USE_REGEXP flag off during spell
          checking in order to avoid a potential segfault. (DLR)
  quote_length()
        - Fix problem where quoted justify wouldn't work if HAVE_REGEX_H
          wasn't set. (David Benbennick)
  main()
        - Interpret the escape sequences Esc O F and Esc O H as End and
          Home, respectively, as nanogetstr() does.  Also, don't
          interpret Esc O z as a "NumLock glitch" value. (DLR)
        - Call setlocale() outside the ENABLE_NLS #ifdef, since UTF-8
          support won't work properly if the locale isn't set, whether
          NLS is enabled or not. (Junichi Uekawa)
- winio.c:
  blocking_wgetch()
        - New function used in place of blocking wgetch() calls.  If we
          get ERR when using blocking input, it means that the input
          source that we were using is gone.  In this case, call
          handle_hupterm(), so that nano dies gracefully instead of
          going into an infinite loop. (DLR, found by Jim Uhl)
  get_page_start()
        - For consistency, tweak so that scrolling always occurs when we
          try to move onto the "$" at the end of the line, as opposed to
          (a) when we move onto the "$" at the end of the line on the
          first page and (b) when we move onto the character just before
          the "$" on subsequent pages. (DLR)


To generate a diff of this commit:
cvs rdiff -r1.27 -r1.28 pkgsrc/editors/nano/Makefile
cvs rdiff -r1.10 -r1.11 pkgsrc/editors/nano/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.