#!/bin/sh
# bxadd



# Joseph Rosevear before 200516 I wrote this script.

# Joseph Rosevear 200516 I changed the invocation of the shell.  Before
# it opened xterm.  Now it opens SAM using $place/begin.

# Joseph Rosevear 230502 I messed with this script and put it back to
# right.  That is why there is the comment that begins:
#
#    ". $place/tryit/tryit5"

# Joseph Rosevear 230503 I changed this script to use B.  To do that I
# replaced this:

#    $place/begin 

# with:

#    $place/B "`/$place/set2`; love; sam_bye_command=exit"

# Joseph Rosevear 230504 I changed this script to use begin..  To do
# that I replaced this:

#    $place/B "`/$place/set2`; love; sam_bye_command=exit"

# with:

#    $place/begin

# Joseph Rosevear 230522 I changed the line that invokes begin.  It
# was:

#    DISPLAY=:$1 export sh_flag=sh; sam_task=`basename $0` sam_iconic=true \
#    $place/begin

# now:

#    DISPLAY=:$1 sam_task=`basename $0` sam_iconic=true $place/begin

# Joseph Rosevear 230606 I changed the line that invokdes begin.  I
# replaced "sam_iconic=true" with "xterm_opt=-iconic".



place=`dirname $0`

xauth add :$1 . `cat /tmp/xauth`
DISPLAY=:$1 sam_task=`basename $0` xterm_opt=-iconic $place/begin

echo sleeping for 5 seconds
sleep 5
