etc/settings
author nipkow
Wed, 04 Aug 2004 11:25:08 +0200
changeset 15106 e8cef6993701
parent 14981 e73f8140af78
child 15218 39747a9e3c37
permissions -rw-r--r--
aded comment
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10503
wenzelm
parents: 10205
diff changeset
     1
# -*- shell-script -*-
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
     2
# $Id$
9818
wenzelm
parents: 9787
diff changeset
     3
# Author: Markus Wenzel, TU Muenchen
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
     4
#
2309
390c1b6baaa5 added ISAMODE_HOME;
wenzelm
parents: 2294
diff changeset
     5
# Isabelle settings -- site defaults.
9225
4772656ddbbc added site settings check;
wenzelm
parents: 8880
diff changeset
     6
# Do *NOT* copy this file into your personal isabelle directory!!!
2309
390c1b6baaa5 added ISAMODE_HOME;
wenzelm
parents: 2294
diff changeset
     7
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
     8
###
3177
3c1448b9b0ee tuned comments;
wenzelm
parents: 3158
diff changeset
     9
### ML compiler settings (ESSENTIAL!)
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
    10
###
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
    11
9236
899b83e8d2e1 tuned comments;
wenzelm
parents: 9225
diff changeset
    12
# Note that ML_HOME specifies the location of the actual compiler
899b83e8d2e1 tuned comments;
wenzelm
parents: 9225
diff changeset
    13
# binaries.  Do not invent new ML system names unless you know what
9759
8e835ebc862f more polyml choices;
wenzelm
parents: 9745
diff changeset
    14
# you are doing.  Only one of the sections below should be activated.
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
    15
14461
fab539f843d9 look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents: 14451
diff changeset
    16
fab539f843d9 look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents: 14451
diff changeset
    17
# try finding the poly packages from the Isabelle site in the usual places
fab539f843d9 look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents: 14451
diff changeset
    18
POLYML_HOME=$(choosefrom \
fab539f843d9 look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents: 14451
diff changeset
    19
  "$ISABELLE_HOME/contrib/polyml" \
fab539f843d9 look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents: 14451
diff changeset
    20
  "$ISABELLE_HOME/../polyml" \
fab539f843d9 look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents: 14451
diff changeset
    21
  "/usr/share/polyml" \
fab539f843d9 look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents: 14451
diff changeset
    22
  "/usr/local/polyml" \
fab539f843d9 look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents: 14451
diff changeset
    23
  "/opt/polyml")
14447
5b61dc4eab24 include more explanation of variables
kleing
parents: 14344
diff changeset
    24
14461
fab539f843d9 look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents: 14451
diff changeset
    25
if [ -n "$POLYML_HOME" -a -e "$POLYML_HOME/bin/polyml-version" ]; then
fab539f843d9 look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents: 14451
diff changeset
    26
  # looks like Isabelle poly packages
fab539f843d9 look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents: 14451
diff changeset
    27
  ML_SYSTEM=$("$POLYML_HOME/bin/polyml-version" 2>/dev/null || echo polyml)
fab539f843d9 look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents: 14451
diff changeset
    28
  ML_PLATFORM=$("$POLYML_HOME/bin/polyml-platform" 2>/dev/null || echo unknown-platform)
fab539f843d9 look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents: 14451
diff changeset
    29
  ML_HOME="$POLYML_HOME/$ML_PLATFORM"
fab539f843d9 look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents: 14451
diff changeset
    30
  ML_OPTIONS="-h 15000"
fab539f843d9 look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents: 14451
diff changeset
    31
elif [ -e /usr/bin/poly -a -e /usr/lib/poly ]; then
fab539f843d9 look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents: 14451
diff changeset
    32
  # maybe a shrink-wrapped polyml on x86-linux ...
fab539f843d9 look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents: 14451
diff changeset
    33
14613
f0e4b502a208 do not mention poly 3.x any more (it is untested)
kleing
parents: 14461
diff changeset
    34
  # Poly/ML 4.0, 4.1, 4.1.x
14447
5b61dc4eab24 include more explanation of variables
kleing
parents: 14344
diff changeset
    35
  # include version number, needed for choosing right options
5b61dc4eab24 include more explanation of variables
kleing
parents: 14344
diff changeset
    36
  ML_SYSTEM=polyml-4.1.3    
5b61dc4eab24 include more explanation of variables
kleing
parents: 14344
diff changeset
    37
  # processor/OS type
