etc/settings
author kleing
Wed Apr 23 13:33:55 2003 +0200 (2003-04-23)
changeset 13920 9d542c96e855
parent 12998 03b9afa801df
child 14044 bbd2f7b00736
permissions -rw-r--r--
more documentation
wenzelm@10503
     1
# -*- shell-script -*-
wenzelm@2294
     2
# $Id$
wenzelm@9818
     3
# Author: Markus Wenzel, TU Muenchen
wenzelm@9818
     4
# License: GPL (GNU GENERAL PUBLIC LICENSE)
wenzelm@2294
     5
#
wenzelm@2309
     6
# Isabelle settings -- site defaults.
wenzelm@9225
     7
# Do *NOT* copy this file into your personal isabelle directory!!!
wenzelm@2309
     8
wenzelm@2426
     9
###
wenzelm@3177
    10
### ML compiler settings (ESSENTIAL!)
wenzelm@2426
    11
###
wenzelm@2426
    12
wenzelm@9236
    13
# Note that ML_HOME specifies the location of the actual compiler
wenzelm@9236
    14
# binaries.  Do not invent new ML system names unless you know what
wenzelm@9759
    15
# you are doing.  Only one of the sections below should be activated.
wenzelm@2426
    16
wenzelm@12828
    17
# Poly/ML 3.x, 4.0, 4.1, 4.1.1, 4.1.2
wenzelm@10205
    18
if [ -e /usr/bin/poly -a -e /usr/lib/poly ]; then
wenzelm@12828
    19
  #maybe a shrink-wrapped polyml-4.1.2 on x86-linux ...
wenzelm@12828
    20
  ML_SYSTEM=polyml-4.1.2
wenzelm@10205
    21
  ML_PLATFORM=x86-linux
wenzelm@10205
    22
  ML_HOME=/usr/bin
wenzelm@10205
    23
  ML_DBASE=/usr/lib/poly/ML_dbase
wenzelm@12752
    24
  ML_OPTIONS="-h 15000"
wenzelm@10205
    25
else
wenzelm@10205
    26
  #... or rather a self-contained multi-platform installation
wenzelm@10205
    27
  POLYML_HOME=$(choosefrom \
wenzelm@10205
    28
    "$ISABELLE_HOME/contrib/polyml" \
wenzelm@10205
    29
    "$ISABELLE_HOME/../polyml" \
wenzelm@10205
    30
    "/usr/share/polyml" \
wenzelm@10205
    31
    "/usr/local/polyml" \
wenzelm@10205
    32
    "/opt/polyml")
wenzelm@10205
    33
  ML_SYSTEM=$("$POLYML_HOME/bin/polyml-version" 2>/dev/null || echo polyml)
wenzelm@10503
    34
  ML_PLATFORM=$("$POLYML_HOME/bin/polyml-platform" 2>/dev/null || echo unknown-platform)
wenzelm@10205
    35
  ML_HOME="$POLYML_HOME/$ML_PLATFORM"
wenzelm@12752
    36
  ML_OPTIONS="-h 15000"
wenzelm@10205
    37
fi
wenzelm@8345
    38
wenzelm@5708
    39
# Standard ML of New Jersey 110 or later
wenzelm@8345
    40
#ML_SYSTEM=smlnj-110
wenzelm@9787
    41
#ML_HOME="$ISABELLE_HOME/../smlnj/bin"
wenzelm@8345
    42
#ML_OPTIONS="@SMLdebug=/dev/null"
wenzelm@9787
    43
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
wenzelm@5708
    44
wenzelm@11062
    45
# MLWorks 2.0
wenzelm@11062
    46
#ML_SYSTEM=mlworks
wenzelm@11062
    47
#ML_HOME="$ISABELLE_HOME/../mlworks/bin"
wenzelm@11062
    48
#ML_OPTIONS=""
wenzelm@11062
    49
#ML_PLATFORM=""
wenzelm@11062
    50
wenzelm@9252
    51
# Moscow ML 2.00 or later (experimental!)
wenzelm@9252
    52
#ML_SYSTEM=mosml
wenzelm@9787
    53
#ML_HOME="$ISABELLE_HOME/../mosml/bin"
wenzelm@6413
    54
#ML_PLATFORM=""
wenzelm@9252
    55
#ML_OPTIONS=""
wenzelm@5708
    56
