summaryrefslogtreecommitdiff
path: root/distrib/vax/ramdisk
diff options
context:
space:
mode:
authorHugh Graham <hugh@cvs.openbsd.org>2001-03-16 04:50:37 +0000
committerHugh Graham <hugh@cvs.openbsd.org>2001-03-16 04:50:37 +0000
commita9eff3f3b20d7be7e151d950c7effdec8d91a110 (patch)
tree4f9ed3f8135236cf0f545450b3bca218a22c05e8 /distrib/vax/ramdisk
parent36e4d01971ceaf26b739f07d330167f582c1a4f9 (diff)
Until such time as bloat prohibits, squeeze vi onto vax ramdisk.
How decadent.
Diffstat (limited to 'distrib/vax/ramdisk')
-rw-r--r--distrib/vax/ramdisk/dot.profile48
-rw-r--r--distrib/vax/ramdisk/list4
2 files changed, 7 insertions, 45 deletions
diff --git a/distrib/vax/ramdisk/dot.profile b/distrib/vax/ramdisk/dot.profile
index 85a1d3be598..bb4f8bacd15 100644
--- a/distrib/vax/ramdisk/dot.profile
+++ b/distrib/vax/ramdisk/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.1 2001/02/24 10:55:02 hugh Exp $
+# $OpenBSD: dot.profile,v 1.2 2001/03/16 04:50:36 hugh Exp $
# $NetBSD: dot.profile,v 1.1 1995/12/18 22:54:43 pk Exp $
#
# Copyright (c) 1995 Jason R. Thorpe
@@ -45,14 +45,8 @@ alias dmesg="cat /kern/msgbuf"
# from the various (semi) MI install and upgrade scripts
# terminals believed to be in termcap, default TERM
-TERMS="sun vt* pcvt* pc3 dumb"
-TERM=sun
-
-# editors believed to be in $EDITBIN, smart and dumb defaults
-EDITORS="vi ed"
-EDITOR=vi
-DUMB=ed
-EDITBIN=/bin
+TERMS="sun vt* pc3 dumb"
+TERM=vt100
if [ "X${DONEPROFILE}" = "X" ]; then
DONEPROFILE=YES
@@ -76,41 +70,7 @@ if [ "X${DONEPROFILE}" = "X" ]; then
done
export TERM
- # get the editor preference
- if [ "X$TERM" = "Xdumb" -o "X$TERM" = "Xunknown" ]; then
- echo -n "$TERM can't handle $EDITOR"
- EDITOR="$DUMB"
- echo ", using $EDITOR as text editor!"
- elif [ "X$EDITOR" = "X$EDITORS" ]; then
- echo "Only one editor available, you get to use $EDITOR!"
- else
- _forceloop=""
- while [ "X$_forceloop" = X"" ]; do
- echo "Supported editors are: $EDITORS"
- echo -n "text editor? [$EDITOR] "
- read _choice
- if [ "X$_choice" = "X" ]; then
- _choice="$EDITOR"
- _forceloop="$_choice"
- else
- for _editor in $EDITORS; do
- if [ "X$_choice" = "X$_editor" ]; then
- _forceloop="$_choice"
- break
- fi
- done
- fi
- if [ "X$_forceloop" != "X" -a ! -x $EDITBIN/$_choice ]
- then
- _forceloop=""
- fi
- if [ "X$_forceloop" = "X" ]; then
- echo "Sorry, $_choice isn't available."
- _forceloop=""
- fi
- done
- EDITOR="$_choice"
- fi
+ EDITOR=""
export EDITOR
# Installing or upgrading?
diff --git a/distrib/vax/ramdisk/list b/distrib/vax/ramdisk/list
index 2a955f76991..5e8f58a0ee8 100644
--- a/distrib/vax/ramdisk/list
+++ b/distrib/vax/ramdisk/list
@@ -1,8 +1,10 @@
-# $OpenBSD: list,v 1.1 2001/02/24 10:55:02 hugh Exp $
+# $OpenBSD: list,v 1.2 2001/03/16 04:50:36 hugh Exp $
# $NetBSD: list,v 1.2.4.2 1996/06/26 19:25:00 pk Exp $
# extras
LINK instbin sbin/disklabel
+#LINK instbin usr/bin/vi
+SYMLINK ../../instbin usr/bin/build usr/bin/vi
SYMLINK ../../instbin usr/bin/basename
SYMLINK ../../instbin usr/bin/cksum usr/bin/sum