#%Module######################################################################
##
##      system Module
##
proc ModulesHelp { } {
        puts stderr "\tThe System Paths Module\n"
        puts stderr "\tThis module loads in the default system paths"
        puts stderr "\tneeded to find common commands and utilities."
        puts stderr "\tExample: /usr/bin"
}

set sys        [uname sysname]
set os         [uname release]

switch -glob $sys {

  SunOS {
          append-path PATH /usr/ccs/bin
          append-path PATH /usr/bin
          append-path PATH /usr/games
          append-path MANPATH     /usr/man:/usr/share/man
          append-path PATH /usr/ucb
  }

  IRIX* {
	append-path PATH /usr/sbin
	append-path PATH /usr/bsd
	append-path PATH /usr/bin
	append-path PATH /usr/etc
	append-path MANPATH /usr/man
	append-path MANPATH /usr/share/catman:/usr/share/man:/usr/catman
	setenv I3D_HOME /usr/local/i3d
	append-path PATH /usr/local/i3d/bin
  }
  Darwin {
    append-path PATH   /bin
    append-path PATH   /sbin
    append-path PATH   /usr/bin
    append-path PATH   /usr/sbin
    append-path MANPATH /usr/man:/usr/share/man:/usr/local/man:/usr/X11R6/man
  }

  Linux {
    append-path PATH   /bin
    append-path PATH   /sbin
    append-path PATH   /usr/bin
    append-path PATH   /usr/sbin
    append-path MANPATH /usr/man:/usr/share/man:/usr/local/man:/usr/X11R6/man
  }

}
#
# end of main switch statement
#
