dot.profile revision 1.4
11.1Schopps# 21.1Schopps# Copyright (c) 1994 Christopher G. Demetriou 31.1Schopps# All rights reserved. 41.1Schopps# 51.1Schopps# Redistribution and use in source and binary forms, with or without 61.1Schopps# modification, are permitted provided that the following conditions 71.1Schopps# are met: 81.1Schopps# 1. Redistributions of source code must retain the above copyright 91.1Schopps# notice, this list of conditions and the following disclaimer. 101.1Schopps# 2. Redistributions in binary form must reproduce the above copyright 111.1Schopps# notice, this list of conditions and the following disclaimer in the 121.1Schopps# documentation and/or other materials provided with the distribution. 131.1Schopps# 3. All advertising materials mentioning features or use of this software 141.1Schopps# must display the following acknowledgement: 151.1Schopps# This product includes software developed by Christopher G. Demetriou. 161.1Schopps# 4. The name of the author may not be used to endorse or promote products 171.1Schopps# derived from this software without specific prior written permission 181.1Schopps# 191.1Schopps# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 201.1Schopps# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 211.1Schopps# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 221.1Schopps# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 231.1Schopps# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 241.1Schopps# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 251.1Schopps# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 261.1Schopps# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 271.1Schopps# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 281.1Schopps# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 291.1Schopps# 301.4Sperry# $NetBSD: dot.profile,v 1.4 1998/01/09 21:51:28 perry Exp $ 311.1Schopps 321.1SchoppsPATH=/sbin:/bin:/usr/bin:/usr/sbin:/ 331.1Schoppsexport PATH 341.2SchoppsTERM=vt100 351.1Schoppsexport TERM 361.4SperryHOME=/ 371.4Sperryexport HOME 381.1Schopps 391.2Schoppsumask 022 401.2Schopps 411.2Schoppsif [ "X${DONEPROFILE}" = "X" ]; then 421.2Schopps DONEPROFILE=YES 431.2Schopps 441.2Schopps # set up some sane defaults 451.2Schopps echo 'erase ^?, werase ^W, kill ^U, intr ^C' 461.2Schopps stty newcrt werase ^W intr ^C kill ^U erase ^? 9600 471.2Schopps echo '' 481.1Schopps 491.2Schopps # run update, so that installed software is written as it goes. 501.2Schopps update 511.2Schopps 521.2Schopps # pull in the functions that people will use from the shell prompt. 531.2Schopps . /.commonutils 541.2Schopps . /.instutils 551.2Schopps 561.2Schopps # run the installation script. 571.2Schopps install 581.2Schoppsfi 59