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