summaryrefslogtreecommitdiff
path: root/usr.bin/vi/common
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-11-22 17:12:41 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-11-22 17:12:41 +0000
commite4db543800ac6ccddbe1dbbd9aae852b02b093ad (patch)
treee502589b6f5ba8010178f3a0b445a86d80ca9171 /usr.bin/vi/common
parent4e6f9c42e8a03fb314e04cb784a91bcdbd5df037 (diff)
Change the flash option to be off by default. Now that xterm has the flash
capability in terminfo, vi was using it instead of beeping, but it is too slow for some machines. ok deraadt
Diffstat (limited to 'usr.bin/vi/common')
-rw-r--r--usr.bin/vi/common/options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/vi/common/options.c b/usr.bin/vi/common/options.c
index 538b6bfcd09..6edfd20c0c3 100644
--- a/usr.bin/vi/common/options.c
+++ b/usr.bin/vi/common/options.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: options.c,v 1.14 2009/10/27 23:59:47 deraadt Exp $ */
+/* $OpenBSD: options.c,v 1.15 2009/11/22 17:12:40 nicm Exp $ */
/*-
* Copyright (c) 1991, 1993, 1994
@@ -77,7 +77,7 @@ OPTLIST const optlist[] = {
/* O_FILEC 4.4BSD */
{"filec", NULL, OPT_STR, 0},
/* O_FLASH HPUX */
- {"flash", NULL, OPT_1BOOL, 0},
+ {"flash", NULL, OPT_0BOOL, 0},
/* O_HARDTABS 4BSD */
{"hardtabs", NULL, OPT_NUM, 0},
/* O_ICLOWER 4.4BSD */