Subject: CVS commit: [netbsd-3] src/usr.bin/vi/vi
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 09/09/2005 14:25:47
Module Name:	src
Committed By:	tron
Date:		Fri Sep  9 14:25:47 UTC 2005

Modified Files:
	src/usr.bin/vi/vi [netbsd-3]: v_txt.c

Log Message:
Pull up following revision(s) (requested by aymeric in ticket #753):
	usr.bin/vi/vi/v_txt.c: revision 1.14
Finally handle ^C the correct way. This indeed requires to separate the case
of text-recording input (usually text in insert mode) from the other cases
(e.g. ex command input). If recording, morph to escape key so that the input
is correctly finished for a potential replay; if not, simply bail out and
notify that something wrong occurs. Callers will cope.
The previous fix could make ^C sometimes produce a file completion
or a command edition, depending on the settings of the user.
I think this is the correct fix for since closed PR bin/11544 by pooka@. ;-)


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.12.2.1 src/usr.bin/vi/vi/v_txt.c

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