Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/vi/vi



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.




Home | Main Index | Thread Index | Old Index