10205
7f3d844c9512 even smarter setup for several installations of Poly/ML 3.x and 4.0;
wenzelm
parents: 10070
diff changeset
    38
  ML_PLATFORM=x86-linux
14447
5b61dc4eab24 include more explanation of variables
kleing
parents: 14344
diff changeset
    39
  # where to find binaries
10205
7f3d844c9512 even smarter setup for several installations of Poly/ML 3.x and 4.0;
wenzelm
parents: 10070
diff changeset
    40
  ML_HOME=/usr/bin
14447
5b61dc4eab24 include more explanation of variables
kleing
parents: 14344
diff changeset
    41
  # where to find the standard database
10205
7f3d844c9512 even smarter setup for several installations of Poly/ML 3.x and 4.0;
wenzelm
parents: 10070
diff changeset
    42
  ML_DBASE=/usr/lib/poly/ML_dbase
14447
5b61dc4eab24 include more explanation of variables
kleing
parents: 14344
diff changeset
    43
  # options to pass to poly
12752
f80407a8deda ML_OPTIONS="-h 15000" (used to be 30000);
wenzelm
parents: 12687
diff changeset
    44
  ML_OPTIONS="-h 15000"
10205
7f3d844c9512 even smarter setup for several installations of Poly/ML 3.x and 4.0;
wenzelm
parents: 10070
diff changeset
    45
fi
8345
e708af969264 new Poly/ML setup made default;
wenzelm
parents: 7873
diff changeset
    46
5708
fb09ab6a447f dropped support for SML/NJ 109.x;
wenzelm
parents: 5659
diff changeset
    47
# Standard ML of New Jersey 110 or later
8345
e708af969264 new Poly/ML setup made default;
wenzelm
parents: 7873
diff changeset
    48
#ML_SYSTEM=smlnj-110
9787
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
    49
#ML_HOME="$ISABELLE_HOME/../smlnj/bin"
8345
e708af969264 new Poly/ML setup made default;
wenzelm
parents: 7873
diff changeset
    50
#ML_OPTIONS="@SMLdebug=/dev/null"
9787
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
    51
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
5708
fb09ab6a447f dropped support for SML/NJ 109.x;
wenzelm
parents: 5659
diff changeset
    52
9252
83060e826e02 Moscow ML 2.00 or later (experimental!);
wenzelm
parents: 9236
diff changeset
    53
# Moscow ML 2.00 or later (experimental!)
83060e826e02 Moscow ML 2.00 or later (experimental!);
wenzelm
parents: 9236
diff changeset
    54
#ML_SYSTEM=mosml
9787
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
    55
#ML_HOME="$ISABELLE_HOME/../mosml/bin"
6413
b2f2770ef8d9 ML_PLATFORM;
wenzelm
parents: 5964
diff changeset
    56
#ML_PLATFORM=""
9252
83060e826e02 Moscow ML 2.00 or later (experimental!);
wenzelm
parents: 9236
diff changeset
    57
#ML_OPTIONS=""
5708
fb09ab6a447f dropped support for SML/NJ 109.x;
wenzelm
parents: 5659
diff changeset
    58
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
    59
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
    60
###
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
    61
### Compilation options for isatool usedir
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
    62
### (as on command line)
2435
750a73406623 added ISABELLE_HTML;
wenzelm
parents: 2426
diff changeset
    63
###
750a73406623 added ISABELLE_HTML;
wenzelm
parents: 2426
diff changeset
    64
14253
kleing
parents: 14252
diff changeset
    65
ISABELLE_USEDIR_OPTIONS="-v true"
11569
06d6f1ea6021 updated;
wenzelm
parents: 11552
diff changeset
    66
14044
bbd2f7b00736 set HOL_PROOF_OBJECTS in settings, not makefile (makes override in user settings possible)
kleing
parents: 13920
diff changeset
    67
# for overriding proof objects in HOL image
bbd2f7b00736 set HOL_PROOF_OBJECTS in settings, not makefile (makes override in user settings possible)
kleing
parents: 13920
diff changeset
    68
HOL_PROOF_OBJECTS=""
bbd2f7b00736 set HOL_PROOF_OBJECTS in settings, not makefile (makes override in user settings possible)
kleing
parents: 13920
diff changeset
    69
2435
750a73406623 added ISABELLE_HTML;
wenzelm
parents: 2426
diff changeset
    70
750a73406623 added ISABELLE_HTML;
wenzelm
parents: 2426
diff changeset
    71
###
7773
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
    72
### Document preparation
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
    73
###
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
    74
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
    75
