etc/settings
author wenzelm
Sun, 03 Sep 2000 20:01:27 +0200
changeset 9818 71de955e8fc9
parent 9787 fb8c5a66dbe8
child 9948 3a01ecb6f65d
permissions -rw-r--r--
GPLed;
     1 #
     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
    18 POLYML_HOME=$(choosefrom \
    19   "$ISABELLE_HOME/contrib/polyml-4.0" \
    20   "$ISABELLE_HOME/contrib/polyml-3.x" \
    21   "$ISABELLE_HOME/contrib/polyml" \
    22   "$ISABELLE_HOME/../polyml-4.0" \
    23   "$ISABELLE_HOME/../polyml-3.x" \
    24   "$ISABELLE_HOME/../polyml" \
    25   "/usr/share/polyml-4.0" \
    26   "/usr/share/polyml-3.x" \
    27   "/usr/share/polyml")
    28 ML_SYSTEM=$("$POLYML_HOME/bin/polyml-version" 2>/dev/null || echo polyml)
    29 ML_PLATFORM=$("$POLYML_HOME/bin/polyml-platform" 2>/dev/null)
    30 ML_HOME="$POLYML_HOME/$ML_PLATFORM"
    31 ML_OPTIONS="-h 30000"
    32 
    33 # Standard ML of New Jersey 110 or later
    34 #ML_SYSTEM=smlnj-110
    35 #ML_HOME="$ISABELLE_HOME/../smlnj/bin"
    36 #ML_OPTIONS="@SMLdebug=/dev/null"
    37 #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
    38 
    39 # Moscow ML 2.00 or later (experimental!)
    40 #ML_SYSTEM=mosml
    41 #ML_HOME="$ISABELLE_HOME/../mosml/bin"
    42 #ML_PLATFORM=""
    43 #ML_OPTIONS=""
    44 
    45 # MLWorks 2.0
    46 #ML_SYSTEM=mlworks
    47 #ML_HOME="$ISABELLE_HOME/../mlworks/bin"
    48 #ML_OPTIONS=""
    49 #ML_PLATFORM=""
    50 
    51 # Standard ML of New Jersey 0.93
    52 #ML_SYSTEM=smlnj-0.93
    53 #ML_HOME=/usr/local/ldist/DIR/sml-0.93/src
    54 #ML_OPTIONS=""
    55 #ML_PLATFORM=""
    56 
    57 
    58 ###
    59 ### Compilation options
    60 ###
    61 
    62 ISABELLE_USEDIR_OPTIONS="-i false"
    63 #ISABELLE_USEDIR_OPTIONS="-i true -d pdf"
    64 
    65 
    66 ###
    67 ### Document preparation
    68 ###
    69 
    70 TEXINPUTS="$ISABELLE_HOME/lib/texinputs:$TEXINPUTS"
    71 ISABELLE_LATEX="latex"
    72 ISABELLE_PDFLATEX="pdflatex"
    73 ISABELLE_BIBTEX="bibtex"
    74 ISABELLE_DVIPS="dvips -D 600"
    75 
    76 # The thumbpdf tool is probably not generally available ...
    77 #ISABELLE_THUMBPDF="thumbpdf"
    78 
    79 
    80 ###
    81 ### Misc path settings
    82 ###
    83 
    84 # The place for user configuration, heap files, etc.
    85 ISABELLE_HOME_USER=~/isabelle
    86 
    87 # Where to look for isabelle tools (multiple dirs separated by ':').
    88 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
    89 
    90 # Location for temporary files (should be on a local file system).
    91 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
    92 
    93 
    94 # Heap input locations. ML system identifier is included in lookup.
    95 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
    96 
    97 # Heap output location. ML system identifier is appended automatically later on.
    98 if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then
    99   #Isabelle build tells us to store heaps etc. within the distribution.
   100   ISABELLE_OUTPUT="$ISABELLE_HOME/heaps"
   101   ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info"
   102 else
   103   ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
   104   ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
   105 fi
   106 
   107 # Site settings check -- just to make it a little bit harder to copy this file!
   108 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
   109   { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
   110 
   111 #Users may want to change this.
   112 ISABELLE_LOGIC=HOL
   113 
   114 
   115 ## Docs
   116 
   117 #Where to look for docs (multiple dirs separated by ':').
   118 ISABELLE_DOCS="$ISABELLE_HOME/doc"
   119 
   120 #The dvi file viewer
   121 DVI_VIEWER=xdvi
   122 #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
   123 #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
   124 #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
   125 
   126 
   127 ## Fonts -- how to install the Isabelle X11 fonts (can be tricky!).
   128 
   129 # (1) Get fonts from local (client side) directory:
   130 ISABELLE_INSTALLFONTS="xset fp+ \"$ISABELLE_HOME/lib/fonts\"; xset fp rehash"
   131 
   132 # (2) Get from font server at Munich or Cambridge:
   133 #ISABELLE_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
   134 #ISABELLE_INSTALLFONTS="xset fp+ tcp/font-serv.cl.cam.ac.uk:7100"
   135 
   136 
   137 ###
   138 ### Interfaces
   139 ###
   140 
   141 # The null interface: pass-through to 'isabelle'.
   142 #ISABELLE_INTERFACE=none
   143 
   144 # Simple xterm based interface.
   145 ISABELLE_INTERFACE=xterm
   146 ISABELLE_XTERM_OPTIONS=""
   147 
   148 # Emacs running Isamode.
   149 #ISABELLE_INTERFACE=emacs
   150 ISAMODE_HOME="$ISABELLE_HOME/contrib/Isamode"
   151 ISAMODE_OPTIONS=""
   152 
   153 # Proof General
   154 ISABELLE_INTERFACE=$(choosefrom \
   155   "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
   156   "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
   157   "/usr/share/ProofGeneral/isar/interface" \
   158   "$ISABELLE_INTERFACE")
   159 PROOFGENERAL_OPTIONS=""
   160 
   161 # X-Symbol mode for Proof General
   162 XSYMBOL_HOME=$(choosefrom \
   163   "$ISABELLE_HOME/contrib/x-symbol" \
   164   "$ISABELLE_HOME/../x-symbol" \
   165   "/usr/share/x-symbol" \
   166   "")
   167 
   168 
   169 ###
   170 ### External reasoning tools
   171 ###
   172 
   173 ## Set HOME only for tools you have installed!
   174 
   175 # SVC (Stanford Validity Checker)
   176 #SVC_HOME=
   177 #SVC_MACHINE=i386-redhat-linux
   178 #SVC_MACHINE=sparc-sun-solaris
   179 
   180 # Mucke (mu-calculus model checker)
   181 #MUCKE_HOME=/usr/local/bin
   182 
   183 # Einhoven model checker
   184 #EINDHOVEN_HOME=/usr/local/bin