wenzelm@2426
    57
# Standard ML of New Jersey 0.93
wenzelm@2426
    58
#ML_SYSTEM=smlnj-0.93
wenzelm@2426
    59
#ML_HOME=/usr/local/ldist/DIR/sml-0.93/src
wenzelm@2426
    60
#ML_OPTIONS=""
wenzelm@6413
    61
#ML_PLATFORM=""
wenzelm@2426
    62
wenzelm@2294
    63
wenzelm@2426
    64
###
kleing@13920
    65
### Compilation options for isatool usedir
kleing@13920
    66
### (as on command line)
wenzelm@2435
    67
###
wenzelm@2435
    68
wenzelm@11569
    69
ISABELLE_USEDIR_OPTIONS=""
wenzelm@11569
    70
wenzelm@2435
    71
wenzelm@2435
    72
###
wenzelm@7773
    73
### Document preparation
wenzelm@7773
    74
###
wenzelm@7773
    75
kleing@13920
    76
# latex command for isatool latex/document
wenzelm@7773
    77
ISABELLE_LATEX="latex"
kleing@13920
    78
kleing@13920
    79
# pdflatex command for isatool latex/document
wenzelm@7773
    80
ISABELLE_PDFLATEX="pdflatex"
kleing@13920
    81
kleing@13920
    82
# bibtex command for isatool latex/document
wenzelm@7813
    83
ISABELLE_BIBTEX="bibtex"
kleing@13920
    84
kleing@13920
    85
# dvips command for isatool latex/document
wenzelm@7773
    86
ISABELLE_DVIPS="dvips -D 600"
kleing@13920
    87
kleing@13920
    88
# epstopdf command for isatool latex/document
wenzelm@11800
    89
ISABELLE_EPSTOPDF="epstopdf"
wenzelm@7773
    90
kleing@13920
    91
# Paranoia setting for strange latex installations ...
wenzelm@11062
    92
#unset TEXMF
wenzelm@11062
    93
kleing@13920
    94
# If ISABELLE_THUMBPDF is set, isatool tries to
kleing@13920
    95
# generate thumbnails for proof documents
kleing@13920
    96
#
kleing@13920
    97
# probably not generally available ...
wenzelm@11062
    98
#type -path thumbpdf >/dev/null && ISABELLE_THUMBPDF="thumbpdf"
wenzelm@7864
    99
wenzelm@7773
   100
wenzelm@7773
   101
###
wenzelm@2968
   102
### Misc path settings
wenzelm@2426
   103
###
wenzelm@2294
   104
wenzelm@2426
   105
# The place for user configuration, heap files, etc.
wenzelm@2426
   106
ISABELLE_HOME_USER=~/isabelle
wenzelm@2294
   107
wenzelm@3177
   108
# Where to look for isabelle tools (multiple dirs separated by ':').
wenzelm@9787
   109
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
wenzelm@2786
   110
wenzelm@4334
   111
# Location for temporary files (should be on a local file system).
wenzelm@9787
   112
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
wenzelm@4334
   113
wenzelm@2786
   114
wenzelm@9787
   115
# Heap input locations. ML system identifier is included in lookup.
wenzelm@9787
   116
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
wenzelm@2780
   117
wenzelm@9787
   118
# Heap output location. ML system identifier is appended automatically later on.
wenzelm@2780
   119
if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then
wenzelm@9787
   120
  #Isabelle build tells us to store heaps etc. within the distribution.
wenzelm@9787
   121
  ISABELLE_OUTPUT="$ISABELLE_HOME/heaps"
wenzelm@9787
   122
  ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info"
wenzelm@2780
   123
else
wenzelm@9787
   124
  ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
wenzelm@9787
   125
  ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
wenzelm@2780
   126
fi
wenzelm@2780
   127
wenzelm@9225
   128
# Site settings check -- just to make it a little bit harder to copy this file!
wenzelm@9225
   129
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
wenzelm@9225
   130
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
wenzelm@9225
   131
kleing@13920
   132
kleing@13920
   133
###
kleing@13920
   134
### default logic, users may want to override this.
kleing@13920
   135
###
wenzelm@3184
   136
ISABELLE_LOGIC=HOL
wenzelm@2294
   137
wenzelm@2786
   138
kleing@13920
   139
###
kleing@13920
   140
### Docs
kleing@13920
   141