# latex command for isatool latex/document
7773
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
    76
ISABELLE_LATEX="latex"
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
    77
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
    78
# pdflatex command for isatool latex/document
7773
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
    79
ISABELLE_PDFLATEX="pdflatex"
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
    80
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
    81
# bibtex command for isatool latex/document
7813
4412debd3004 added ISABELLE_BIBTEX;
wenzelm
parents: 7776
diff changeset
    82
ISABELLE_BIBTEX="bibtex"
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
    83
14344
0f0a2148a099 run makeindex if necessary
kleing
parents: 14253
diff changeset
    84
# makeindex command for isatool latex/document
0f0a2148a099 run makeindex if necessary
kleing
parents: 14253
diff changeset
    85
ISABELLE_MAKEINDEX="makeindex"
0f0a2148a099 run makeindex if necessary
kleing
parents: 14253
diff changeset
    86
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
    87
# dvips command for isatool latex/document
7773
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
    88
ISABELLE_DVIPS="dvips -D 600"
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
    89
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
    90
# epstopdf command for isatool latex/document
11800
5f84c687ba06 ISABELLE_EPSTOPDF="epstopdf";
wenzelm
parents: 11569
diff changeset
    91
ISABELLE_EPSTOPDF="epstopdf"
7773
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
    92
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
    93
# Paranoia setting for strange latex installations ...
11062
wenzelm
parents: 10503
diff changeset
    94
#unset TEXMF
wenzelm
parents: 10503
diff changeset
    95
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
    96
# If ISABELLE_THUMBPDF is set, isatool tries to
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
    97
# generate thumbnails for proof documents
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
    98
#
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
    99
# probably not generally available ...
11062
wenzelm
parents: 10503
diff changeset
   100
#type -path thumbpdf >/dev/null && ISABELLE_THUMBPDF="thumbpdf"
7864
5cd5a27f5c93 thumbpdf (disabled by default);
wenzelm
parents: 7813
diff changeset
   101
7773
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
   102
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
   103
###
2968
8ba30b031f31 eliminated PLATFORM;
wenzelm
parents: 2915
diff changeset
   104
### Misc path settings
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   105
###
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   106
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   107
# The place for user configuration, heap files, etc.
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   108
ISABELLE_HOME_USER=~/isabelle
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   109
3177
3c1448b9b0ee tuned comments;
wenzelm
parents: 3158
diff changeset
   110
# Where to look for isabelle tools (multiple dirs separated by ':').
9787
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
   111
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
2786
b36ca42c409a tuned comments;
wenzelm
parents: 2780
diff changeset
   112
4334
e567f3425267 ISABELLE_TMP_PREFIX;
wenzelm
parents: 3689
diff changeset
   113
# Location for temporary files (should be on a local file system).
9787
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
   114
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
4334
e567f3425267 ISABELLE_TMP_PREFIX;
wenzelm
parents: 3689
diff changeset
   115
2786
b36ca42c409a tuned comments;
wenzelm
parents: 2780
diff changeset
   116
9787
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
   117
# Heap input locations. ML system identifier is included in lookup.
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
   118
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
2780
1dc77f6d83e1 added THIS_IS_ISABELLE_BUILD discrimination;
wenzelm
parents: 2742
diff changeset
   119
9787
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
   120
# Heap output location. ML system identifier is appended automatically later on.
2780
1dc77f6d83e1 added THIS_IS_ISABELLE_BUILD discrimination;
wenzelm
parents: 2742
diff changeset
   121
if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then
9787
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
   122
  #Isabelle build tells us to store heaps etc. within the distribution.
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
   123
  ISABELLE_OUTPUT="$ISABELLE_HOME/heaps"
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
   124
  ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info"
2780
1dc77f6d83e1 added THIS_IS_ISABELLE_BUILD discrimination;
wenzelm
parents: 2742
diff changeset
   125
else
9787
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
   126
  ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
   127
  ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
2780
1dc77f6d83e1 added THIS_IS_ISABELLE_BUILD discrimination;
wenzelm
parents: 2742
diff changeset
   128
fi
1dc77f6d83e1 added THIS_IS_ISABELLE_BUILD discrimination;
wenzelm
parents: 2742
diff changeset
   129
9225
4772656ddbbc added site settings check;
wenzelm
parents: 8880
diff changeset
   130
