summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-10-20 22:24:25 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-10-20 22:24:25 +0000
commit1a0e3627fa9197ee606e43baf674856c0e6c167f (patch)
tree0b43218edaa3c0ec06353c2e3dfa4c5ec293e844
parente227041f27f974aec1a691f057f2adda16559be1 (diff)
Enable history and emacs-stye command editing. A lot of this stuff
is not used but who knows what...
-rw-r--r--distrib/alpha/ramdisk/dot.profile8
-rw-r--r--distrib/amiga/miniroot/dot.profile8
-rw-r--r--distrib/amiga/ramdisk/dot.profile8
-rw-r--r--distrib/arc/floppies/inst/dot.profile11
-rw-r--r--distrib/arc/floppies/upgr/dot.profile11
-rw-r--r--distrib/arc/ramdisk/dot.profile11
-rw-r--r--distrib/arm32/floppies/inst/dot.profile11
-rw-r--r--distrib/arm32/floppies/upgr/dot.profile9
-rw-r--r--distrib/atari/inst/dot.profile12
-rw-r--r--distrib/atari/miniroot/dot.profile9
-rw-r--r--distrib/hp300/ramdisk/dot.profile17
-rw-r--r--distrib/i386/floppies/inst/dot.profile11
-rw-r--r--distrib/i386/floppies/ramdisk/dot.profile11
-rw-r--r--distrib/mac68k/inst/dot.profile12
-rw-r--r--distrib/mvme68k/ramdisk/dot.profile12
-rw-r--r--distrib/pc532/floppies/inst/dot.profile11
-rw-r--r--distrib/pc532/floppies/upgr/dot.profile11
-rw-r--r--distrib/powerpc/miniroot/dot.profile12
-rw-r--r--distrib/powerpc/ramdisk/dot.profile11
-rw-r--r--distrib/sparc/floppies/inst/dot.profile8
-rw-r--r--distrib/sparc/floppies/upgr/dot.profile8
-rw-r--r--distrib/sparc/miniroot/dot.profile8
-rw-r--r--distrib/sparc/ramdisk/dot.profile8
23 files changed, 136 insertions, 102 deletions
diff --git a/distrib/alpha/ramdisk/dot.profile b/distrib/alpha/ramdisk/dot.profile
index d3f64160e46..7b31ad30081 100644
--- a/distrib/alpha/ramdisk/dot.profile
+++ b/distrib/alpha/ramdisk/dot.profile
@@ -1,5 +1,5 @@
#
-# $OpenBSD: dot.profile,v 1.4 1997/07/31 17:10:13 millert Exp $
+# $OpenBSD: dot.profile,v 1.5 1997/10/20 22:23:59 millert Exp $
#
# Copyright (c) 1994 Christopher G. Demetriou
# All rights reserved.
@@ -30,11 +30,13 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
-export PATH
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export HISTFILE=/.sh_history
umask 022
+set -o emacs # emacs-style command line editing
+
# XXX
# the TERM/EDITOR stuff is really well enough parameterized to be moved
# into install.sub where it could use the routines there and be invoked
diff --git a/distrib/amiga/miniroot/dot.profile b/distrib/amiga/miniroot/dot.profile
index 848dec5f2e7..220e2270691 100644
--- a/distrib/amiga/miniroot/dot.profile
+++ b/distrib/amiga/miniroot/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.2 1997/05/13 16:02:44 niklas Exp $
+# $OpenBSD: dot.profile,v 1.3 1997/10/20 22:24:01 millert Exp $
# $NetBSD: dot.profile,v 1.1 1995/12/18 22:54:43 pk Exp $
#
# Copyright (c) 1995 Jason R. Thorpe
@@ -31,11 +31,13 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
-export PATH
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export HISTFILE=/.sh_history
umask 022
+set -o emacs # emacs-style command line editing
+
# XXX
# the TERM/EDITOR stuff is really well enough parameterized to be moved
# into install.sub where it could use the routines there and be invoked
diff --git a/distrib/amiga/ramdisk/dot.profile b/distrib/amiga/ramdisk/dot.profile
index 393585d0cc5..bd136661a04 100644
--- a/distrib/amiga/ramdisk/dot.profile
+++ b/distrib/amiga/ramdisk/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.1 1997/05/15 08:58:07 niklas Exp $
+# $OpenBSD: dot.profile,v 1.2 1997/10/20 22:24:02 millert Exp $
# $NetBSD: dot.profile,v 1.1 1995/12/18 22:54:43 pk Exp $
#
# Copyright (c) 1995 Jason R. Thorpe
@@ -31,11 +31,13 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
-export PATH
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export HISTFILE=/.sh_history
umask 022
+set -o emacs # emacs-style command line editing
+
# XXX
# the TERM/EDITOR stuff is really well enough parameterized to be moved
# into install.sub where it could use the routines there and be invoked
diff --git a/distrib/arc/floppies/inst/dot.profile b/distrib/arc/floppies/inst/dot.profile
index fc5a0251670..817b5153970 100644
--- a/distrib/arc/floppies/inst/dot.profile
+++ b/distrib/arc/floppies/inst/dot.profile
@@ -27,15 +27,16 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-# $Id: dot.profile,v 1.1 1996/10/10 10:05:58 deraadt Exp $
+# $Id: dot.profile,v 1.2 1997/10/20 22:24:19 millert Exp $
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
-export PATH
-TERM=pc3
-export TERM
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export HISTFILE=/.sh_history
+export TERM=pc3
umask 022
+set -o emacs # emacs-style command line editing
+
if [ "X${DONEPROFILE}" = "X" ]; then
DONEPROFILE=YES
diff --git a/distrib/arc/floppies/upgr/dot.profile b/distrib/arc/floppies/upgr/dot.profile
index d43321c1452..69bb2c9946d 100644
--- a/distrib/arc/floppies/upgr/dot.profile
+++ b/distrib/arc/floppies/upgr/dot.profile
@@ -27,15 +27,16 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-# $Id: dot.profile,v 1.1 1996/10/10 10:06:22 deraadt Exp $
+# $Id: dot.profile,v 1.2 1997/10/20 22:24:20 millert Exp $
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
-export PATH
-TERM=pc3
-export TERM
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export HISTFILE=/.sh_history
+export TERM=pc3
umask 022
+set -o emacs # emacs-style command line editing
+
if [ "X${DONEPROFILE}" = "X" ]; then
DONEPROFILE=YES
diff --git a/distrib/arc/ramdisk/dot.profile b/distrib/arc/ramdisk/dot.profile
index be0a0925151..bc4a1caf665 100644
--- a/distrib/arc/ramdisk/dot.profile
+++ b/distrib/arc/ramdisk/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.2 1997/05/19 10:33:20 pefo Exp $
+# $OpenBSD: dot.profile,v 1.3 1997/10/20 22:24:21 millert Exp $
#
# Copyright (c) 1994 Christopher G. Demetriou
# All rights reserved.
@@ -29,13 +29,14 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
-export PATH
-HOME=/
-export HOME
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export HISTFILE=/.sh_history
+export HOME=/
umask 022
+set -o emacs # emacs-style command line editing
+
if [ "X${DONEPROFILE}" = "X" ]; then
DONEPROFILE=YES
diff --git a/distrib/arm32/floppies/inst/dot.profile b/distrib/arm32/floppies/inst/dot.profile
index a1944936935..cf169985719 100644
--- a/distrib/arm32/floppies/inst/dot.profile
+++ b/distrib/arm32/floppies/inst/dot.profile
@@ -27,15 +27,16 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-# $Id: dot.profile,v 1.1 1996/09/05 21:26:18 deraadt Exp $
+# $Id: dot.profile,v 1.2 1997/10/20 22:24:16 millert Exp $
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
-export PATH
-TERM=vt100
-export TERM
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export HISTFILE=/.sh_history
+export TERM=vt100
umask 022
+set -o emacs # emacs-style command line editing
+
if [ "X${DONEPROFILE}" = "X" ]; then
DONEPROFILE=YES
diff --git a/distrib/arm32/floppies/upgr/dot.profile b/distrib/arm32/floppies/upgr/dot.profile
index b57227cf8bd..97edc253ee3 100644
--- a/distrib/arm32/floppies/upgr/dot.profile
+++ b/distrib/arm32/floppies/upgr/dot.profile
@@ -29,13 +29,14 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
-export PATH
-TERM=vt100
-export TERM
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export HISTFILE=/.sh_history
+export TERM=vt100
umask 022
+set -o emacs # emacs-style command line editing
+
if [ "X${DONEPROFILE}" = "X" ]; then
DONEPROFILE=YES
diff --git a/distrib/atari/inst/dot.profile b/distrib/atari/inst/dot.profile
index fae70afd0c8..aedefa5ac0a 100644
--- a/distrib/atari/inst/dot.profile
+++ b/distrib/atari/inst/dot.profile
@@ -30,10 +30,13 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
-export PATH
-TERM=vt200
-export TERM
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export HISTFILE=/.sh_history
+export TERM=vt200
+
+umask 022
+
+set -o emacs # emacs-style command line editing
# set up some sane defaults
echo 'erase ^?, werase ^H, kill ^U, intr ^C'
@@ -48,5 +51,4 @@ update
. /.instutils
# run the installation script.
-umask 022
install
diff --git a/distrib/atari/miniroot/dot.profile b/distrib/atari/miniroot/dot.profile
index 258d7705bcf..793a760bb85 100644
--- a/distrib/atari/miniroot/dot.profile
+++ b/distrib/atari/miniroot/dot.profile
@@ -30,13 +30,14 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
-export PATH
-TERM=vt220
-export TERM
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export HISTFILE=/.sh_history
+export TERM=vt220
umask 022
+set -o emacs # emacs-style command line editing
+
if [ "X${DONEPROFILE}" = "X" ]; then
DONEPROFILE=YES
diff --git a/distrib/hp300/ramdisk/dot.profile b/distrib/hp300/ramdisk/dot.profile
index 7b0ce55124c..f7220081a60 100644
--- a/distrib/hp300/ramdisk/dot.profile
+++ b/distrib/hp300/ramdisk/dot.profile
@@ -1,5 +1,5 @@
#
-# $OpenBSD: dot.profile,v 1.4 1997/10/13 07:47:21 downsj Exp $
+# $OpenBSD: dot.profile,v 1.5 1997/10/20 22:24:06 millert Exp $
# $NetBSD: dot.profile,v 1.1 1995/07/18 04:13:09 briggs Exp $
#
# Copyright (c) 1994 Christopher G. Demetriou
@@ -31,12 +31,14 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
-export PATH
-TERM=hp300h
-export TERM
-HOME=/
-export HOME
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export HISTFILE=/.sh_history
+export TERM=hp300h
+export HOME=/
+
+umask 022
+
+set -o emacs # emacs-style command line editing
TMPWRITEABLE=/tmp/writeable
@@ -61,5 +63,4 @@ fi
. /.instutils
# run the installation script.
-umask 022
install
diff --git a/distrib/i386/floppies/inst/dot.profile b/distrib/i386/floppies/inst/dot.profile
index 3058ee9f875..d78bcb92ee8 100644
--- a/distrib/i386/floppies/inst/dot.profile
+++ b/distrib/i386/floppies/inst/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.5 1997/04/17 02:10:37 niklas Exp $
+# $OpenBSD: dot.profile,v 1.6 1997/10/20 22:24:07 millert Exp $
#
# Copyright (c) 1994 Christopher G. Demetriou
# All rights reserved.
@@ -29,13 +29,14 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
-export PATH
-TERM=pc3
-export TERM
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export HISTFILE=/.sh_history
+export TERM=pc3
umask 022
+set -o emacs # emacs-style command line editing
+
if [ "X${DONEPROFILE}" = "X" ]; then
DONEPROFILE=YES
diff --git a/distrib/i386/floppies/ramdisk/dot.profile b/distrib/i386/floppies/ramdisk/dot.profile
index 94abb3f8abe..ef22b27ada6 100644
--- a/distrib/i386/floppies/ramdisk/dot.profile
+++ b/distrib/i386/floppies/ramdisk/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.6 1997/05/11 21:04:17 tholo Exp $
+# $OpenBSD: dot.profile,v 1.7 1997/10/20 22:24:08 millert Exp $
#
# Copyright (c) 1994 Christopher G. Demetriou
# All rights reserved.
@@ -29,13 +29,14 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
-export PATH
-HOME=/
-export HOME
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export HISTFILE=/.sh_history
+export HOME=/
umask 022
+set -o emacs # emacs-style command line editing
+
if [ "X${DONEPROFILE}" = "X" ]; then
DONEPROFILE=YES
diff --git a/distrib/mac68k/inst/dot.profile b/distrib/mac68k/inst/dot.profile
index ae680ce4b40..d5129a6f705 100644
--- a/distrib/mac68k/inst/dot.profile
+++ b/distrib/mac68k/inst/dot.profile
@@ -30,10 +30,13 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
-export PATH
-TERM=vt200
-export TERM
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export HISTFILE=/.sh_history
+export TERM=vt200
+
+umask 022
+
+set -o emacs # emacs-style command line editing
# set up some sane defaults
echo 'erase ^?, werase ^H, kill ^U, intr ^C'
@@ -48,5 +51,4 @@ update
. /.instutils
# run the installation script.
-umask 022
install
diff --git a/distrib/mvme68k/ramdisk/dot.profile b/distrib/mvme68k/ramdisk/dot.profile
index 7ef22aae40e..acc6e68391d 100644
--- a/distrib/mvme68k/ramdisk/dot.profile
+++ b/distrib/mvme68k/ramdisk/dot.profile
@@ -30,10 +30,13 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
-export PATH
-TERM=vt200
-export TERM
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export HISTFILE=/.sh_history
+export TERM=vt200
+
+umask 022
+
+set -o emacs # emacs-style command line editing
# set up some sane defaults
echo 'erase ^?, werase ^H, kill ^U, intr ^C'
@@ -47,5 +50,4 @@ echo ''
mount -u /dev/rd0a /
# run the installation script.
-umask 022
install
diff --git a/distrib/pc532/floppies/inst/dot.profile b/distrib/pc532/floppies/inst/dot.profile
index 44532b4f87e..98b937d4f38 100644
--- a/distrib/pc532/floppies/inst/dot.profile
+++ b/distrib/pc532/floppies/inst/dot.profile
@@ -27,15 +27,16 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-# $Id: dot.profile,v 1.2 1996/09/05 21:26:47 deraadt Exp $
+# $Id: dot.profile,v 1.3 1997/10/20 22:24:10 millert Exp $
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/usr/games:/
-export PATH
-TERM=vt100
-export TERM
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/usr/games:/
+export HISTFILE=/.sh_history
+export TERM=vt100
umask 022
+set -o emacs # emacs-style command line editing
+
if [ "X${DONEPROFILE}" = "X" ]; then
DONEPROFILE=YES
diff --git a/distrib/pc532/floppies/upgr/dot.profile b/distrib/pc532/floppies/upgr/dot.profile
index 5e62fae9684..c6c311d3ba5 100644
--- a/distrib/pc532/floppies/upgr/dot.profile
+++ b/distrib/pc532/floppies/upgr/dot.profile
@@ -27,15 +27,16 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-# $Id: dot.profile,v 1.2 1996/09/05 21:27:02 deraadt Exp $
+# $Id: dot.profile,v 1.3 1997/10/20 22:24:11 millert Exp $
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
-export PATH
-TERM=pc3
-export TERM
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export HISTFILE=/.sh_history
+export TERM=pc3
umask 022
+set -o emacs # emacs-style command line editing
+
if [ "X${DONEPROFILE}" = "X" ]; then
DONEPROFILE=YES
diff --git a/distrib/powerpc/miniroot/dot.profile b/distrib/powerpc/miniroot/dot.profile
index 603cd70ea87..1076ba966bf 100644
--- a/distrib/powerpc/miniroot/dot.profile
+++ b/distrib/powerpc/miniroot/dot.profile
@@ -30,10 +30,13 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
-export PATH
-TERM=vt200
-export TERM
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export HISTFILE=/.sh_history
+export TERM=vt200
+
+umask 022
+
+set -o emacs # emacs-style command line editing
# set up some sane defaults
echo 'erase ^?, werase ^H, kill ^U, intr ^C'
@@ -45,5 +48,4 @@ echo ''
. /.instutils
# run the installation script.
-umask 022
install
diff --git a/distrib/powerpc/ramdisk/dot.profile b/distrib/powerpc/ramdisk/dot.profile
index 5dd53d514e4..56f949991e8 100644
--- a/distrib/powerpc/ramdisk/dot.profile
+++ b/distrib/powerpc/ramdisk/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.1 1997/10/10 10:16:55 pefo Exp $
+# $OpenBSD: dot.profile,v 1.2 1997/10/20 22:24:24 millert Exp $
#
# Copyright (c) 1994 Christopher G. Demetriou
# All rights reserved.
@@ -29,13 +29,14 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
-export PATH
-HOME=/
-export HOME
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export HISTFILE=/.sh_history
+export HOME=/
umask 022
+set -o emacs # emacs-style command line editing
+
if [ "X${DONEPROFILE}" = "X" ]; then
DONEPROFILE=YES
diff --git a/distrib/sparc/floppies/inst/dot.profile b/distrib/sparc/floppies/inst/dot.profile
index 4b1ed8f1cfd..3938640b8bd 100644
--- a/distrib/sparc/floppies/inst/dot.profile
+++ b/distrib/sparc/floppies/inst/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.5 1997/05/05 16:31:37 grr Exp $
+# $OpenBSD: dot.profile,v 1.6 1997/10/20 22:24:12 millert Exp $
#
# Copyright (c) 1994 Christopher G. Demetriou
# All rights reserved.
@@ -29,11 +29,13 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
-export PATH
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export HISTFILE=/.sh_history
umask 022
+set -o emacs # emacs-style command line editing
+
# XXX
# the TERM/EDITOR stuff is really well enough parameterized to be moved
# into install.sub where it could use the routines there and be invoked
diff --git a/distrib/sparc/floppies/upgr/dot.profile b/distrib/sparc/floppies/upgr/dot.profile
index 6cf74e029dd..85243797198 100644
--- a/distrib/sparc/floppies/upgr/dot.profile
+++ b/distrib/sparc/floppies/upgr/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.3 1997/05/05 16:31:39 grr Exp $
+# $OpenBSD: dot.profile,v 1.4 1997/10/20 22:24:13 millert Exp $
#
# Copyright (c) 1994 Christopher G. Demetriou
# All rights reserved.
@@ -29,11 +29,13 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
-export PATH
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export HISTFILE=/.sh_history
umask 022
+set -o emacs # emacs-style command line editing
+
# XXX
# the TERM/EDITOR stuff is really well enough parameterized to be moved
# into install.sub where it could use the routines there and be invoked
diff --git a/distrib/sparc/miniroot/dot.profile b/distrib/sparc/miniroot/dot.profile
index 2ab4efaec97..18f136765fb 100644
--- a/distrib/sparc/miniroot/dot.profile
+++ b/distrib/sparc/miniroot/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.8 1997/05/15 05:34:18 deraadt Exp $
+# $OpenBSD: dot.profile,v 1.9 1997/10/20 22:24:14 millert Exp $
# $NetBSD: dot.profile,v 1.1 1995/12/18 22:54:43 pk Exp $
#
# Copyright (c) 1995 Jason R. Thorpe
@@ -31,11 +31,13 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
-export PATH
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export HISTFILE=/.sh_history
umask 022
+set -o emacs # emacs-style command line editing
+
# XXX
# the TERM/EDITOR stuff is really well enough parameterized to be moved
# into install.sub where it could use the routines there and be invoked
diff --git a/distrib/sparc/ramdisk/dot.profile b/distrib/sparc/ramdisk/dot.profile
index 04141ca0750..d6dfe14a250 100644
--- a/distrib/sparc/ramdisk/dot.profile
+++ b/distrib/sparc/ramdisk/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.4 1997/05/25 22:56:41 grr Exp $
+# $OpenBSD: dot.profile,v 1.5 1997/10/20 22:24:15 millert Exp $
# $NetBSD: dot.profile,v 1.1 1995/12/18 22:54:43 pk Exp $
#
# Copyright (c) 1995 Jason R. Thorpe
@@ -31,11 +31,13 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
-export PATH
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export HISTFILE=/.sh_history
umask 022
+set -o emacs # emacs-style command line editing
+
# XXX
# the TERM/EDITOR stuff is really well enough parameterized to be moved
# into install.sub where it could use the routines there and be invoked