etc/settings
author wenzelm
Sat, 01 Jul 2000 19:55:22 +0200
changeset 9230 17ae63f82ad8
parent 9225 4772656ddbbc
child 9236 899b83e8d2e1
permissions -rw-r--r--
GPLed;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
     1
#
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
2786
b36ca42c409a tuned comments;
wenzelm
parents: 2780
diff changeset
    11
## Uncomment and adapt one of the sections below.  Note that ML_HOME
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
    12
## specifies the location of the actual compiler binaries.
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
    13
8345
e708af969264 new Poly/ML setup made default;
wenzelm
parents: 7873
diff changeset
    14
# Poly/ML 3.x
e708af969264 new Poly/ML setup made default;
wenzelm
parents: 7873
diff changeset
    15
POLYML_HOME=$ISABELLE_HOME/../polyml
e708af969264 new Poly/ML setup made default;
wenzelm
parents: 7873
diff changeset
    16
ML_PLATFORM=$($POLYML_HOME/bin/polyml-platform 2>/dev/null)
e708af969264 new Poly/ML setup made default;
wenzelm
parents: 7873
diff changeset
    17
ML_HOME=$POLYML_HOME/$ML_PLATFORM
e708af969264 new Poly/ML setup made default;
wenzelm
parents: 7873
diff changeset
    18
ML_SYSTEM=polyml-3.x
e708af969264 new Poly/ML setup made default;
wenzelm
parents: 7873
diff changeset
    19
ML_OPTIONS="-h 30000"
e708af969264 new Poly/ML setup made default;
wenzelm
parents: 7873
diff changeset
    20
5708
fb09ab6a447f dropped support for SML/NJ 109.x;
wenzelm
parents: 5659
diff changeset
    21
# Standard ML of New Jersey 110 or later
8345
e708af969264 new Poly/ML setup made default;
wenzelm
parents: 7873
diff changeset
    22
#ML_SYSTEM=smlnj-110
e708af969264 new Poly/ML setup made default;
wenzelm
parents: 7873
diff changeset
    23
#ML_HOME=$ISABELLE_HOME/../smlnj/bin
e708af969264 new Poly/ML setup made default;
wenzelm
parents: 7873
diff changeset
    24
#ML_OPTIONS="@SMLdebug=/dev/null"
e708af969264 new Poly/ML setup made default;
wenzelm
parents: 7873
diff changeset
    25
#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
    26
fb09ab6a447f dropped support for SML/NJ 109.x;
wenzelm
parents: 5659
diff changeset
    27
# MLWorks 2.0 or later
fb09ab6a447f dropped support for SML/NJ 109.x;
wenzelm
parents: 5659
diff changeset
    28
#ML_SYSTEM=mlworks
fb09ab6a447f dropped support for SML/NJ 109.x;
wenzelm
parents: 5659
diff changeset
    29
#ML_HOME=/usr/local/mlworks/bin
fb09ab6a447f dropped support for SML/NJ 109.x;
wenzelm
parents: 5659
diff changeset
    30
#ML_OPTIONS=""
6413
b2f2770ef8d9 ML_PLATFORM;
wenzelm
parents: 5964
diff changeset
    31
#ML_PLATFORM=""
5708
fb09ab6a447f dropped support for SML/NJ 109.x;
wenzelm
parents: 5659
diff changeset
    32
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
    33
# Poly/ML 2.x
2435
750a73406623 added ISABELLE_HTML;
wenzelm
parents: 2426
diff changeset
    34
#ML_SYSTEM=polyml-2.07
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
    35
#ML_HOME=/usr/local/ldist/DIR/polyml/polyml/solaris2
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
    36
#ML_OPTIONS="-h 30000"
6413
b2f2770ef8d9 ML_PLATFORM;
wenzelm
parents: 5964
diff changeset
    37
#ML_PLATFORM=""
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
    38
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
    39
# Standard ML of New Jersey 0.93
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
    40
#ML_SYSTEM=smlnj-0.93
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
    41
#ML_HOME=/usr/local/ldist/DIR/sml-0.93/src
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
    42
#ML_OPTIONS=""
6413
b2f2770ef8d9 ML_PLATFORM;
wenzelm
parents: 5964
diff changeset
    43