# Site settings check -- just to make it a little bit harder to copy this file!
4772656ddbbc added site settings check;
wenzelm
parents: 8880
diff changeset
   131
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
4772656ddbbc added site settings check;
wenzelm
parents: 8880
diff changeset
   132
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
4772656ddbbc added site settings check;
wenzelm
parents: 8880
diff changeset
   133
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   134
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   135
###
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   136
### default logic, users may want to override this.
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   137
###
3184
4e0bbfb113d5 renamed DEFAULT_LOGIC to ISABELLE_LOGIC;
wenzelm
parents: 3182
diff changeset
   138
ISABELLE_LOGIC=HOL
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   139
2786
b36ca42c409a tuned comments;
wenzelm
parents: 2780
diff changeset
   140
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   141
###
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   142
### Docs
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   143
###
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   144
3177
3c1448b9b0ee tuned comments;
wenzelm
parents: 3158
diff changeset
   145
#Where to look for docs (multiple dirs separated by ':').
9787
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
   146
ISABELLE_DOCS="$ISABELLE_HOME/doc"
2345
8e45991e3601 added ISABELLE_DOCS;
wenzelm
parents: 2309
diff changeset
   147
3177
3c1448b9b0ee tuned comments;
wenzelm
parents: 3158
diff changeset
   148
#The dvi file viewer
3062
be354f68d340 improved DVI_VIEWER default;
wenzelm
parents: 3009
diff changeset
   149
DVI_VIEWER=xdvi
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   150
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
11103
wenzelm
parents: 11062
diff changeset
   151
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
2476
dae7f8ca5001 added dvi viewer alternative;
wenzelm
parents: 2466
diff changeset
   152
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
3062
be354f68d340 improved DVI_VIEWER default;
wenzelm
parents: 3009
diff changeset
   153
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
2345
8e45991e3601 added ISABELLE_DOCS;
wenzelm
parents: 2309
diff changeset
   154
14933
3fd8c03e3ee6 added PRINT_COMMAND setting
wenzelm
parents: 14871
diff changeset
   155
#Printer spool command for PS files
3fd8c03e3ee6 added PRINT_COMMAND setting
wenzelm
parents: 14871
diff changeset
   156
PRINT_COMMAND=lp
3fd8c03e3ee6 added PRINT_COMMAND setting
wenzelm
parents: 14871
diff changeset
   157
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   158
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   159
###
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   160
### Interfaces
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   161
###
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   162
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   163
# ISABELLE_INTERFACE is the program which is run by the Isabelle command
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   164
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   165
# Fallback: the null interface (pass-through to raw isabelle process).
11552
aca5398ccd35 ISABELLE_INTERFACE=none by default (cannot expect X11 everywhere);
wenzelm
parents: 11103
diff changeset
   166
ISABELLE_INTERFACE=none
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   167
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   168
# Emacs running (obsolete) Isamode.
2968
8ba30b031f31 eliminated PLATFORM;
wenzelm
parents: 2915
diff changeset
   169
#ISABELLE_INTERFACE=emacs
9787
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
   170
ISAMODE_HOME="$ISABELLE_HOME/contrib/Isamode"
5964
a825c5929f4f improved comment;
wenzelm
parents: 5770
diff changeset
   171
ISAMODE_OPTIONS=""
a825c5929f4f improved comment;
wenzelm
parents: 5770
diff changeset
   172
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   173
# Proof General path, look in a variety of places
9679
6dca83af209b choosefrom: easy settings;
wenzelm
parents: 9569
diff changeset
   174
ISABELLE_INTERFACE=$(choosefrom \
6dca83af209b choosefrom: easy settings;
wenzelm
parents: 9569
diff changeset
   175
  "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
6dca83af209b choosefrom: easy settings;
wenzelm
parents: 9569
diff changeset
   176
  "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
9787
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
   177
  "/usr/share/ProofGeneral/isar/interface" \
9948
3a01ecb6f65d easy settings: add /usr/local prefix;
wenzelm
parents: 9818
diff changeset
   178
  "/usr/local/ProofGeneral/isar/interface" \
10070
fefb958b52aa tuned auto paths;
wenzelm
parents: 9994
diff changeset
   179
  "/opt/ProofGeneral/isar/interface" \
9956
e75e6a603e71 added /usr/share/emacs/ProofGeneral/isar/interface choice;
wenzelm
parents: 9948
diff changeset
   180
  "/usr/share/emacs/ProofGeneral/isar/interface" \
9679
6dca83af209b choosefrom: easy settings;
wenzelm
parents: 9569
diff changeset
   181
  "$ISABELLE_INTERFACE")
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   182
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   183
# Options to pass to Isabelle command when PG is selected as interface
5964
a825c5929f4f improved comment;
wenzelm
parents: 5770
diff changeset
   184
