head	1.8;
access;
symbols
	netbsd-11-0-RC4:1.8
	netbsd-11-0-RC3:1.8
	netbsd-11-0-RC2:1.8
	netbsd-11-0-RC1:1.8
	perseant-exfatfs-base-20250801:1.8
	netbsd-11:1.8.0.60
	netbsd-11-base:1.8
	netbsd-10-1-RELEASE:1.8
	perseant-exfatfs-base-20240630:1.8
	perseant-exfatfs:1.8.0.58
	perseant-exfatfs-base:1.8
	netbsd-8-3-RELEASE:1.8
	netbsd-9-4-RELEASE:1.8
	netbsd-10-0-RELEASE:1.8
	netbsd-10-0-RC6:1.8
	netbsd-10-0-RC5:1.8
	netbsd-10-0-RC4:1.8
	netbsd-10-0-RC3:1.8
	netbsd-10-0-RC2:1.8
	netbsd-10-0-RC1:1.8
	netbsd-10:1.8.0.56
	netbsd-10-base:1.8
	netbsd-9-3-RELEASE:1.8
	cjep_sun2x-base1:1.8
	cjep_sun2x:1.8.0.54
	cjep_sun2x-base:1.8
	cjep_staticlib_x-base1:1.8
	netbsd-9-2-RELEASE:1.8
	cjep_staticlib_x:1.8.0.52
	cjep_staticlib_x-base:1.8
	netbsd-9-1-RELEASE:1.8
	phil-wifi-20200421:1.8
	phil-wifi-20200411:1.8
	is-mlppp:1.8.0.50
	is-mlppp-base:1.8
	phil-wifi-20200406:1.8
	netbsd-8-2-RELEASE:1.8
	netbsd-9-0-RELEASE:1.8
	netbsd-9-0-RC2:1.8
	netbsd-9-0-RC1:1.8
	phil-wifi-20191119:1.8
	netbsd-9:1.8.0.48
	netbsd-9-base:1.8
	phil-wifi-20190609:1.8
	netbsd-8-1-RELEASE:1.8
	netbsd-8-1-RC1:1.8
	pgoyette-compat-merge-20190127:1.8
	pgoyette-compat-20190127:1.8
	pgoyette-compat-20190118:1.8
	pgoyette-compat-1226:1.8
	pgoyette-compat-1126:1.8
	pgoyette-compat-1020:1.8
	pgoyette-compat-0930:1.8
	pgoyette-compat-0906:1.8
	netbsd-7-2-RELEASE:1.8
	pgoyette-compat-0728:1.8
	netbsd-8-0-RELEASE:1.8
	phil-wifi:1.8.0.46
	phil-wifi-base:1.8
	pgoyette-compat-0625:1.8
	netbsd-8-0-RC2:1.8
	pgoyette-compat-0521:1.8
	pgoyette-compat-0502:1.8
	pgoyette-compat-0422:1.8
	netbsd-8-0-RC1:1.8
	pgoyette-compat-0415:1.8
	pgoyette-compat-0407:1.8
	pgoyette-compat-0330:1.8
	pgoyette-compat-0322:1.8
	pgoyette-compat-0315:1.8
	netbsd-7-1-2-RELEASE:1.8
	pgoyette-compat:1.8.0.44
	pgoyette-compat-base:1.8
	netbsd-7-1-1-RELEASE:1.8
	matt-nb8-mediatek:1.8.0.42
	matt-nb8-mediatek-base:1.8
	perseant-stdc-iso10646:1.8.0.40
	perseant-stdc-iso10646-base:1.8
	netbsd-8:1.8.0.38
	netbsd-8-base:1.8
	prg-localcount2-base3:1.8
	prg-localcount2-base2:1.8
	prg-localcount2-base1:1.8
	prg-localcount2:1.8.0.36
	prg-localcount2-base:1.8
	pgoyette-localcount-20170426:1.8
	bouyer-socketcan-base1:1.8
	pgoyette-localcount-20170320:1.8
	netbsd-7-1:1.8.0.34
	netbsd-7-1-RELEASE:1.8
	netbsd-7-1-RC2:1.8
	netbsd-7-nhusb-base-20170116:1.8
	bouyer-socketcan:1.8.0.32
	bouyer-socketcan-base:1.8
	pgoyette-localcount-20170107:1.8
	netbsd-7-1-RC1:1.8
	pgoyette-localcount-20161104:1.8
	netbsd-7-0-2-RELEASE:1.8
	localcount-20160914:1.8
	netbsd-7-nhusb:1.8.0.30
	netbsd-7-nhusb-base:1.8
	pgoyette-localcount-20160806:1.8
	pgoyette-localcount-20160726:1.8
	pgoyette-localcount:1.8.0.28
	pgoyette-localcount-base:1.8
	netbsd-7-0-1-RELEASE:1.8
	netbsd-7-0:1.8.0.26
	netbsd-7-0-RELEASE:1.8
	netbsd-7-0-RC3:1.8
	netbsd-7-0-RC2:1.8
	netbsd-7-0-RC1:1.8
	netbsd-5-2-3-RELEASE:1.7
	netbsd-5-1-5-RELEASE:1.7
	netbsd-6-0-6-RELEASE:1.8
	netbsd-6-1-5-RELEASE:1.8
	netbsd-7:1.8.0.24
	netbsd-7-base:1.8
	yamt-pagecache-base9:1.8
	yamt-pagecache-tag8:1.8
	netbsd-6-1-4-RELEASE:1.8
	netbsd-6-0-5-RELEASE:1.8
	tls-earlyentropy:1.8.0.22
	tls-earlyentropy-base:1.8
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.8
	riastradh-drm2-base3:1.8
	netbsd-6-1-3-RELEASE:1.8
	netbsd-6-0-4-RELEASE:1.8
	netbsd-5-2-2-RELEASE:1.7
	netbsd-5-1-4-RELEASE:1.7
	netbsd-6-1-2-RELEASE:1.8
	netbsd-6-0-3-RELEASE:1.8
	netbsd-5-2-1-RELEASE:1.7
	netbsd-5-1-3-RELEASE:1.7
	netbsd-6-1-1-RELEASE:1.8
	riastradh-drm2-base2:1.8
	riastradh-drm2-base1:1.8
	riastradh-drm2:1.8.0.14
	riastradh-drm2-base:1.8
	netbsd-6-1:1.8.0.20
	netbsd-6-0-2-RELEASE:1.8
	netbsd-6-1-RELEASE:1.8
	khorben-n900:1.8.0.18
	netbsd-6-1-RC4:1.8
	netbsd-6-1-RC3:1.8
	agc-symver:1.8.0.16
	agc-symver-base:1.8
	netbsd-6-1-RC2:1.8
	netbsd-6-1-RC1:1.8
	yamt-pagecache-base8:1.8
	netbsd-5-2:1.7.0.54
	netbsd-6-0-1-RELEASE:1.8
	yamt-pagecache-base7:1.8
	netbsd-5-2-RELEASE:1.7
	netbsd-5-2-RC1:1.7
	matt-nb6-plus-nbase:1.8
	yamt-pagecache-base6:1.8
	netbsd-6-0:1.8.0.12
	netbsd-6-0-RELEASE:1.8
	netbsd-6-0-RC2:1.8
	tls-maxphys:1.8.0.10
	tls-maxphys-base:1.8
	matt-nb6-plus:1.8.0.8
	matt-nb6-plus-base:1.8
	netbsd-6-0-RC1:1.8
	yamt-pagecache-base5:1.8
	yamt-pagecache-base4:1.8
	netbsd-6:1.8.0.6
	netbsd-6-base:1.8
	netbsd-5-1-2-RELEASE:1.7
	netbsd-5-1-1-RELEASE:1.7
	yamt-pagecache-base3:1.8
	yamt-pagecache-base2:1.8
	yamt-pagecache:1.8.0.4
	yamt-pagecache-base:1.8
	cherry-xenmp:1.8.0.2
	cherry-xenmp-base:1.8
	bouyer-quota2-nbase:1.8
	bouyer-quota2:1.7.0.52
	bouyer-quota2-base:1.8
	matt-mips64-premerge-20101231:1.7
	matt-nb5-mips64-premerge-20101231:1.7
	matt-nb5-pq3:1.7.0.50
	matt-nb5-pq3-base:1.7
	netbsd-5-1:1.7.0.48
	netbsd-5-1-RELEASE:1.7
	netbsd-5-1-RC4:1.7
	matt-nb5-mips64-k15:1.7
	netbsd-5-1-RC3:1.7
	netbsd-5-1-RC2:1.7
	netbsd-5-1-RC1:1.7
	netbsd-5-0-2-RELEASE:1.7
	matt-nb5-mips64-premerge-20091211:1.7
	matt-premerge-20091211:1.7
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.7
	matt-nb4-mips64-k7-u2a-k9b:1.7
	matt-nb5-mips64-u1-k1-k5:1.7
	matt-nb5-mips64:1.7.0.46
	netbsd-5-0-1-RELEASE:1.7
	jym-xensuspend-nbase:1.7
	netbsd-5-0:1.7.0.44
	netbsd-5-0-RELEASE:1.7
	netbsd-5-0-RC4:1.7
	netbsd-5-0-RC3:1.7
	netbsd-5-0-RC2:1.7
	jym-xensuspend:1.7.0.42
	jym-xensuspend-base:1.7
	netbsd-5-0-RC1:1.7
	netbsd-5:1.7.0.40
	netbsd-5-base:1.7
	matt-mips64-base2:1.7
	matt-mips64:1.7.0.38
	netbsd-4-0-1-RELEASE:1.7
	wrstuden-revivesa-base-3:1.7
	wrstuden-revivesa-base-2:1.7
	wrstuden-fixsa-newbase:1.7
	wrstuden-revivesa-base-1:1.7
	yamt-pf42-base4:1.7
	yamt-pf42-base3:1.7
	hpcarm-cleanup-nbase:1.7
	yamt-pf42-baseX:1.7
	yamt-pf42-base2:1.7
	wrstuden-revivesa:1.7.0.36
	wrstuden-revivesa-base:1.7
	yamt-pf42:1.7.0.34
	yamt-pf42-base:1.7
	mjf-devfs2:1.7.0.32
	mjf-devfs2-base:1.7
	keiichi-mipv6:1.7.0.30
	keiichi-mipv6-base:1.7
	mjf-devfs:1.7.0.28
	mjf-devfs-base:1.7
	matt-armv6-nbase:1.7
	matt-armv6-prevmlocking:1.7
	wrstuden-fixsa-base-1:1.7
	netbsd-4-0:1.7.0.26
	netbsd-4-0-RELEASE:1.7
	cube-autoconf:1.7.0.24
	cube-autoconf-base:1.7
	netbsd-4-0-RC5:1.7
	netbsd-4-0-RC4:1.7
	netbsd-4-0-RC3:1.7
	netbsd-4-0-RC2:1.7
	netbsd-4-0-RC1:1.7
	matt-armv6:1.7.0.22
	matt-armv6-base:1.7
	matt-mips64-base:1.7
	hpcarm-cleanup:1.7.0.20
	hpcarm-cleanup-base:1.7
	netbsd-3-1-1-RELEASE:1.7
	netbsd-3-0-3-RELEASE:1.7
	wrstuden-fixsa:1.7.0.18
	wrstuden-fixsa-base:1.7
	abandoned-netbsd-4-base:1.7
	abandoned-netbsd-4:1.7.0.12
	netbsd-3-1:1.7.0.14
	netbsd-3-1-RELEASE:1.7
	netbsd-3-0-2-RELEASE:1.7
	netbsd-3-1-RC4:1.7
	netbsd-3-1-RC3:1.7
	netbsd-3-1-RC2:1.7
	netbsd-3-1-RC1:1.7
	netbsd-4:1.7.0.16
	netbsd-4-base:1.7
	netbsd-3-0-1-RELEASE:1.7
	netbsd-3-0:1.7.0.10
	netbsd-3-0-RELEASE:1.7
	netbsd-3-0-RC6:1.7
	netbsd-3-0-RC5:1.7
	netbsd-3-0-RC4:1.7
	netbsd-3-0-RC3:1.7
	netbsd-3-0-RC2:1.7
	netbsd-3-0-RC1:1.7
	netbsd-2-0-3-RELEASE:1.7
	netbsd-2-1:1.7.0.8
	netbsd-2-1-RELEASE:1.7
	netbsd-2-1-RC6:1.7
	netbsd-2-1-RC5:1.7
	netbsd-2-1-RC4:1.7
	netbsd-2-1-RC3:1.7
	netbsd-2-1-RC2:1.7
	netbsd-2-1-RC1:1.7
	netbsd-2-0-2-RELEASE:1.7
	netbsd-3:1.7.0.6
	netbsd-3-base:1.7
	netbsd-2-0-1-RELEASE:1.7
	netbsd-2:1.7.0.4
	netbsd-2-base:1.7
	netbsd-2-0-RELEASE:1.7
	netbsd-2-0-RC5:1.7
	netbsd-2-0-RC4:1.7
	netbsd-2-0-RC3:1.7
	netbsd-2-0-RC2:1.7
	netbsd-2-0-RC1:1.7
	netbsd-2-0:1.7.0.2
	netbsd-2-0-base:1.7
	netbsd-1-6-PATCH002-RELEASE:1.6
	netbsd-1-6-PATCH002:1.6
	netbsd-1-6-PATCH002-RC4:1.6
	netbsd-1-6-PATCH002-RC3:1.6
	netbsd-1-6-PATCH002-RC2:1.6
	netbsd-1-6-PATCH002-RC1:1.6
	netbsd-1-6-PATCH001:1.6
	netbsd-1-6-PATCH001-RELEASE:1.6
	netbsd-1-6-PATCH001-RC3:1.6
	netbsd-1-6-PATCH001-RC2:1.6
	netbsd-1-6-PATCH001-RC1:1.6
	fvdl_fs64_base:1.6
	netbsd-1-6-RELEASE:1.6
	netbsd-1-6-RC3:1.6
	netbsd-1-6-RC2:1.6
	netbsd-1-6-RC1:1.6
	netbsd-1-6:1.6.0.4
	netbsd-1-6-base:1.6
	netbsd-1-5-PATCH003:1.6
	netbsd-1-5-PATCH002:1.6
	netbsd-1-5-PATCH001:1.6
	netbsd-1-5-RELEASE:1.6
	netbsd-1-5-BETA2:1.6
	netbsd-1-5-BETA:1.6
	netbsd-1-4-PATCH003:1.2.2.1
	netbsd-1-5-ALPHA2:1.6
	netbsd-1-5:1.6.0.2
	netbsd-1-5-base:1.6
	minoura-xpg4dl:1.4.0.2
	minoura-xpg4dl-base:1.4
	netbsd-1-4-PATCH002:1.2.2.1
	wrstuden-devbsize-19991221:1.4
	wrstuden-devbsize:1.3.0.4
	wrstuden-devbsize-base:1.4
	comdex-fall-1999:1.3.0.2
	comdex-fall-1999-base:1.3
	netbsd-1-4-PATCH001:1.2.2.1
	netbsd-1-4-RELEASE:1.2
	netbsd-1-4:1.2.0.2
	netbsd-1-4-base:1.2
	netbsd-1-3-PATCH003:1.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.1
	netbsd-1-3-PATCH003-CANDIDATE1:1.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.1
	netbsd-1-3-PATCH002:1.1
	netbsd-1-3-PATCH001:1.1
	netbsd-1-3-RELEASE:1.1
	netbsd-1-3-BETA:1.1
	netbsd-1-3:1.1.0.4
	netbsd-1-3-base:1.1
	netbsd-1-2-PATCH001:1.1
	netbsd-1-2-RELEASE:1.1
	netbsd-1-2-BETA:1.1
	netbsd-1-2:1.1.0.2;
