#	.profile - for use with ksh (NOT sh)
#				~~~

#	This file is like .login - the rest of the work is done by .kshrc

#  Henry Grebler     3 Dec 98  Announce ourselves.
#  Henry Grebler     1 Jul 96  Make it even better for AIX.
#  Henry Grebler    22 Nov 95  On HP-UX B.10.00, need better test for ksh.
#  Henry Grebler    17 Oct 94  New approach: start with sh, then find a shell.
#  Henry Grebler    29 Jul 94  Define HISTFILE
#  Henry Grebler    24 May 94  Move as much as possible into .kshrc.
#  Henry Grebler    23 Sep 93  Put /usr/ucb early in path.

	echo "Starting .profile"

	if [ "$SHELL" = /bin/ksh ]
	then
		. ./.profile_ksh
	elif [ "$SHELL" = /bin/sh ]
	then
		. ./.login_sh
	elif [ "$PWD" = "" -o `uname -s` = HP-UX -a $SHELL=/bin/sh ]
	then
		. ./.login_sh
	else
		. ./.profile_ksh
	fi

