etc/settings
author wenzelm
Tue, 21 Nov 2000 19:02:07 +0100
changeset 10503 c9d087e4a5e8
parent 10205 7f3d844c9512
child 11062 e86340dc1d28
permissions -rw-r--r--
tuned;

# -*- shell-script -*-
# $Id$
# Author: Markus Wenzel, TU Muenchen
# License: GPL (GNU GENERAL PUBLIC LICENSE)
#
# Isabelle settings -- site defaults.
# Do *NOT* copy this file into your personal isabelle directory!!!

###
### ML compiler settings (ESSENTIAL!)
###

# Note that ML_HOME specifies the location of the actual compiler
# binaries.  Do not invent new ML system names unless you know what
# you are doing.  Only one of the sections below should be activated.

# Poly/ML 3.x and 4.0
if [ -e /usr/bin/poly -a -e /usr/lib/poly ]; then
  #maybe a shrink-wrapped polyml-4.0 on x86-linux ...
  ML_SYSTEM=polyml-4.0
  ML_PLATFORM=x86-linux
  ML_HOME=/usr/bin
  ML_DBASE=/usr/lib/poly/ML_dbase
  ML_OPTIONS="-h 30000"
else
  #... or rather a self-contained multi-platform installation
  POLYML_HOME=$(choosefrom \
    "$ISABELLE_HOME/contrib/polyml" \
    "$ISABELLE_HOME/../polyml" \
    "/usr/share/polyml" \
    "/usr/local/polyml" \
    "/opt/polyml")
  ML_SYSTEM=$("$POLYML_HOME/bin/polyml-version" 2>/dev/null || echo polyml)
  ML_PLATFORM=$("$POLYML_HOME/bin/polyml-platform" 2>/dev/null || echo unknown-platform)
  ML_HOME="$POLYML_HOME/$ML_PLATFORM"
  ML_OPTIONS="-h 30000"
fi

# Standard ML of New Jersey 110 or later
#ML_SYSTEM=smlnj-110
#ML_HOME="$ISABELLE_HOME/../smlnj/bin"
#ML_OPTIONS="@SMLdebug=/dev/null"
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")

# Moscow ML 2.00 or later (experimental!)
#ML_SYSTEM=mosml
#ML_HOME="$ISABELLE_HOME/../mosml/bin"
#ML_PLATFORM=""
#ML_OPTIONS=""

# MLWorks 2.0
#ML_SYSTEM=mlworks
#ML_HOME="$ISABELLE_HOME/../mlworks/bin"
#ML_OPTIONS=""
#ML_PLATFORM=""

# Standard ML of New Jersey 0.93
#ML_SYSTEM=smlnj-0.93
#ML_HOME=/usr/local/ldist/DIR/sml-0.93/src
#ML_OPTIONS=""
#ML_PLATFORM=""


###
### Compilation options
###

ISABELLE_USEDIR_OPTIONS="-i false"
#ISABELLE_USEDIR_OPTIONS="-i true -d pdf"


###
### Document preparation
###

TEXINPUTS="$ISABELLE_HOME/lib/texinputs:$TEXINPUTS"
ISABELLE_LATEX="latex"
ISABELLE_PDFLATEX="pdflatex"
ISABELLE_BIBTEX="bibtex"
ISABELLE_DVIPS="dvips -D 600"

# The thumbpdf tool is probably not generally available ...
#ISABELLE_THUMBPDF="thumbpdf"


###
### Misc path settings
###

# The place for user configuration, heap files, etc.
ISABELLE_HOME_USER=~/isabelle

# Where to look for isabelle tools (multiple dirs separated by ':').
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"

# Location for temporary files (should be on a local file system).
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"


# Heap input locations. ML system identifier is included in lookup.
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"

# Heap output location. ML system identifier is appended automatically later on.
if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then
  #Isabelle build tells us to store heaps etc. within the distribution.
  ISABELLE_OUTPUT="$ISABELLE_HOME/heaps"
  ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info"
else
  ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
  ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
fi

# Site settings check -- just to make it a little bit harder to copy this file!
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }

#Users may want to change this.
ISABELLE_LOGIC=HOL


## Docs

#Where to look for docs (multiple dirs separated by ':').
ISABELLE_DOCS="$ISABELLE_HOME/doc"

#The dvi file viewer
DVI_VIEWER=xdvi
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"


## Fonts -- how to install the Isabelle X11 fonts (can be tricky!).

# (1) Get fonts from local (client side) directory:
ISABELLE_INSTALLFONTS="xset fp+ \"$ISABELLE_HOME/lib/fonts\"; xset fp rehash"

# (2) Get from font server at Munich or Cambridge:
#ISABELLE_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
#ISABELLE_INSTALLFONTS="xset fp+ tcp/font-serv.cl.cam.ac.uk:7100"


###
### Interfaces
###

# The null interface: pass-through to 'isabelle'.
#ISABELLE_INTERFACE=none

# Simple xterm based interface.
ISABELLE_INTERFACE=xterm
ISABELLE_XTERM_OPTIONS=""

# Emacs running Isamode.
#ISABELLE_INTERFACE=emacs
ISAMODE_HOME="$ISABELLE_HOME/contrib/Isamode"
ISAMODE_OPTIONS=""

# Proof General
ISABELLE_INTERFACE=$(choosefrom \
  "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
  "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
  "/usr/share/ProofGeneral/isar/interface" \
  "/usr/local/ProofGeneral/isar/interface" \
  "/opt/ProofGeneral/isar/interface" \
  "/usr/share/emacs/ProofGeneral/isar/interface" \
  "$ISABELLE_INTERFACE")
PROOFGENERAL_OPTIONS=""

# X-Symbol mode for Proof General
XSYMBOL_HOME=$(choosefrom \
  "$ISABELLE_HOME/contrib/x-symbol" \
  "$ISABELLE_HOME/../x-symbol" \
  "/usr/share/x-symbol" \
  "/usr/local/x-symbol" \
  "/opt/x-symbol" \
  "")
#required for remote fonts only ...
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"


###
### External reasoning tools
###

## Set HOME only for tools you have installed!

# SVC (Stanford Validity Checker)
#SVC_HOME=
#SVC_MACHINE=i386-redhat-linux
#SVC_MACHINE=sparc-sun-solaris

# Mucke (mu-calculus model checker)
#MUCKE_HOME=/usr/local/bin

# Einhoven model checker
#EINDHOVEN_HOME=/usr/local/bin