Subject: CVS commit: src/usr.bin/vi/cl
To: None <source-changes@NetBSD.org>
From: Aymeric Vincent <aymeric@netbsd.org>
List: source-changes
Date: 06/13/2004 10:15:55
Module Name:	src
Committed By:	aymeric
Date:		Sun Jun 13 10:15:55 UTC 2004

Modified Files:
	src/usr.bin/vi/cl: cl_screen.c

Log Message:
. don't call newterm() more than once; use setterm() and resizeterm() instead
  on subsequent calls. Newterm() would fail after a few calls, leading to vi
  exiting with a "ex/vi: error initializing terminal" message
. if tcsetattr() fails due to EINTR, ignore it

Fixes PR #25849


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 src/usr.bin/vi/cl/cl_screen.c

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