aboutsummaryrefslogtreecommitdiffhomepage
path: root/isar/interface
diff options
context:
space:
mode:
authorGravatar Makarius Wenzel <makarius@sketis.net>2000-02-11 17:46:54 +0000
committerGravatar Makarius Wenzel <makarius@sketis.net>2000-02-11 17:46:54 +0000
commit0839ce46a19e9775d742582814da1259475d4536 (patch)
tree23bfea11da47f0a40ef3f5af36870c9bfa94cee2 /isar/interface
parent64f5c3275097b3004937aeb3e287a4c6123c62bb (diff)
option -x: enable x-symbol package;
Diffstat (limited to 'isar/interface')
-rw-r--r--isar/interface9
1 files changed, 8 insertions, 1 deletions
diff --git a/isar/interface b/isar/interface
index a62df5ca..38adfa7a 100644
--- a/isar/interface
+++ b/isar/interface
@@ -19,6 +19,7 @@ function usage()
echo " -p NAME Emacs program name (default xemacs)"
echo " -u BOOL use .emacs file (default true)"
echo " -w BOOL use window system (default true)"
+ echo " -x BOOL enable x-symbol package"
echo
echo "Starts Proof General for Isabelle/Isar with proof documents FILES"
echo "(default Scratch.thy)."
@@ -46,11 +47,12 @@ LOGIC="$ISABELLE_LOGIC"
PROGNAME="xemacs"
INITFILE="true"
WINDOWSYSTEM="true"
+XSYMBOL=""
function getoptions()
{
OPTIND=1
- while getopts "l:p:u:w:" OPT
+ while getopts "l:p:u:w:x:" OPT
do
case "$OPT" in
l)
@@ -65,6 +67,9 @@ function getoptions()
w)
WINDOWSYSTEM="$OPTARG"
;;
+ x)
+ XSYMBOL="$OPTARG"
+ ;;
\?)
usage
;;
@@ -110,4 +115,6 @@ done
export PROOFGENERAL_ASSISTANTS=isar
export PROOFGENERAL_LOGIC="$LOGIC"
+export PROOFGENERAL_XSYMBOL="$XSYMBOL"
+
exec $PROGNAME $ARGS $FILES