locks; strict;
comment	@# @;


1.8
date	2011.02.06.18.26.51;	author tsutsui;	state Exp;
branches;
next	1.7;

1.7
date	2003.07.26.17.06.41;	author salo;	state Exp;
branches
	1.7.32.1
	1.7.52.1;
next	1.6;

1.6
date	2000.06.14.22.52.43;	author cgd;	state Exp;
branches;
next	1.5;

1.5
date	2000.06.14.06.48.51;	author cgd;	state Exp;
branches;
next	1.4;

1.4
date	99.11.23.22.43.24;	author simonb;	state Exp;
branches;
next	1.3;

1.3
date	99.06.26.06.12.56;	author cgd;	state Exp;
branches
	1.3.4.1;
next	1.2;

1.2
date	98.01.09.21.51.42;	author perry;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	96.06.11.08.30.13;	author thorpej;	state Exp;
branches
	1.1.2.1;
next	;

1.7.32.1
date	2008.10.05.20.10.18;	author mjf;	state dead;
branches;
next	;

1.7.52.1
date	2011.02.08.16.18.33;	author bouyer;	state Exp;
branches;
next	;

1.3.4.1
date	99.12.27.18.28.20;	author wrstuden;	state Exp;
branches;
next	;

1.2.2.1
date	99.06.26.23.55.20;	author cgd;	state Exp;
branches;
next	;

