# Prototype user .login file
# $Author: epeisach $
# $Source: /paris/source/4.3/prototype/RCS/.login,v $
# $Header: /paris/source/4.3/prototype/RCS/.login,v 1.14 89/08/14 17:43:17 epeisach Exp $


# This file sources a system-wide .login file, which:
#      - presumes that the .cshrc file has been sourced
#      - performs standard setups appropriate for tty session
#      - runs standard startup activities (e.g., check mail)
#      - source user file ~/.startup.tty, if it exists

set initdir=/usr/athena/lib/init

if (-r $initdir/login) then
        source $initdir/login
else
	if (-r /usr/prototype_user/.login) then
		echo "If this is a workstation in a public cluster, you"
		echo "should be getting the 6.3 upgrade within a few days."
		echo "If this is a private workstation, please contact the"
		echo "Athena Hotline at x3-1410 (by email: hotline@ATHENA),"
		echo "in order to arrange to have your workstation upgraded."
		source /usr/prototype_user/.login
	else
		echo "Warning: System-wide initialization files not found."
        	echo "Login initialization has not been performed."
	endif
endif


# If you want to ADJUST the login initialization sequence, create a
# .startup.tty file in your home directory, with commands to run activities
# once the environment has been set up (znol, emacs, etc.).

# To adjust the environment initialization sequence, see the instructions in
# the .cshrc file.

# If you want to CHANGE the login initialization sequence, revise this .login
# file (the one you're reading now).  You may want to copy the contents of
# the system-wide login file as a starting point.
#
# WARNING: If you revise this .login file, you will not automatically
# get any changes that Project Athena may make to the system-wide file at 
# a later date.  Be sure you know what you are doing.
