Module Name: src
Committed By: christos
Date: Thu Jul 28 00:45:14 UTC 2011
Modified Files:
src/lib/libedit: vi.c
Log Message:
term -> terminal
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/lib/libedit/vi.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libedit/vi.c
diff -u src/lib/libedit/vi.c:1.34 src/lib/libedit/vi.c:1.35
--- src/lib/libedit/vi.c:1.34 Tue Feb 22 00:45:08 2011
+++ src/lib/libedit/vi.c Wed Jul 27 20:45:14 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: vi.c,v 1.34 2011/02/22 05:45:08 joerg Exp $ */
+/* $NetBSD: vi.c,v 1.35 2011/07/28 00:45:14 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -42,7 +42,7 @@
#if 0
static char sccsid[] = "@(#)vi.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: vi.c,v 1.34 2011/02/22 05:45:08 joerg Exp $");
+__RCSID("$NetBSD: vi.c,v 1.35 2011/07/28 00:45:14 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -608,14 +608,14 @@
if (el->el_line.cursor == el->el_line.lastchar) {
if (el->el_line.cursor == el->el_line.buffer) {
- term_writec(el, c); /* then do a EOF */
+ terminal_writec(el, c); /* then do a EOF */
return (CC_EOF);
} else {
/*
* Here we could list completions, but it is an
* error right now
*/
- term_beep(el);
+ terminal_beep(el);
return (CC_ERROR);
}
} else {
@@ -627,7 +627,7 @@
/*
* Just complain for now.
*/
- term_beep(el);
+ terminal_beep(el);
return (CC_ERROR);
#endif
}