1.1.2.1
date	96.06.11.08.30.13;	author thorpej;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	96.06.11.08.30.14;	author thorpej;	state Exp;
branches;
next	;


desc
@@


1.8
log
@Switch NetBSD/hp300 to wscons with rasops. Simply ported from OpenBSD/hp300.

- Only A1416 Kathmandu (topcat) framebuffer on 425t is tested, but
  all other variants (TigerShark, Hyperion, DaVinci, GatorBox, Renaissance)
  should also work if they are working on OpenBSD/hp300.
- sti(4) and SGC bus support are not pulled because I don't have 425e
  and I can't confirm that 362 and 382 actually have SGC bus.
  (I'll commit a DIO based dumb driver for 362 and 382 framebuffers later)
- Xorg server with wsfb driver will also be integrated soon
  once after keycode with NoSymbol problem is addressed.
  (We have to re-think what code should be used on WSDISPLAY_COMPAT_RAWKBD)
- MI HIL keyboard and mouse drivers are working fine though
  cngetc via hilkbd has some problem (still we can input commands).
- No old HP-UX like HIL ioctl compatibility (we removed COMPAT_HPUX anyway).
  grfinfo(8) and hilinfo(8) will be removed shortly.

Demonstrated on NetBSD booth at Open Source Conference 2011 Kagawa.
@
text
@# $NetBSD: dot.profile,v 1.7 2003/07/26 17:06:41 salo Exp $
#
# Copyright (c) 1995 Jason R. Thorpe
# Copyright (c) 1994 Christopher G. Demetriou
# All rights reserved.
# 
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
#    must display the following acknowledgement:
#          This product includes software developed for the
#          NetBSD Project.  See http://www.NetBSD.org/ for
#          information about NetBSD.
# 4. The name of the author may not be used to endorse or promote products
#    derived from this software without specific prior written permission.
# 
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (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: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>

PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
export PATH
TERM=vt100
export TERM
HOME=/
export HOME

umask 022

if [ "X${DONEPROFILE}" = "X" ]; then
	DONEPROFILE=YES
	export DONEPROFILE

	# set up some sane defaults
	echo 'erase ^H, werase ^W, kill ^U, intr ^C'
	stty newcrt werase ^W intr ^C kill ^U erase ^H 9600

	# get the terminal type
	_forceloop=""
	while [ "X${_forceloop}" = X"" ]; do
		eval `tset -s -m ":?$TERM"`
		if [ "X${TERM}" != X"unknown" ]; then
			_forceloop="done"
		fi
	done

	# Installing or upgrading?
	_forceloop=""
	while [ "X${_forceloop}" = X"" ]; do
		echo -n '(I)nstall or (U)pgrade? '
		read _forceloop
		case "$_forceloop" in
			i*|I*)
				/install
				;;

			u*|U*)
				/upgrade
				;;

			*)
				_forceloop=""
				;;
		esac
	done
