#
# This is the default standard .profile provided to sh users.
# They are expected to edit it to meet their own needs.
#
# The commands in this file are executed when an sh user first
# logs in.
#
# $Revision: 1.2 $
#

if [ -z "$ENVONLY" ]
then
	# Set the interrupt character to Ctrl-c and do clean backspacing.
	if [ -t 0 ]
	then
		stty intr '^C' echoe 
	fi

	# Set the TERM environment variable
	eval `tset -s -Q`
fi

# Set the default X server.
if [ ${DISPLAY:-setdisplay} = setdisplay ]
then
    if [ ${REMOTEHOST:-islocal} != islocal ]
    then
        DISPLAY=${REMOTEHOST}:0
    else
        DISPLAY=:0
    fi
    export DISPLAY
fi

#
# Settings for Jaleo
#
# Do not remove these settings, or you will jeopardize Jaleo operation

# set filename completion
set filec

# List files in columns if standard out is a terminal.
ls()	{ if [ -t ]; then /bin/ls -FC $*; else /bin/ls $*; fi }

# Set file search path to find Jaleo executables
export path=$HOME/JALEO-ENV/bin:$HOME/JALEO-ENV/utils:$HOME/JALEO-ENV/extern/license:$HOME/JALEO-ENV/extern/license/daemon:$path

# Set X default search path for application settings
export XUSERFILESEARCHPATH=$XUSERFILESEARCHPATH:$HOME/JALEO-ENV/etc/app-defaults/%N

# Limit Core Size
limit coredumpsize 1
