source: trunk/packs/dotfiles/dot.login @ 2042

Revision 2042, 1.8 KB checked in by epeisach, 35 years ago (diff)
Handle interactivness better [kcunning]
Line 
1# Prototype user .login file
2# $Author: epeisach $
3# $Source: /afs/dev.mit.edu/source/repository/packs/dotfiles/dot.login,v $
4# $Header: /afs/dev.mit.edu/source/repository/packs/dotfiles/dot.login,v 1.14 1989-08-14 17:43:17 epeisach Exp $
5
6
7# This file sources a system-wide .login file, which:
8#      - presumes that the .cshrc file has been sourced
9#      - performs standard setups appropriate for tty session
10#      - runs standard startup activities (e.g., check mail)
11#      - source user file ~/.startup.tty, if it exists
12
13set initdir=/usr/athena/lib/init
14
15if (-r $initdir/login) then
16        source $initdir/login
17else
18        if (-r /usr/prototype_user/.login) then
19                echo "If this is a workstation in a public cluster, you"
20                echo "should be getting the 6.3 upgrade within a few days."
21                echo "If this is a private workstation, please contact the"
22                echo "Athena Hotline at x3-1410 (by email: hotline@ATHENA),"
23                echo "in order to arrange to have your workstation upgraded."
24                source /usr/prototype_user/.login
25        else
26                echo "Warning: System-wide initialization files not found."
27                echo "Login initialization has not been performed."
28        endif
29endif
30
31
32# If you want to ADJUST the login initialization sequence, create a
33# .startup.tty file in your home directory, with commands to run activities
34# once the environment has been set up (znol, emacs, etc.).
35
36# To adjust the environment initialization sequence, see the instructions in
37# the .cshrc file.
38
39# If you want to CHANGE the login initialization sequence, revise this .login
40# file (the one you're reading now).  You may want to copy the contents of
41# the system-wide login file as a starting point.
42#
43# WARNING: If you revise this .login file, you will not automatically
44# get any changes that Project Athena may make to the system-wide file at
45# a later date.  Be sure you know what you are doing.
Note: See TracBrowser for help on using the repository browser.