fi
@


1.7
log
@netbsd.org->NetBSD.org
@
text
@d1 1
a1 1
# $NetBSD: dot.profile,v 1.6 2000/06/14 22:52:43 cgd Exp $
d38 1
a38 1
TERM=hp300h
@


1.7.52.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: dot.profile,v 1.8 2011/02/06 18:26:51 tsutsui Exp $
d38 1
a38 1
TERM=vt100
@


1.7.32.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# $NetBSD: dot.profile,v 1.7 2003/07/26 17:06:41 salo Exp $
@


1.6
log
@sweep of my licenses for consistency.  (no functional changes)  These
files have copyright held by people in addition to myself.  (I did the
original work, they copied it, enhanced it, and added their copyright
to the derivative work.)  Their approval has been given re: the license
change.
@
text
@d1 1
a1 1
# $NetBSD: dot.profile,v 1.5 2000/06/14 06:48:51 cgd Exp $
d18 1
a18 1
#          NetBSD Project.  See http://www.netbsd.org/ for
@


1.5
log
@fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well.  No functional changes.
@
text
@d1 1
a1 1
# $NetBSD: dot.profile,v 1.4 1999/11/23 22:43:24 simonb Exp $
d17 3
a19 1
#	This product includes software developed by Christopher G. Demetriou.
d21 2
a22 2
#    derived from this software without specific prior written permission
#
d33 2
@


