- Add AIX support,
- Add --list (-l), --listid (-li) and --listenv (-le) options. - Add and rework many scripts in etc/envmng.d directory...
This commit is contained in:
23
etc/envmng.d/aix-32
Normal file
23
etc/envmng.d/aix-32
Normal file
@@ -0,0 +1,23 @@
|
||||
# $RCSfile: aix-32,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: AIX 32 bits mode
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export OBJECT_MODE=32
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
||||
23
etc/envmng.d/aix-64
Normal file
23
etc/envmng.d/aix-64
Normal file
@@ -0,0 +1,23 @@
|
||||
# $RCSfile: aix-64,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: AIX 64 bits mode
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export OBJECT_MODE=64
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
||||
48
etc/envmng.d/aix-system
Normal file
48
etc/envmng.d/aix-system
Normal file
@@ -0,0 +1,48 @@
|
||||
# $RCSfile: aix-system,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: AIX System base configuration
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
path=/usr/linux/bin:/usr/ucb:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/opt/seos/bin:/usr/games
|
||||
|
||||
shlib_path=/usr/local/lib
|
||||
|
||||
manpath=/usr/local/man:/opt/seos/man:/opt/freeware/man
|
||||
|
||||
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export PATH=$(envmng_path_add "$PATH" "$path")
|
||||
export SHLIB_PATH=$(envmng_path_add "$SHLIB_PATH" "$shlib_path")
|
||||
export MANPATH=$(envmng_path_add "$MANPATH" "$manpath")
|
||||
|
||||
if [ "$DISPLAY" = "" ]
|
||||
then
|
||||
export DISPLAY="$($grep "^$LOGNAME:" $envmng_display | $sed -e "s/^$LOGNAME:[ \ ]*//" -e "s/[ \ ]*#.*$//"):0"
|
||||
fi
|
||||
|
||||
stty erase ^?
|
||||
stty kill ^U
|
||||
stty eol ^@
|
||||
stty susp ^Z
|
||||
stty intr ^C
|
||||
# stty rprnt ^R
|
||||
stty werase ^W
|
||||
stty lnext ^V
|
||||
;;
|
||||
|
||||
*rc)
|
||||
alias ls=ls
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
||||
@@ -1,9 +1,14 @@
|
||||
# $RCSfile: cristal,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: DIAMIS Cristal
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export CRISTALDIR=$TARGET_HOME/cristal/appli
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
# $RCSfile: d2target,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: D2Target project environment
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export TARGET_ID=d2target
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
# $RCSfile: dtarget,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: DTarget project environment
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export TARGET_ID=dtarget
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
# $RCSfile: env_template,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description:
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
;;
|
||||
|
||||
@@ -1,14 +1,19 @@
|
||||
# $RCSfile: gnu,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
path=/home/dtarget/local/bin
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: GNU softwares and libraries
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
shlib_path=/home/dtarget/local/lib
|
||||
path=/usr/local/bin
|
||||
|
||||
manpath=/home/dtarget/local/man:/home/dtarget/local/share/man
|
||||
shlib_path=/usr/local/lib
|
||||
|
||||
manpath=/usr/local/man:/usr/local/share/man
|
||||
|
||||
|
||||
|
||||
@@ -17,6 +22,9 @@ case "$1" in
|
||||
export PATH=$(envmng_path_add "$PATH" "$path")
|
||||
export SHLIB_PATH=$(envmng_path_add "$SHLIB_PATH" "$shlib_path")
|
||||
export MANPATH=$(envmng_path_add "$MANPATH" "$manpath")
|
||||
|
||||
export LESS=-MM
|
||||
export LESSOPEN='|/usr/local/bin/lesspipe.sh %s'
|
||||
;;
|
||||
|
||||
*rc)
|
||||
|
||||
23
etc/envmng.d/hpux-32
Normal file
23
etc/envmng.d/hpux-32
Normal file
@@ -0,0 +1,23 @@
|
||||
# $RCSfile: hpux-32,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: HP/UX 32 bits mode
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export ARCH=32BITS
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
||||
23
etc/envmng.d/hpux-64
Normal file
23
etc/envmng.d/hpux-64
Normal file
@@ -0,0 +1,23 @@
|
||||
# $RCSfile: hpux-64,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: HP/UX 64 bits mode
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export ARCH=64BITS
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
||||
48
etc/envmng.d/hpux-system
Normal file
48
etc/envmng.d/hpux-system
Normal file
@@ -0,0 +1,48 @@
|
||||
# $RCSfile: hpux-system,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: HP/UX System base configuration
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
path=/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/fc/bin:/opt/fcms/bin:/opt/upgrade/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/hparray/bin:/opt/perf/bin:/opt/ignite/bin:/opt/OV/bin/OpC:/opt/resmon/bin:/opt/pred/bin:/opt/langtools/bin:/opt/imake/bin:/opt/aCC/bin:/opt/cxperf/bin:/opt/scr/bin:/opt/graphics/common/bin:/opt/STK/bin:/opt/seos/bin
|
||||
|
||||
shlib_path=/usr/lib
|
||||
|
||||
manpath=/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man:/opt/upgrade/share/man/%L:/opt/upgrade/share/man:/usr/dt/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/hparray/share/man/%L:/opt/hparray/share/man:/opt/ignite/share/man/%L:/opt/ignite/share/man:/opt/perf/man/%L:/opt/perf/man:/opt/OV/man/itose/%L:/opt/OV/man/itose:/opt/resmon/share/man:/opt/pred/share/man/%L:/opt/pred/share/man:/opt/mqm/man:/opt/audio/share/man:/opt/blinklink/share/man:/opt/ansic/share/man/%L:/opt/ansic/share/man:/opt/langtools/share/man/%L:/opt/langtools/share/man:/opt/imake/man:/opt/aCC/share/man/%L:/opt/aCC/share/man:/opt/cxperf/share/man:/opt/scr/share/man:/opt/graphics/common/man:/opt/EMCpower/share:/opt/STK/share/man
|
||||
|
||||
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export PATH=$(envmng_path_add "$PATH" "$path")
|
||||
export SHLIB_PATH=$(envmng_path_add "$SHLIB_PATH" "$shlib_path")
|
||||
export MANPATH=$(envmng_path_add "$MANPATH" "$manpath")
|
||||
|
||||
if [ "$DISPLAY" = "" ]
|
||||
then
|
||||
export DISPLAY="$($grep "^$LOGNAME:" $envmng_display | $sed -e "s/^$LOGNAME:[ \ ]*//" -e "s/[ \ ]*#.*$//"):0"
|
||||
fi
|
||||
|
||||
stty erase ^?
|
||||
stty kill ^U
|
||||
stty eol ^@
|
||||
stty susp ^Z
|
||||
stty intr ^C
|
||||
# stty rprnt ^R
|
||||
stty werase ^W
|
||||
stty lnext ^V
|
||||
;;
|
||||
|
||||
*rc)
|
||||
alias ls=ls
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
||||
@@ -1,9 +1,14 @@
|
||||
# $RCSfile: ic,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: IC (BDF Interlinking Component) application
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export ICDIR=$TARGET_HOME/ic/appli
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
# $RCSfile: imr,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: IMR (Interlinking Message Router) application
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
|
||||
|
||||
32
etc/envmng.d/java14
Normal file
32
etc/envmng.d/java14
Normal file
@@ -0,0 +1,32 @@
|
||||
# $RCSfile: java14,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: IBM Java 1.4 (JDK/JRE)
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export JAVA_HOME=/usr/java14
|
||||
export JDK_HOME=$JAVA_HOME
|
||||
export JRE_HOME=$JAVA_HOME/jre
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# PATH definitions
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
path=$JDK_HOME/bin:$JRE_HOME/bin
|
||||
export PATH=$(envmng_path_add "$PATH" "$path")
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
||||
24
etc/envmng.d/migtt2
Normal file
24
etc/envmng.d/migtt2
Normal file
@@ -0,0 +1,24 @@
|
||||
# $RCSfile: migtt2,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: MigTT2 Project
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export PROJECT_ID=migtt2
|
||||
export PROJECT_HOME=/home/$PROJECT_ID
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
||||
32
etc/envmng.d/mqm-32
Normal file
32
etc/envmng.d/mqm-32
Normal file
@@ -0,0 +1,32 @@
|
||||
# $RCSfile: mqm-32,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: IBM MQSeries 32 bits
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export MQM_HOME=/opt/mqm
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# PATH definitions
|
||||
#----------------------------------------------------------------------------
|
||||
path=$MQM_HOME/bin
|
||||
export PATH=$(envmng_path_add "$PATH" "$path")
|
||||
|
||||
shlib_path=$MQM_HOME/lib
|
||||
export SHLIB_PATH=$(envmng_path_add "$SHLIB_PATH" "$shlib_path")
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
||||
32
etc/envmng.d/mqm-64
Normal file
32
etc/envmng.d/mqm-64
Normal file
@@ -0,0 +1,32 @@
|
||||
# $RCSfile: mqm-64,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: IBM MQSeries 64 bits
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export MQM_HOME=/opt/mqm
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# PATH definitions
|
||||
#----------------------------------------------------------------------------
|
||||
path=$MQM_HOME/bin
|
||||
export PATH=$(envmng_path_add "$PATH" "$path")
|
||||
|
||||
shlib_path=$MQM_HOME/lib64:$MQM_HOME/lib
|
||||
export SHLIB_PATH=$(envmng_path_add "$SHLIB_PATH" "$shlib_path")
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
||||
46
etc/envmng.d/ora10
Normal file
46
etc/envmng.d/ora10
Normal file
@@ -0,0 +1,46 @@
|
||||
# $RCSfile: ora10,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: Oracle 10
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export ORACLE_HOME=/home/logiciel/oracle/ora10
|
||||
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
|
||||
export NLS_LANG=american_america.we8iso8859p1
|
||||
export NLS_SORT=BINARY
|
||||
export ORACLE_TERM=vt100
|
||||
# export ORACLE_RM=Oracle_XA_9
|
||||
|
||||
export FS01=$PROJECT_HOME/${PROJECT_ID}1
|
||||
export FS02=$PROJECT_HOME/${PROJECT_ID}2
|
||||
export FS03=$PROJECT_HOME/${PROJECT_ID}3
|
||||
|
||||
export ORACLE_SID=$(/usr/bin/awk "BEGIN {print toupper(\"$PROJECT_ID\")}")
|
||||
export BASE=$ORACLE_HOME/dbs/sgadef${ORACLE_SID}.dbf
|
||||
# export CONFIGORAIC=$PROJECT_HOME/appli/expl/oracle/ora_target/init
|
||||
# export EXPLORAIC=$PROJECT_HOME/appli/expl/oracle/ora_target
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# PATH definitions
|
||||
#----------------------------------------------------------------------------
|
||||
path=$ORACLE_HOME/bin
|
||||
export PATH=$(envmng_path_add "$PATH" "$path")
|
||||
|
||||
shlib_path=$ORACLE_HOME/lib
|
||||
export SHLIB_PATH=$(envmng_path_add "$SHLIB_PATH" "$shlib_path")
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
||||
@@ -1,9 +1,14 @@
|
||||
# $RCSfile: ora817a,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: Oracle 8.17a
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export ORACLE_HOME=/home/logiciel/oracle/ora817a
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
# $RCSfile: ora920,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: Oracle 9.20
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export ORACLE_HOME=/home/logiciel/oracle/ora920
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
# $RCSfile: ora920a,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: Oracle 9.20a
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export ORACLE_HOME=/home/logiciel/oracle/ora920a
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
# $RCSfile: purify,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: Purify
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
path=/opt/rational/releases/PurifyPlusFamily.2003.06.00/hppa_hpux/bin
|
||||
|
||||
manpath=/opt/rational/releases/purify.hp.2003.06.00/man
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
# $RCSfile: pvcs,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: PVCS
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export PVCS_BINDIR=/home/pvcs/vm/hpux11.00/bin
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
# $RCSfile: shell,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: Shell default configuration
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case $BASH in
|
||||
*bash)
|
||||
shell=$BASH
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
# $RCSfile: snav,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: SNAV Source Naviguator
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
path=/home/dtarget/sourcenav/bin
|
||||
|
||||
manpath=/home/dtarget/sourcenav/man
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
# $RCSfile: stk,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: STERIA Stelink CBT
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export STELINKDIR=$TARGET_HOME/stelink/appli
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
# $RCSfile: tux80,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: Tuxedo 8.0
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export TUXDIR=/home/logiciel/tuxedo/tuxedo80
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
# $RCSfile: tux80a,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: Tuxedo 8.0a
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export TUXDIR=/home/logiciel/tuxedo/tuxedo80a
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
# $RCSfile: user,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: User configuration
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
path=.:~/bin
|
||||
|
||||
shlib_path=~/lib
|
||||
@@ -14,23 +19,39 @@ manpath=~/man
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
set -o emacs
|
||||
|
||||
export PATH=$(envmng_path_add "$PATH" "$path")
|
||||
export SHLIB_PATH=$(envmng_path_add "$SHLIB_PATH" "$shlib_path")
|
||||
export MANPATH=$(envmng_path_add "$MANPATH" "$man_path")
|
||||
|
||||
export EDITOR=xemacs
|
||||
export PAGER=less
|
||||
if $( which xemacs >/dev/null )
|
||||
then
|
||||
export EDITOR=xemacs
|
||||
else
|
||||
export EDITOR=vi
|
||||
fi
|
||||
|
||||
if $( which less >/dev/null )
|
||||
then
|
||||
export PAGER=less
|
||||
else
|
||||
export PAGER=more
|
||||
fi
|
||||
|
||||
set -o emacs
|
||||
# set -o vi
|
||||
;;
|
||||
|
||||
*rc)
|
||||
export PS1="$(hostname)(\$LOGNAME)[\$ENVMNG_ID]\$PWD> "
|
||||
|
||||
alias env-migtt2='envmng -S migtt2-gnu'
|
||||
alias env-dtarget='envmng -S dtarget-gnu'
|
||||
alias env-d2target='envmng -S d2target-gnu'
|
||||
alias env-ksh='envmng --ksh'
|
||||
alias env-bash='envmng --bash'
|
||||
|
||||
set -o emacs
|
||||
# set -o vi
|
||||
;;
|
||||
|
||||
*)
|
||||
@@ -53,4 +74,4 @@ then
|
||||
. ~/.envmng_user $1
|
||||
fi
|
||||
|
||||
echo
|
||||
echo
|
||||
|
||||
33
etc/envmng.d/vac
Normal file
33
etc/envmng.d/vac
Normal file
@@ -0,0 +1,33 @@
|
||||
# $RCSfile: vac,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: IBM VAC C compiler
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export VAC_HOME=/usr/vac
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# PATH definitions
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
path=$VAC_HOME/bin
|
||||
manpath=$VAC_HOME/man/%L
|
||||
|
||||
export PATH=$(envmng_path_add "$PATH" "$path")
|
||||
export MANPATH=$(envmng_path_add "$MANPATH" "$manpath")
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user