#ML_PLATFORM=""
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
    44
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
    45
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
    46
###
3177
3c1448b9b0ee tuned comments;
wenzelm
parents: 3158
diff changeset
    47
### Compilation options
2435
750a73406623 added ISABELLE_HTML;
wenzelm
parents: 2426
diff changeset
    48
###
750a73406623 added ISABELLE_HTML;
wenzelm
parents: 2426
diff changeset
    49
5387
8f1157817bb6 ISABELLE_USEDIR_OPTIONS="-i false";
wenzelm
parents: 4708
diff changeset
    50
ISABELLE_USEDIR_OPTIONS="-i false"
7762
c98d70538033 ISABELLE_USEDIR_OPTIONS: -d pdf option (off by default);
wenzelm
parents: 7296
diff changeset
    51
#ISABELLE_USEDIR_OPTIONS="-i true -d pdf"
2435
750a73406623 added ISABELLE_HTML;
wenzelm
parents: 2426
diff changeset
    52
750a73406623 added ISABELLE_HTML;
wenzelm
parents: 2426
diff changeset
    53
750a73406623 added ISABELLE_HTML;
wenzelm
parents: 2426
diff changeset
    54
###
7773
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
    55
### Document preparation
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
    56
###
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
    57
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
    58
TEXINPUTS="$ISABELLE_HOME/lib/texinputs:$TEXINPUTS"
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
    59
ISABELLE_LATEX="latex"
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
    60
ISABELLE_PDFLATEX="pdflatex"
7813
4412debd3004 added ISABELLE_BIBTEX;
wenzelm
parents: 7776
diff changeset
    61
ISABELLE_BIBTEX="bibtex"
7773
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
    62
ISABELLE_DVIPS="dvips -D 600"
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
    63
7873
5d1200c7a671 fixed comment;
wenzelm
parents: 7864
diff changeset
    64
# The thumbpdf tool is probably not generally available ...
7864
5cd5a27f5c93 thumbpdf (disabled by default);
wenzelm
parents: 7813
diff changeset
    65
#ISABELLE_THUMBPDF="thumbpdf"
5cd5a27f5c93 thumbpdf (disabled by default);
wenzelm
parents: 7813
diff changeset
    66
7773
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
    67
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
    68
###
2968
8ba30b031f31 eliminated PLATFORM;
wenzelm
parents: 2915
diff changeset
    69
### Misc path settings
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
    70
###
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
    71
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
    72
# The place for user configuration, heap files, etc.
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
    73
ISABELLE_HOME_USER=~/isabelle
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
    74
3177
3c1448b9b0ee tuned comments;
wenzelm
parents: 3158
diff changeset
    75
# Where to look for isabelle tools (multiple dirs separated by ':').
2786
b36ca42c409a tuned comments;
wenzelm
parents: 2780
diff changeset
    76
ISABELLE_TOOLS=$ISABELLE_HOME/lib/Tools
b36ca42c409a tuned comments;
wenzelm
parents: 2780
diff changeset
    77
4334
e567f3425267 ISABELLE_TMP_PREFIX;
wenzelm
parents: 3689
diff changeset
    78
# Location for temporary files (should be on a local file system).
4708
580bf0f3ef79 replaced $LOGNAME by $USER;
wenzelm
parents: 4579
diff changeset
    79
ISABELLE_TMP_PREFIX=/tmp/isabelle-$USER
4334
e567f3425267 ISABELLE_TMP_PREFIX;
wenzelm
parents: 3689
diff changeset
    80
2786
b36ca42c409a tuned comments;
wenzelm
parents: 2780
diff changeset
    81
3118
24dae6222579 fixed ISABELLE_OUTPUT, ISABELLE_PATH (finally?);
wenzelm
parents: 3062
diff changeset
    82
# Heap file locations. ML system identifier appended automatically!
2786
b36ca42c409a tuned comments;
wenzelm
parents: 2780
diff changeset
    83
3118
24dae6222579 fixed ISABELLE_OUTPUT, ISABELLE_PATH (finally?);
wenzelm
parents: 3062
diff changeset
    84
ISABELLE_PATH=$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps
2780
1dc77f6d83e1 added THIS_IS_ISABELLE_BUILD discrimination;
wenzelm
parents: 2742
diff changeset
    85
