head	1.4;
access;
symbols;
locks; strict;
comment	@# @;


1.4
date	2004.10.22.19.56.28;	author rse;	state Exp;
branches;
next	1.3;

1.3
date	2004.10.22.19.53.02;	author rse;	state Exp;
branches;
next	1.2;

1.2
date	2004.10.04.15.34.50;	author rse;	state Exp;
branches;
next	1.1;

1.1
date	2004.07.10.08.17.12;	author rse;	state Exp;
branches;
next	;


desc
@@


1.4
log
@cleanup more texts and remove history from CVS
@
text
@##
##  OSSP due - Unified User Environment
##  Copyright (c) 1994-2004 Ralf S. Engelschall <rse@@engelschall.com>
##  Copyright (c) 1994-2004 The OSSP Project <http://www.ossp.org/>
##
##  This file is part of OSSP due, a dynamic user environment
##  which can found at http://www.ossp.org/pkg/tool/due/
##
##  Permission to use, copy, modify, and distribute this software for
##  any purpose with or without fee is hereby granted, provided that
##  the above copyright notice and this permission notice appear in all
##  copies.
##
##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 AUTHORS AND COPYRIGHT HOLDERS AND THEIR
##  CONTRIBUTORS 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.
##
##  ~/.bash_login: GNU Bash login-shell configuration
##

#   activate OSSP due
source ~/.duerc
due -v load all -local

@


1.3
log
@do not use BASH_ENV because it makes trouble in Bash based applications and move the login/logout tracing to due.term.sh module
@
text
@d2 1
a2 1
##  OSSP uue - Unified User Environment
d6 2
a7 2
##  This file is part of OSSP uue, a set of user configuration
##  files which can found at http://www.ossp.org/pkg/tool/uue/
@


1.2
log
@flush pending changes
@
text
@d30 3
a32 12
#   path to bash environment init script
BASH_ENV=$HOME/.bashrc

#   source the standard environment script
. $BASH_ENV

#   welcome and goodbye
if expr $- : ".*i.*" >/dev/null; then
    echo "$HOSTNAME: user $USER (${SSHUSER:-unknown}), login at `date`"
    echo "#[`date '+%Y-%m-%d/%H:%M'`] login by user ${SSHUSER:-unknown}" >>$HISTFILE
    trap 'echo "$HOSTNAME: user $USER (${SSHUSER:-unknown}), logout at `date`"' 0
fi
@


1.1
log
@import the initial version of the new-born OSSP due (Dynamic User Environment
@
text
@d37 5
a41 3
echo "$HOSTNAME: user $USER (${SSHUSER:-unknown}), login at `date`"
echo "#[`date '+%Y-%m-%d/%H:%M'`] login by user ${SSHUSER:-unknown}" >>$HISTFILE
trap 'echo "$HOSTNAME: user $USER (${SSHUSER:-unknown}), logout at `date`"' 0
@