PROOFGENERAL_OPTIONS=""
11981
wenzelm
parents: 11800
diff changeset
   185
#PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true"
7185
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   186
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   187
# try xemacs first, else emacs
12476
eca43a50e4a4 removed installfonts, xterm interface;
wenzelm
parents: 11981
diff changeset
   188
type -path xemacs >/dev/null || PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS"
eca43a50e4a4 removed installfonts, xterm interface;
wenzelm
parents: 11981
diff changeset
   189
eca43a50e4a4 removed installfonts, xterm interface;
wenzelm
parents: 11981
diff changeset
   190
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   191
# X-Symbol installation location (for Proof General, obsolete for PG >= 3.5)
9679
6dca83af209b choosefrom: easy settings;
wenzelm
parents: 9569
diff changeset
   192
XSYMBOL_HOME=$(choosefrom \
6dca83af209b choosefrom: easy settings;
wenzelm
parents: 9569
diff changeset
   193
  "$ISABELLE_HOME/contrib/x-symbol" \
6dca83af209b choosefrom: easy settings;
wenzelm
parents: 9569
diff changeset
   194
  "$ISABELLE_HOME/../x-symbol" \
9787
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
   195
  "/usr/share/x-symbol" \
9948
3a01ecb6f65d easy settings: add /usr/local prefix;
wenzelm
parents: 9818
diff changeset
   196
  "/usr/local/x-symbol" \
10070
fefb958b52aa tuned auto paths;
wenzelm
parents: 9994
diff changeset
   197
  "/opt/x-symbol" \
9679
6dca83af209b choosefrom: easy settings;
wenzelm
parents: 9569
diff changeset
   198
  "")
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   199
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   200
# Executed before xemacs with ProofGeneral is called.
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   201
# Required for remote fonts only.
9994
b06f6d2eef5f XSYMBOL_INSTALLFONTS is back;
wenzelm
parents: 9989
diff changeset
   202
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
9569
68400ff46b09 X-Symbol mode -- look in canonical place;
wenzelm
parents: 9252
diff changeset
   203
7185
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   204
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   205
###
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   206
### External reasoning tools
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   207
###
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   208
7194
wenzelm
parents: 7185
diff changeset
   209
## Set HOME only for tools you have installed!
7185
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   210
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   211
# SVC (Stanford Validity Checker)
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   212
#SVC_HOME=
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   213
#SVC_MACHINE=i386-redhat-linux
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   214
#SVC_MACHINE=sparc-sun-solaris
7296
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   215
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   216
# Mucke (mu-calculus model checker)
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   217
#MUCKE_HOME=/usr/local/bin
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   218
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   219
# Einhoven model checker
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   220
#EINDHOVEN_HOME=/usr/local/bin
14451
2253d273d944 ZCHAFF_HOME variable added
webertj
parents: 14447
diff changeset
   221
14942
78ddcbebace1 entries for ZChaff and BerkMin added/modified
webertj
parents: 14933
diff changeset
   222
# ZChaff, Version 2003.12.04 (SAT Solver)
14451
2253d273d944 ZCHAFF_HOME variable added
webertj
parents: 14447
diff changeset
   223
#ZCHAFF_HOME=/usr/local/bin
14942
78ddcbebace1 entries for ZChaff and BerkMin added/modified
webertj
parents: 14933
diff changeset
   224
78ddcbebace1 entries for ZChaff and BerkMin added/modified
webertj
parents: 14933
diff changeset
   225
# BerkMin561 (SAT Solver)
78ddcbebace1 entries for ZChaff and BerkMin added/modified
webertj
parents: 14933
diff changeset
   226
#BERKMIN_HOME=/usr/local/bin
78ddcbebace1 entries for ZChaff and BerkMin added/modified
webertj
parents: 14933
diff changeset
   227
#BERKMIN_EXE=BerkMin561-linux
78ddcbebace1 entries for ZChaff and BerkMin added/modified
webertj
parents: 14933
diff changeset
   228
#BERKMIN_EXE=BerkMin561-solaris
14943
ffdb22cf6f67 Jerusat settings added
webertj
parents: 14942
diff changeset
   229
ffdb22cf6f67 Jerusat settings added
webertj
parents: 14942
diff changeset
   230
# Jerusat 1.3 (SAT Solver)
ffdb22cf6f67 Jerusat settings added
webertj
parents: 14942
diff changeset
   231
#JERUSAT_HOME=/usr/local/bin