From a9eff3f3b20d7be7e151d950c7effdec8d91a110 Mon Sep 17 00:00:00 2001 From: Hugh Graham Date: Fri, 16 Mar 2001 04:50:37 +0000 Subject: Until such time as bloat prohibits, squeeze vi onto vax ramdisk. How decadent. --- distrib/vax/ramdisk/dot.profile | 48 ++++------------------------------------- distrib/vax/ramdisk/list | 4 +++- 2 files changed, 7 insertions(+), 45 deletions(-) (limited to 'distrib/vax/ramdisk') 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 -- cgit v1.2.3