Subject: CVS commit: src/lib/libedit
To: None <source-changes@netbsd.org>
From: Matt Thomas <matt@netbsd.org>
List: source-changes
Date: 06/04/2003 20:14:06
Module Name: src
Committed By: matt
Date: Wed Jun 4 20:14:06 UTC 2003
Modified Files:
src/lib/libedit: vi.c
Log Message:
Only return CC_EOF if ^D (VEOF) was the only thing on the line. Otherwise
beep and don't do anything else. This mimics the behavor of ^D outside in
normal terminal mode. (^D in vi scrolls forwards and as such isn't
appropriate to emulation)
To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 src/lib/libedit/vi.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.