#!/bin/sh
#	SID	"@(#)xangoss.sh	3.2 - 95/07/06"
if [ $# = 0 ]; then
     xoac&
     exit 0
fi

x=`basename $0`
if [ X"$1" = X-x ] ; then
	cat <<!
$x [-x] [s or w or d or c] [-a<command>] [-d<dir>] [-oa<size>] [-oe]
	[-od<file>] [-oi] [-om<menu>] [-os<num>] [-ot<size>]
	[-p<file>] [-RAD<path>]

Starts SmartWare PLUS in graphics mode (X11).

-x		Display this explanation
s		Start Spreadsheet (must be first argument)
w		Start Word Processor (must be first argument)
d		Start Data Base (must be first argument)
c		Start Communications (must be first argument)
-a<command>	Run a command ("-afile load \"mydoc\"")
-d<dir>		Data directory (-d/usr/mydir)
-oa<size>	Value stack size (-oa1000)
-oe		Default project execution mode = in-memory
-od<file>	Special start up screen (-odmyfile)
-oi		Suppress start up screen (-oi)
-om<menu>	Optional menu (-ommymenu)
-os<num>	Override detection of speech rec. software
-ot<size>	String stack size (-ot1000)
-p<file>	Run project upon entry (-pstart)
-RAD<path>	Home directory of RAD application to start
-pulldown	Run with pulldown menus

NOTE: For the above agruements, do not put a space between the flag and
      arguements.

X11 Switches

-geometry WxH	Change the size (in characters) W=Width, H=Height
-font fontname	Change the font to use

!
	exit 1
fi

exec xoac $*&
