summaryrefslogtreecommitdiffstats
path: root/contrib/nvi/vi/vs_refresh.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC r257999 (peter):gjb2013-11-161-2/+3
| | | | | | | | Merge nvi-2.1.1 -> 2.1.2 Approved by: re (???) Sponsored by: The FreeBSD Foundation
* Update nvi-1.79 to 2.1.1-4334a8297fpeter2013-08-111-41/+37
| | | | | | | | | | | | | | | | | | | | | | | | This is the gsoc-2011 project to clean up and backport multibyte support from other nvi forks in a form we can use. USE_WIDECHAR is on unless building for the rescue crunchgen. This should allow editing in the native locale encoding. USE_ICONV depends on make.conf having 'WITH_ICONV=YES' for now. This adds the ability to do things like edit a KOI8-R file while having $LANG set to (say) en_US.UTF-8. iconv is used to transcode the characters for display. 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/1 Repo at: https://github.com/lichray/nvi2 Obtained from: Zhihao Yuan <lichray@gmail.com>
* Fix an underflow resulting from the assumption !O_ISSET(sp, O_LEFTRIGHT)dd2001-07-191-1/+5
| | | | | | | | | | | | (ironically, the assumption is in a code block which is conditional on its converse). This isn't strictly the correct fix; it's more of a workaround to prevent an infinite loop. The correct fix (see ports/editors/nvi-devel/files/patch-vi-relative r1.1) would take a file off the vendor branch, but since the result for this version of nvi is identical, this route was elected. PR: 28687 Approved by: -developers
* Fixed printf format errors.bde1998-08-021-2/+2
|
* Import of nvi-1.79, minus a few bits that we dont need (eg: postscriptpeter1996-11-011-0/+885
files, curses, db, regex etc that we already have). The other glue will follow shortly. Obtained from: Keith Bostic <bostic@bostic.com>
OpenPOWER on IntegriCloud