2 ################################################################################
4 # File: $RCSfile: bash_login,v $
5 # Revision: $Revision: 1.12 $
6 # Description: bash startup file
7 # Author: Andrew@DeFaria.com
8 # Created: Mon Aug 20 17:35:01 2001
9 # Modified: $Date: 2006/10/30 05:26:53 $
12 # (c) Copyright 2000-2005, Andrew@DeFaria.com, all rights reserved.
14 ################################################################################
15 # Under cyqwin and bash the profile is not sourced so source it here
18 # Set DISPLAY properly
19 export DISPLAY=${DISPLAY:-AZ25-DTVQGC1:0.0}
23 # Check to see if we're interactive
24 if [[ $- = *i* ]]; then
30 if [ "$interactive" = "true" ]; then
31 stty tostop intr ^C kill ^X susp ^Z erase
\b -inpck -istrip -ixany -echok -echonl
35 adm_base=${adm_base:-~/adm}
38 adm_fpath=${adm_fpath:-$adm_base/functions}
41 if [ -f "$adm_fpath/common" ]; then
44 : echo "Warning: Cannot find $adm_fpath/common!"
47 # Client specific customizations
48 if [ -z "$USERDOMAIN" ]; then
49 if [ type -p domainname > /dev/null 2>&1 ]; then
50 USERDOMAIN=$(domainname)
56 if [ $USERDOMAIN = "sanjose" -o \
57 $USERDOMAIN = "richmond" -o \
58 $USERDOMAIN = "irvine" ]; then
59 if [ -f /tools/bin/common.profile ]; then
60 . /tools/bin/common.profile
62 export CVSROOT=:pserver:$USER@cvsps-irva-1:/projects/BusAppsMaster/master
64 export CVSROOT=:pserver:andrew@defaria.com:/cvs/defaria.com
68 if [ -f ~/.rc/set_path ]; then
71 echo "Warning: ~/.rc/set_path does not exist!"
74 if [ -x ~/.rc/logout ]; then
79 if [ -f ~/.rc/clearcase ]; then
84 if [ -f ~/.rc/multisite ]; then
88 # Import shell functions:
89 if [ -f ~/.rc/functions ]; then
105 if [ $ARCH = "FreeBSD" ]; then
108 if [ $ARCH = "sun" ]; then
109 # Ugh! --color doesn't work on braindead SUN
112 alias ls="ls -F --color=auto"
117 alias whence="type -p"
120 if [ $(type -p vim) ]; then
124 if [ $(type -p ncftp) ]; then
126 alias ftpput=ncftpput
127 alias ftpget=ncftpget
130 #alias grep="grep -d skip"
132 if [ "$TERM" = "hpterm" -o \
134 "$TERM" = "dtterm" -o \
135 "$TERM" = "sun-color" -o \
136 "$TERM" = "vt100" -o \
137 "$TERM" = "vt220" -o \
138 "$TERM" = "xterm" -o \
139 "$TERM" = "cygwin" ]; then
140 if [ $(uname) = "SunOS" ]; then
141 # sun-color doesn't work on the GD network... :-(
142 #export TERM="sun-color"
151 if [ -x $(type -p less) ]; then
152 export LESS=eiXP"?f%f :[stdin] .?pt(%pt\%):?bt(%bt bytes):-.."
154 export PAGER="less -s"
160 # Source bash_completion (if present)
161 #if [ -r /etc/bash_completion ]; then
162 # . /etc/bash_completion
165 export PS4='${0##*/} line $LINENO:'
170 if [ "$TERM" = "dtterm" ]; then
176 export MAIL=/var/mail/$USER
182 # General Dynamics stuff
185 export http_proxy=webgate0.gddsi.com:8080
186 export ftp_proxy=webgate0.gddsi.com
188 export QTDIR="/usr/local/Trolltech/Qt-4.2.2"
189 export QMAKESPEC="$QTDIR/mkspecs/solaris-cc"
190 export ORACLE="SID rancq"
191 export ORACLE_HOME="/usr/local/oracle/product/9.2"
193 export CCASE_MAKE_COMPAT=gnu
195 export CQ_HOME=/opt/rational/clearquest
196 export CQ_HELP_BROWSER=firefox
197 export CQ_PERLLIB=/opt/rational/common/lib/perl5/5.6.1/sun4-solaris-multi:/opt/rational/common/lib/perl5/5.6.1:/opt/rational/common/lib/perl5/site_perl/5.6.1/sun4-solaris-multi:/opt/rational/common/lib/perl5/site_perl/5.6.1:/opt/rational/common/lib/perl5/site_perl
199 export TZ="US/Arizona"
201 alias xv=/prj/Synopsis/gccsparcOS5/ccss/utils/xv/xv
203 export RSU_LICENSE_MAP="/prj/muosran/config/Rational_License_Map"
205 export LM_LICENSE_FILE="flex2:1850@flex2:15280@ranadm2:19353@ranadm2:19355@ranadm2:2468@ranadm2:1717@flex2:1711@bartlett:1711@flex3:27000@ranadm2:28000@ranadm2:5270@flex2"
207 alias xemacs="ssh muosbldforge2 xemacs"
209 export EDITOR="ssh muosbldforge2 xemacs"