etc/settings
author wenzelm
Mon Oct 15 20:36:48 2001 +0200 (2001-10-15)
changeset 11784 b66b198ee29a
parent 11569 06d6f1ea6021
child 11800 5f84c687ba06
permissions -rw-r--r--
tuned NetRules;
     1 # -*- shell-script -*-
     2 # $Id$
     3 # Author: Markus Wenzel, TU Muenchen
     4 # License: GPL (GNU GENERAL PUBLIC LICENSE)
     5 #
     6 # Isabelle settings -- site defaults.
     7 # Do *NOT* copy this file into your personal isabelle directory!!!
     8 
     9 ###
    10 ### ML compiler settings (ESSENTIAL!)
    11 ###
    12 
    13 # Note that ML_HOME specifies the location of the actual compiler
    14 # binaries.  Do not invent new ML system names unless you know what
    15 # you are doing.  Only one of the sections below should be activated.
    16 
    17 # Poly/ML 3.x and 4.0 or later
    18 if [ -e /usr/bin/poly -a -e /usr/lib/poly ]; then
    19   #maybe a shrink-wrapped polyml-4.1.1 on x86-linux ...
    20   ML_SYSTEM=polyml-4.1.1
    21   ML_PLATFORM=x86-linux
    22   ML_HOME=/usr/bin
    23   ML_DBASE=/usr/lib/poly/ML_dbase
    24   ML_OPTIONS="-h 30000"
    25 else
    26   #... or rather a self-contained multi-platform installation
    27   POLYML_HOME=$(choosefrom \
    28     "$ISABELLE_HOME/contrib/polyml" \
    29     "$ISABELLE_HOME/../polyml" \
    30     "/usr/share/polyml" \
    31     "/usr/local/polyml" \
    32     "/opt/polyml")
    33   ML_SYSTEM=$("$POLYML_HOME/bin/polyml-version" 2>/dev/null || echo polyml)
    34   ML_PLATFORM=$("$POLYML_HOME/bin/polyml-platform" 2>/dev/null || echo unknown-platform)
    35   ML_HOME="$POLYML_HOME/$ML_PLATFORM"
    36   ML_OPTIONS="-h 30000"
    37 fi
    38 
    39 # Standard ML of New Jersey 110 or later
    40 #ML_SYSTEM=smlnj-110
    41 #ML_HOME="$ISABELLE_HOME/../smlnj/bin"
    42 #ML_OPTIONS="@SMLdebug=/dev/null"
    43 #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
    44 
    45 # MLWorks 2.0
    46 #ML_SYSTEM=mlworks
    47 #ML_HOME="$ISABELLE_HOME/../mlworks/bin"
    48 #ML_OPTIONS=""
    49 #ML_PLATFORM=""
    50 
    51 # Moscow ML 2.00 or later (experimental!)
    52 #ML_SYSTEM=mosml
    53 #ML_HOME="$ISABELLE_HOME/../mosml/bin"
    54 #ML_PLATFORM=""
    55 #ML_OPTIONS=""
    56 
    57 # Standard ML of New Jersey 0.93
    58 #ML_SYSTEM=smlnj-0.93
    59 #ML_HOME=/usr/local/ldist/DIR/sml-0.93/src
    60 #ML_OPTIONS=""
    61 #ML_PLATFORM=""
    62 
    63 
    64 ###
    65 ### Compilation options
    66 ###
    67 
    68 ISABELLE_USEDIR_OPTIONS=""
    69 
    70 # Default for precompiled distribution ...
    71 #ISABELLE_USEDIR_OPTIONS="-i true -d pdf -p 2"
    72 
    73 
    74 ###
    75 ### Document preparation
    76 ###
    77 
    78 TEXINPUTS="$ISABELLE_HOME/lib/texinputs:$TEXINPUTS"
    79 ISABELLE_LATEX="latex"
    80 ISABELLE_PDFLATEX="pdflatex"
    81 ISABELLE_BIBTEX="bibtex"
    82 ISABELLE_DVIPS="dvips -D 600"
    83 
    84 # Paranoia setting ...
    85 #unset TEXMF
    86 
    87 # The thumbpdf tool is probably not generally available ...
    88 #type -path thumbpdf >/dev/null && ISABELLE_THUMBPDF="thumbpdf"
    89 
    90 
    91 ###
    92 ### Misc path settings
    93 ###
    94 
    95 # The place for user configuration, heap files, etc.
    96 ISABELLE_HOME_USER=~/isabelle
    97 
    98 # Where to look for isabelle tools (multiple dirs separated by ':').
    99 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
   100 
   101 # Location for temporary files (should be on a local file system).
   102 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
   103 
   104 
   105 # Heap input locations. ML system identifier is included in lookup.
   106 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
   107 
   108 # Heap output location. ML system identifier is appended automatically later on.
   109 if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then
   110   #Isabelle build tells us to store heaps etc. within the distribution.
   111   ISABELLE_OUTPUT="$ISABELLE_HOME/heaps"
   112   ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info"
   113 else
   114   ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
   115   ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
   116 fi
   117 
   118 # Site settings check -- just to make it a little bit harder to copy this file!
   119 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
   120   { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
   121 
   122 # Users may want to change this.
   123 ISABELLE_LOGIC=HOL
   124 
   125 
   126 ## Docs
   127 
   128 #Where to look for docs (multiple dirs separated by ':').
   129 ISABELLE_DOCS="$ISABELLE_HOME/doc"
   130 
   131 #The dvi file viewer
   132 DVI_VIEWER=xdvi
   133 #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
   134 #DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
   135 #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
   136 #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
   137 
   138 
   139 ## Fonts -- how to install the Isabelle X11 fonts (can be tricky!).
   140 
   141 # (1) Get fonts from local (client side) directory:
   142 ISABELLE_INSTALLFONTS="xset fp+ \"$ISABELLE_HOME/lib/fonts\"; xset fp rehash"
   143 
   144 # (2) Get from font server at Munich or Cambridge:
   145 #ISABELLE_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
   146 #ISABELLE_INSTALLFONTS="xset fp+ tcp/font-serv.cl.cam.ac.uk:7100"
   147 
   148 
   149 ###
   150 ### Interfaces
   151 ###
   152 
   153 # The null interface: pass-through to 'isabelle'.
   154 ISABELLE_INTERFACE=none
   155 
   156 # Simple xterm based interface.
   157 #ISABELLE_INTERFACE=xterm
   158 ISABELLE_XTERM_OPTIONS=""
   159 
   160 # Emacs running Isamode.
   161 #ISABELLE_INTERFACE=emacs
   162 ISAMODE_HOME="$ISABELLE_HOME/contrib/Isamode"
   163 ISAMODE_OPTIONS=""
   164 
   165 # Proof General
   166 ISABELLE_INTERFACE=$(choosefrom \
   167   "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
   168   "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
   169   "/usr/share/ProofGeneral/isar/interface" \
   170   "/usr/local/ProofGeneral/isar/interface" \
   171   "/opt/ProofGeneral/isar/interface" \
   172   "/usr/share/emacs/ProofGeneral/isar/interface" \
   173   "$ISABELLE_INTERFACE")
   174 PROOFGENERAL_OPTIONS=""
   175 
   176 # X-Symbol mode for Proof General
   177 XSYMBOL_HOME=$(choosefrom \
   178   "$ISABELLE_HOME/contrib/x-symbol" \
   179   "$ISABELLE_HOME/../x-symbol" \
   180   "/usr/share/x-symbol" \
   181   "/usr/local/x-symbol" \
   182   "/opt/x-symbol" \
   183   "")
   184 # Required for remote fonts only ...
   185 #XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
   186 
   187 
   188 ###
   189 ### External reasoning tools
   190 ###
   191 
   192 ## Set HOME only for tools you have installed!
   193 
   194 # SVC (Stanford Validity Checker)
   195 #SVC_HOME=
   196 #SVC_MACHINE=i386-redhat-linux
   197 #SVC_MACHINE=sparc-sun-solaris
   198 
   199 # Mucke (mu-calculus model checker)
   200 #MUCKE_HOME=/usr/local/bin
   201 
   202 # Einhoven model checker
   203 #EINDHOVEN_HOME=/usr/local/bin