NetBSD/external/bsd/nvi
mlelstv 6798bdb86d When resizing nvi in xterm, a scroll region is set with the old size
which garbles the display.

The scroll region is set for a terminfo scroll operation and then
reset to the current window size. While xterm lets you clear a
scroll region, there is no way to do this in terminfo except by
resetting the terminal which has a visual side effect.

Xterm actually clears the scroll region as part of the resize but
that happens before a program gets the SIGWINCH signal. When nvi sees
the SIGWINCH signal, it exits the vi mode using a scroll operation to
tidy up the display before it reenters vi mode with the new window size.

This patch does two things:
- make nvi also invoke a previous SIGWINCH handler (not sufficient,
  but that's how curses wants it).
- skip the tidy up in case of a restart (avoids the scroll region)
2017-09-01 07:21:01 +00:00
..
catalog don't install an empty file 2013-11-22 16:11:08 +00:00
dist When resizing nvi in xterm, a scroll region is set with the old size 2017-09-01 07:21:01 +00:00
docs PR/50360: Thomas Klausner: MKREPRO fix 2015-11-25 01:08:34 +00:00
usr.bin PR/50484: Rin Okuyama: fix the script command of vi(1) 2015-11-28 13:20:02 +00:00
addrcsid add netbsd rcsids (does not handle the regex files well) 2014-01-26 21:46:49 +00:00
Makefile Add build glue and docs 2013-11-22 16:00:45 +00:00
Makefile.inc Bump for } command fix in v_paragraph.c r1.5. 2017-01-21 22:27:43 +00:00
nvi2netbsd Add build glue and docs 2013-11-22 16:00:45 +00:00