summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordownsj <downsj@openbsd.org>1996-09-23 05:04:37 +0000
committerdownsj <downsj@openbsd.org>1996-09-23 05:04:37 +0000
commitbc4afca700ce63879805d3cbf324e8bb5518b636 (patch)
tree26ee1e70a6005b073996075f498ba7b5aa4542c9
parentdisable udp echo/chargen by default; avoid DOS attacks (diff)
downloadwireguard-openbsd-bc4afca700ce63879805d3cbf324e8bb5518b636.tar.xz
wireguard-openbsd-bc4afca700ce63879805d3cbf324e8bb5518b636.zip
virc is sourced by vim when invoked as vi.
-rw-r--r--etc/Makefile4
-rw-r--r--etc/virc7
2 files changed, 9 insertions, 2 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 582392a7965..17487452d42 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.26 1996/09/17 07:18:15 deraadt Exp $
+# $OpenBSD: Makefile,v 1.27 1996/09/23 05:04:37 downsj Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= US/Pacific
@@ -17,7 +17,7 @@ BIN1= aliases bootptab changelist ccd.conf csh.cshrc csh.login csh.logout \
daily dm.conf ftpusers ftpchroot gettytab group hosts hosts.equiv \
hosts.lpd ifaliases inetd.conf ksh.kshrc man.conf monthly motd \
myname netstart newsyslog.conf phones printcap protocols rc \
- rc.local remote rpc security services shells syslog.conf weekly \
+ rc.local remote rpc security services shells syslog.conf virc weekly \
etc.${MACHINE}/disktab
# -rw-rw-r--
diff --git a/etc/virc b/etc/virc
new file mode 100644
index 00000000000..5142fdba423
--- /dev/null
+++ b/etc/virc
@@ -0,0 +1,7 @@
+" $OpenBSD: virc,v 1.1 1996/09/23 05:04:38 downsj Exp $
+" Compatible mode for vim.
+set cpoptions=$ esckeys formatoptions=vt history=0 iskeyword=@,48-57,_
+set nomodeline nomore noshowcmd noshowmode notagrelative notextauto
+set nowritebackup
+set undolevels=0 updatecount=0 whichwrap="" wildchar=
+:version 4.0