1.4
log
@Don't start update.
@
text
@d1 1
a1 1
#	$NetBSD: dot.profile,v 1.3 1999/06/26 06:12:56 cgd Exp $
a30 1
#
@


1.3
log
@after checking and setting DONEPROFILE, export it so that children of the
shell (e.g.  programs and shells invoked via sysinst) don't try to run
sysinst again.  Fixes PR#7805.
@
text
@d1 1
a1 1
#	$NetBSD: dot.profile,v 1.2 1998/01/09 21:51:42 perry Exp $
a48 3

	# run update, so that installed software is written as it goes.
	update
@


1.3.4.1
log
@Pull up to last week's -current.
@
text
@d1 1
a1 1
#	$NetBSD: dot.profile,v 1.4 1999/11/23 22:43:24 simonb Exp $
d49 3
@


1.2
log
@Add $HOME to profiles, closes pr 4323 (from Tatoku Ogaito)
@
text
@d1 1
a1 1
#	$NetBSD: dot.profile,v 1.1 1996/06/11 08:30:13 thorpej Exp $
d44 1
@


1.2.2.1
log
@pull up rev 1.3 from trunk. (cgd)
@
text
@d1 1
a1 1
#	$NetBSD$
a43 1
	export DONEPROFILE
@


1.1
log
@Remove the hp300-specific installation tools and use the MI minroot
tools.
@
text
@d1 1
a1 1
#	$NetBSD: dot.profile,v 1.2 1995/11/11 06:24:47 thorpej Exp $
d37 2
@