4413
0d246395e311 polyml-3.1;
wenzelm
parents: 4412
diff changeset
    86
#A hack! Isabelle build tells us to store heaps etc. within the
0d246395e311 polyml-3.1;
wenzelm
parents: 4412
diff changeset
    87
#distribution.
2780
1dc77f6d83e1 added THIS_IS_ISABELLE_BUILD discrimination;
wenzelm
parents: 2742
diff changeset
    88
if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then
3118
24dae6222579 fixed ISABELLE_OUTPUT, ISABELLE_PATH (finally?);
wenzelm
parents: 3062
diff changeset
    89
  ISABELLE_OUTPUT=$ISABELLE_HOME/heaps
3637
02ba2acc69c3 Added new environment variable ISABELLE_BROWSER_INFO.
berghofe
parents: 3596
diff changeset
    90
  ISABELLE_BROWSER_INFO=$ISABELLE_HOME/browser_info
2780
1dc77f6d83e1 added THIS_IS_ISABELLE_BUILD discrimination;
wenzelm
parents: 2742
diff changeset
    91
else
3118
24dae6222579 fixed ISABELLE_OUTPUT, ISABELLE_PATH (finally?);
wenzelm
parents: 3062
diff changeset
    92
  ISABELLE_OUTPUT=$ISABELLE_HOME_USER/heaps
3637
02ba2acc69c3 Added new environment variable ISABELLE_BROWSER_INFO.
berghofe
parents: 3596
diff changeset
    93
  ISABELLE_BROWSER_INFO=$ISABELLE_HOME_USER/browser_info
2780
1dc77f6d83e1 added THIS_IS_ISABELLE_BUILD discrimination;
wenzelm
parents: 2742
diff changeset
    94
fi
1dc77f6d83e1 added THIS_IS_ISABELLE_BUILD discrimination;
wenzelm
parents: 2742
diff changeset
    95
9225
4772656ddbbc added site settings check;
wenzelm
parents: 8880
diff changeset
    96
# 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
    97
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
4772656ddbbc added site settings check;
wenzelm
parents: 8880
diff changeset
    98
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
4772656ddbbc added site settings check;
wenzelm
parents: 8880
diff changeset
    99
3177
3c1448b9b0ee tuned comments;
wenzelm
parents: 3158
diff changeset
   100
#Users may want to change this.
3184
4e0bbfb113d5 renamed DEFAULT_LOGIC to ISABELLE_LOGIC;
wenzelm
parents: 3182
diff changeset
   101
ISABELLE_LOGIC=HOL
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   102
2786
b36ca42c409a tuned comments;
wenzelm
parents: 2780
diff changeset
   103
b36ca42c409a tuned comments;
wenzelm
parents: 2780
diff changeset
   104
## Docs
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   105
3177
3c1448b9b0ee tuned comments;
wenzelm
parents: 3158
diff changeset
   106
#Where to look for docs (multiple dirs separated by ':').
2345
8e45991e3601 added ISABELLE_DOCS;
wenzelm
parents: 2309
diff changeset
   107
ISABELLE_DOCS=$ISABELLE_HOME/doc
8e45991e3601 added ISABELLE_DOCS;
wenzelm
parents: 2309
diff changeset
   108
3177
3c1448b9b0ee tuned comments;
wenzelm
parents: 3158
diff changeset
   109
#The dvi file viewer
3062
be354f68d340 improved DVI_VIEWER default;
wenzelm
parents: 3009
diff changeset
   110
DVI_VIEWER=xdvi
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   111
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
2476
dae7f8ca5001 added dvi viewer alternative;
wenzelm
parents: 2466
diff changeset
   112
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
3062
be354f68d340 improved DVI_VIEWER default;
wenzelm
parents: 3009
diff changeset
   113
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
2345
8e45991e3601 added ISABELLE_DOCS;
wenzelm
parents: 2309
diff changeset
   114
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   115
3158
2bd87b6682bf improved comments;
wenzelm
parents: 3118
diff changeset
   116
## Fonts -- how to install the Isabelle X11 fonts (can be tricky!).
2bd87b6682bf improved comments;
wenzelm
parents: 3118
diff changeset
   117
