[Migrated content. Thread originally posted on 25 September 2007]
I found the most common cause of problems when you set USE_UNIX_SHELL is the "interactive" stuff performed in user's login scripts (e.g. /home/bill/.bash_profile). Here's an example of how we've modified our login scripts to accommodate AcuConnect:-# a shell started by acurcl (with USE_UNIX_SHELL=1) will skip over this:
if [ "$PS1" ]; then
# shell is interactive, so put your interactive code here.
# the following will loop endlessly if started via acurcl:
while [ -z "fname" ]; do
echo -n "What is your first name? "
read fname
done
echo "Hello $fname"
fi
# no more interactive code beyond here! 