1.1.2.1
log
@file dot.profile was added on branch netbsd-1-2 on 1996-06-11 08:30:14 +0000
@
text
@d1 78
@


1.1.2.2
log
@Remove the hp300-specific installation tools and use the MI minroot
tools.
@
text
@a0 78
#	$NetBSD: dot.profile,v 1.1 1996/06/11 08:30:13 thorpej Exp $
#
# Copyright (c) 1995 Jason R. Thorpe
# Copyright (c) 1994 Christopher G. Demetriou
# All rights reserved.
# 
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
#    must display the following acknowledgement:
#	This product includes software developed by Christopher G. Demetriou.
# 4. The name of the author may not be used to endorse or promote products
#    derived from this software without specific prior written permission
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#

PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
export PATH
TERM=hp300h
export TERM

umask 022

if [ "X${DONEPROFILE}" = "X" ]; then
	DONEPROFILE=YES

	# set up some sane defaults
	echo 'erase ^H, werase ^W, kill ^U, intr ^C'
	stty newcrt werase ^W intr ^C kill ^U erase ^H 9600

	# run update, so that installed software is written as it goes.
	update

	# get the terminal type
	_forceloop=""
	while [ "X${_forceloop}" = X"" ]; do
		eval `tset -s -m ":?$TERM"`
		if [ "X${TERM}" != X"unknown" ]; then
			_forceloop="done"
		fi
	done

	# Installing or upgrading?
	_forceloop=""
	while [ "X${_forceloop}" = X"" ]; do
		echo -n '(I)nstall or (U)pgrade? '
		read _forceloop
		case "$_forceloop" in
			i*|I*)
				/install
				;;

			u*|U*)
				/upgrade
				;;

			*)
				_forceloop=""
				;;
		esac
	done
fi
@