2bd87b6682bf improved comments;
wenzelm
parents: 3118
diff changeset
   118
# (1) Get fonts from local (client side) directory:
2577
eec6bdf53809 added ISABELLE_INSTALLFONTS;
wenzelm
parents: 2476
diff changeset
   119
ISABELLE_INSTALLFONTS="xset fp+ $ISABELLE_HOME/lib/fonts; xset fp rehash"
3158
2bd87b6682bf improved comments;
wenzelm
parents: 3118
diff changeset
   120
3689
73378599a65b Added Cambridge font server
paulson
parents: 3637
diff changeset
   121
# (2) Get from font server at Munich or Cambridge:
3256
0a45cdd7da37 removed Cambridge font server;
wenzelm
parents: 3184
diff changeset
   122
#ISABELLE_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
3689
73378599a65b Added Cambridge font server
paulson
parents: 3637
diff changeset
   123
#ISABELLE_INSTALLFONTS="xset fp+ tcp/font-serv.cl.cam.ac.uk:7100"
2577
eec6bdf53809 added ISABELLE_INSTALLFONTS;
wenzelm
parents: 2476
diff changeset
   124
5964
a825c5929f4f improved comment;
wenzelm
parents: 5770
diff changeset
   125
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   126
###
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   127
### Interfaces
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   128
###
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   129
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   130
# The null interface: pass-through to 'isabelle'.
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   131
#ISABELLE_INTERFACE=none
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   132
2786
b36ca42c409a tuned comments;
wenzelm
parents: 2780
diff changeset
   133
# Simple xterm based interface.
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   134
ISABELLE_INTERFACE=xterm
5964
a825c5929f4f improved comment;
wenzelm
parents: 5770
diff changeset
   135
ISABELLE_XTERM_OPTIONS=""
2968
8ba30b031f31 eliminated PLATFORM;
wenzelm
parents: 2915
diff changeset
   136
3303
656b5221a56e tuned Isamode stuff;
wenzelm
parents: 3256
diff changeset
   137
# Emacs running Isamode.
2968
8ba30b031f31 eliminated PLATFORM;
wenzelm
parents: 2915
diff changeset
   138
#ISABELLE_INTERFACE=emacs
2969
4c8d60b01ef9 fixed ISAMODE_HOME;
wenzelm
parents: 2968
diff changeset
   139
ISAMODE_HOME=$ISABELLE_HOME/contrib/Isamode
5964
a825c5929f4f improved comment;
wenzelm
parents: 5770
diff changeset
   140
ISAMODE_OPTIONS=""
a825c5929f4f improved comment;
wenzelm
parents: 5770
diff changeset
   141
8880
3a5215883047 Proof General -- if present make this the default;
wenzelm
parents: 8345
diff changeset
   142
# Proof General -- if present make this the default
3a5215883047 Proof General -- if present make this the default;
wenzelm
parents: 8345
diff changeset
   143
if [ -d "$ISABELLE_HOME/contrib/ProofGeneral" ]; then
3a5215883047 Proof General -- if present make this the default;
wenzelm
parents: 8345
diff changeset
   144
  ISABELLE_INTERFACE=$ISABELLE_HOME/contrib/ProofGeneral/isar/interface
3a5215883047 Proof General -- if present make this the default;
wenzelm
parents: 8345
diff changeset
   145
fi
5964
a825c5929f4f improved comment;
wenzelm
parents: 5770
diff changeset
   146
PROOFGENERAL_OPTIONS=""
7185
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   147
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   148
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   149
###
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   150
### External reasoning tools
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   151
###
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   152
7194
wenzelm
parents: 7185
diff changeset
   153
## Set HOME only for tools you have installed!
7185
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   154
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   155
# SVC (Stanford Validity Checker)
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   156
#SVC_HOME=
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   157
#SVC_MACHINE=i386-redhat-linux
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   158
#SVC_MACHINE=sparc-sun-solaris
7296
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   159
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   160
# Mucke (mu-calculus model checker)
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   161
#MUCKE_HOME=/usr/local/bin
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   162
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   163
# Einhoven model checker
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   164
#EINDHOVEN_HOME=/usr/local/bin