2009-01-13 14:27:53 +01:00
|
|
|
# $RCSfile: aix-system,v $
|
2009-01-13 17:59:17 +01:00
|
|
|
# $Revision: 1.2 $
|
2009-01-13 14:27:53 +01:00
|
|
|
# $Name: $
|
2009-01-13 17:59:17 +01:00
|
|
|
# $Date: 2009/01/13 16:59:17 $
|
2009-01-13 14:27:53 +01:00
|
|
|
# $Author: agibert $
|
|
|
|
|
|
|
|
# EnvMng Environment configuration
|
|
|
|
#
|
|
|
|
# description: AIX System base configuration
|
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
case "$1" in
|
|
|
|
*profile)
|
2009-01-13 17:59:17 +01:00
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
# PATH definitions
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
path=/usr/linux/bin:/usr/ucb:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/opt/seos/bin:/usr/games
|
|
|
|
libpath=/usr/local/lib
|
|
|
|
manpath=/usr/local/man:/opt/seos/man:/opt/freeware/man
|
|
|
|
|
2009-01-13 14:27:53 +01:00
|
|
|
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
|