Index: ossp-pkg/due/.due/due.fs.sh RCS File: /v/ossp/cvs/ossp-pkg/due/.due/due.fs.sh,v rcsdiff -q -kk '-r1.1' '-r1.2' -u '/v/ossp/cvs/ossp-pkg/due/.due/due.fs.sh,v' 2>/dev/null --- due.fs.sh 2004/10/22 19:32:52 1.1 +++ due.fs.sh 2004/10/24 19:10:38 1.2 @@ -42,3 +42,6 @@ return 0 } +# canonicalization of df(1) output +alias df='command df -k' + Index: ossp-pkg/due/.due/due.platform.sh RCS File: /v/ossp/cvs/ossp-pkg/due/.due/due.platform.sh,v rcsdiff -q -kk '-r1.2' '-r1.3' -u '/v/ossp/cvs/ossp-pkg/due/.due/due.platform.sh,v' 2>/dev/null --- due.platform.sh 2004/10/22 19:32:52 1.2 +++ due.platform.sh 2004/10/24 19:10:38 1.3 @@ -35,13 +35,13 @@ OSVEND=unknown # adjust platform specific base run-time environment -case $OSTYPE in - FreeBSD* ) +case $OSNAME in + freebsd ) PATH="/bin:/usr/bin:/sbin:/usr/sbin" LD_LIBRARY_PATH="/usr/lib:/usr/lib/compat" MANPATH="/usr/share/man" ;; - Linux* ) + linux ) PATH="/bin:/usr/bin:/sbin:/usr/sbin" LD_LIBRARY_PATH="/lib:/usr/lib" MANPATH="/usr/man:/usr/share/man" @@ -51,7 +51,7 @@ elif [ -f /etc/SuSE-release ]; then OSVEND=SuSE fi ;; - SunOS* ) + solaris ) PATH="/usr/bin:/usr/ccs/bin:/usr/sbin:/sbin" LD_LIBRARY_PATH="/usr/lib:/usr/ccs/lib" MANPATH="/usr/share/man" @@ -64,3 +64,17 @@ esac activate_generic /usr/X11R6 /usr/X11 /usr/openwin +# platform specific convenience command line argument mapping +case $OSNAME in + solaris | hpux ) + function ps () { + if [ ".$1" = ".-ax" -o ".$1" = ".-aux" ]; then + shift + command ps -ef "$@" + else + command ps "$@" + fi + } + ;; +esac +