diff options
author | 2001-03-16 04:50:36 +0000 | |
---|---|---|
committer | 2001-03-16 04:50:36 +0000 | |
commit | 2f080eb9c8fa98cbcb992629f948dc52a4bc8b33 (patch) | |
tree | e8280f82d7bf5f85f9c2acc88787f15520c2673f | |
parent | Add magic for vax-elf and vax-olf. At this time roughly as likely to be (diff) | |
download | wireguard-openbsd-2f080eb9c8fa98cbcb992629f948dc52a4bc8b33.tar.xz wireguard-openbsd-2f080eb9c8fa98cbcb992629f948dc52a4bc8b33.zip |
Until such time as bloat prohibits, squeeze vi onto vax ramdisk.
How decadent.
-rw-r--r-- | distrib/vax/ramdisk/dot.profile | 48 | ||||
-rw-r--r-- | distrib/vax/ramdisk/list | 4 |
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 |