Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.Approved by: re (implicit)Sponsored by: The FreeBSD Foundation
Update nvi-1.79 to 2.1.1-4334a8297fThis is the gsoc-2011 project to clean up and backport multibyte supportfrom other nvi forks in a form we can use.USE_WIDECHAR is on unless building for the rescue crunchgen. This shouldallow editing in the native locale encoding.USE_ICONV depends on make.conf having 'WITH_ICONV=YES' for now. Thisadds the ability to do things like edit a KOI8-R file while having $LANGset to (say) en_US.UTF-8. iconv is used to transcode the characters fordisplay.Other points:* It uses gencat and catopen/etc instead of homegrown msg catalog stuff.* A lot of stuff has been trimmed out, eg: the perl and tcl bindings which we could never use in base anyway.* It uses ncursesw when in widechar mode. This could be interesting.GSoC info: http://www.google-melange.com/gsoc/proposal/review/google/gsoc2011/zy/1Repo at: https://github.com/lichray/nvi2Obtained from: Zhihao Yuan <lichray@gmail.com>
This commit was generated by cvs2svn to compensate for changes in r19304,which included commits to RCS files with non-trunk default branches.
Import of nvi-1.79, minus a few bits that we dont need (eg: postscriptfiles, curses, db, regex etc that we already have). The other glue willfollow shortly.Obtained from: Keith Bostic <bostic@bostic.com>