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