###
wenzelm@2294
   142
wenzelm@3177
   143
#Where to look for docs (multiple dirs separated by ':').
wenzelm@9787
   144
ISABELLE_DOCS="$ISABELLE_HOME/doc"
wenzelm@2345
   145
wenzelm@3177
   146
#The dvi file viewer
wenzelm@3062
   147
DVI_VIEWER=xdvi
wenzelm@2426
   148
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
wenzelm@11103
   149
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
wenzelm@2476
   150
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
wenzelm@3062
   151
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
wenzelm@2345
   152
wenzelm@2294
   153
wenzelm@2426
   154
###
wenzelm@2426
   155
### Interfaces
wenzelm@2426
   156
###
wenzelm@2426
   157
kleing@13920
   158
# ISABELLE_INTERFACE is the program which is run by the Isabelle command
kleing@13920
   159
kleing@13920
   160
# Fallback: the null interface (pass-through to raw isabelle process).
wenzelm@11552
   161
ISABELLE_INTERFACE=none
wenzelm@2294
   162
kleing@13920
   163
# Emacs running (obsolete) Isamode.
wenzelm@2968
   164
#ISABELLE_INTERFACE=emacs
wenzelm@9787
   165
ISAMODE_HOME="$ISABELLE_HOME/contrib/Isamode"
wenzelm@5964
   166
ISAMODE_OPTIONS=""
wenzelm@5964
   167
kleing@13920
   168
# Proof General path, look in a variety of places
wenzelm@9679
   169
ISABELLE_INTERFACE=$(choosefrom \
wenzelm@9679
   170
  "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
wenzelm@9679
   171
  "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
wenzelm@9787
   172
  "/usr/share/ProofGeneral/isar/interface" \
wenzelm@9948
   173
  "/usr/local/ProofGeneral/isar/interface" \
wenzelm@10070
   174
  "/opt/ProofGeneral/isar/interface" \
wenzelm@9956
   175
  "/usr/share/emacs/ProofGeneral/isar/interface" \
wenzelm@9679
   176
  "$ISABELLE_INTERFACE")
kleing@13920
   177
kleing@13920
   178
# Options to pass to Isabelle command when PG is selected as interface
wenzelm@5964
   179
PROOFGENERAL_OPTIONS=""
wenzelm@11981
   180
#PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true"
wenzelm@7185
   181
kleing@13920
   182
# try xemacs first, else emacs
wenzelm@12476
   183
type -path xemacs >/dev/null || PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS"
wenzelm@12476
   184
wenzelm@12476
   185
kleing@13920
   186
# X-Symbol installation location (for Proof General, obsolete for PG >= 3.5)
wenzelm@9679
   187
XSYMBOL_HOME=$(choosefrom \
wenzelm@9679
   188
  "$ISABELLE_HOME/contrib/x-symbol" \
wenzelm@9679
   189
  "$ISABELLE_HOME/../x-symbol" \
wenzelm@9787
   190
  "/usr/share/x-symbol" \
wenzelm@9948
   191
  "/usr/local/x-symbol" \
wenzelm@10070
   192
  "/opt/x-symbol" \
wenzelm@9679
   193
  "")
kleing@13920
   194
kleing@13920
   195
# Executed before xemacs with ProofGeneral is called.
kleing@13920
   196
# Required for remote fonts only.
wenzelm@9994
   197
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
wenzelm@9569
   198
wenzelm@7185
   199
wenzelm@7185
   200
###
wenzelm@7185
   201
### External reasoning tools
wenzelm@7185
   202
###
wenzelm@7185
   203
wenzelm@7194
   204
## Set HOME only for tools you have installed!
wenzelm@7185
   205
wenzelm@7185
   206
# SVC (Stanford Validity Checker)
wenzelm@7185
   207
#SVC_HOME=
wenzelm@7185
   208
#SVC_MACHINE=i386-redhat-linux
wenzelm@7185
   209
#SVC_MACHINE=sparc-sun-solaris
wenzelm@7296
   210
wenzelm@7296
   211
# Mucke (mu-calculus model checker)
wenzelm@7296
   212
#MUCKE_HOME=/usr/local/bin
wenzelm@7296
   213
wenzelm@7296
   214
# Einhoven model checker
wenzelm@7296
   215
#EINDHOVEN_HOME=/usr/local/bin