Subject: PR/11544 CVS commit: src/usr.bin/vi/vi
To: None <aymeric@netbsd.org, gnats-admin@netbsd.org,>
From: Aymeric Vincent <aymeric@netbsd.org>
List: netbsd-bugs
Date: 09/06/2005 21:31:01
The following reply was made to PR bin/11544; it has been noted by GNATS.

From: Aymeric Vincent <aymeric@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/11544 CVS commit: src/usr.bin/vi/vi
Date: Tue,  6 Sep 2005 21:30:36 +0000 (UTC)

 Module Name:	src
 Committed By:	aymeric
 Date:		Tue Sep  6 21:30:36 UTC 2005
 
 Modified Files:
 	src/usr.bin/vi/vi: v_txt.c
 
 Log Message:
 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.13 -r1.14 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.