etc/settings
author blanchet
Fri Feb 21 00:09:56 2014 +0100 (2014-02-21)
changeset 55642 63beb38e9258
parent 54937 ce4bf91331e7
child 56424 7032378cc097
permissions -rw-r--r--
adapted to renaming of datatype 'cases' and 'recs' to 'case' and 'rec'
wenzelm@24211
     1
# -*- shell-script -*- :mode=shellscript:
wenzelm@2294
     2
#
wenzelm@54937
     3
# Isabelle system settings.
wenzelm@16875
     4
#
wenzelm@16875
     5
# Important notes:
wenzelm@47173
     6
#   * See the "system" manual for explanations on Isabelle settings
wenzelm@54937
     7
#   * User settings go into $ISABELLE_HOME_USER/etc/settings
wenzelm@16875
     8
#   * DO NOT EDIT the repository copy of this file!
wenzelm@54937
     9
#   * DO NOT COPY this file into the $ISABELLE_HOME_USER directory!
wenzelm@2309
    10
wenzelm@2426
    11
###
wenzelm@52790
    12
### Isabelle/Scala
wenzelm@27906
    13
###
wenzelm@27906
    14
wenzelm@51384
    15
ISABELLE_SCALA_BUILD_OPTIONS="-nowarn -target:jvm-1.5 -Xmax-classfile-name 130"
wenzelm@47009
    16
wenzelm@53346
    17
ISABELLE_JAVA_SYSTEM_OPTIONS="-Dfile.encoding=UTF-8 -server"
wenzelm@53346
    18
wenzelm@53577
    19
classpath "$ISABELLE_HOME/lib/classes/Pure.jar"
wenzelm@53577
    20
classpath "$ISABELLE_HOME/lib/classes/scala-library.jar"
wenzelm@53577
    21
classpath "$ISABELLE_HOME/lib/classes/scala-swing.jar"
wenzelm@53577
    22
classpath "$ISABELLE_HOME/lib/classes/scala-actors.jar"
wenzelm@53577
    23
classpath "$ISABELLE_HOME/lib/classes/scala-compiler.jar"
wenzelm@53577
    24
classpath "$ISABELLE_HOME/lib/classes/scala-reflect.jar"
wenzelm@53576
    25
wenzelm@54037
    26
#paranoia setting -- avoid problems of Java/Swing versus XIM/IBus etc.
wenzelm@54037
    27
unset XMODIFIERS
wenzelm@54037
    28
wenzelm@27906
    29
wenzelm@27906
    30
###
wenzelm@28504
    31
### Interactive sessions (cf. isabelle tty)
wenzelm@25627
    32
###
wenzelm@25627
    33
wenzelm@25627
    34
ISABELLE_LINE_EDITOR=""
wenzelm@26205
    35
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)"
wenzelm@25627
    36
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)"
wenzelm@25627
    37
wenzelm@25627
    38
wenzelm@25627
    39
###
wenzelm@52052
    40
### Batch sessions (cf. isabelle build)
wenzelm@2435
    41
###
wenzelm@2435
    42
wenzelm@48466
    43
ISABELLE_BUILD_OPTIONS=""
wenzelm@51977
    44
ISABELLE_BUILD_JAVA_OPTIONS="-Xmx1024m -Xss1m"
wenzelm@48466
    45
wenzelm@2435
    46
wenzelm@2435
    47
###
wenzelm@28504
    48
### Document preparation (cf. isabelle latex/document)
wenzelm@7773
    49
###
wenzelm@7773
    50
wenzelm@7773
    51
ISABELLE_LATEX="latex"
wenzelm@7773
    52
ISABELLE_PDFLATEX="pdflatex"
wenzelm@7813
    53
ISABELLE_BIBTEX="bibtex"
kleing@14344
    54
ISABELLE_MAKEINDEX="makeindex"
wenzelm@11800
    55
ISABELLE_EPSTOPDF="epstopdf"
wenzelm@7773
    56
wenzelm@7773
    57
wenzelm@7773
    58
###
wenzelm@2968
    59
### Misc path settings
wenzelm@2426
    60
###
wenzelm@2294
    61
wenzelm@48840
    62
ISABELLE_COMPONENT_REPOSITORY="http://isabelle.in.tum.de/components"
wenzelm@48840
    63
wenzelm@2426
    64
# The place for user configuration, heap files, etc.
wenzelm@48553
    65
if [ -z "$ISABELLE_IDENTIFIER" ]; then
wenzelm@48449
    66
  ISABELLE_HOME_USER="$USER_HOME/.isabelle"
wenzelm@48449
    67
else
wenzelm@48449
    68
  ISABELLE_HOME_USER="$USER_HOME/.isabelle/$ISABELLE_IDENTIFIER"
wenzelm@48449
    69
fi
wenzelm@2294
    70
wenzelm@3177
    71
# Where to look for isabelle tools (multiple dirs separated by ':').
wenzelm@9787
    72
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
wenzelm@2786
    73
wenzelm@4334
    74
# Location for temporary files (should be on a local file system).
wenzelm@9787
    75
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
wenzelm@4334
    76
wenzelm@9787
    77
# Heap input locations. ML system identifier is included in lookup.
wenzelm@40387
    78
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
wenzelm@2780
    79
wenzelm@9787
    80
# Heap output location. ML system identifier is appended automatically later on.
wenzelm@40387
    81
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
wenzelm@26212
    82
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
wenzelm@2780
    83
wenzelm@16186
    84
# Site settings check -- just to make it a little bit harder to copy this file verbatim!
wenzelm@9225
    85
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
wenzelm@9225
    86
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
wenzelm@32305
    87
ISABELLE_SITE_SETTINGS_PRESENT=true
wenzelm@9225
    88
kleing@13920
    89
kleing@13920
    90
###
wenzelm@28651
    91
### Default logic
kleing@13920
    92
###
wenzelm@16186
    93
wenzelm@3184
    94
ISABELLE_LOGIC=HOL
wenzelm@2294
    95
wenzelm@2786
    96
kleing@13920
    97
###
kleing@13920
    98
### Docs
kleing@13920
    99
###
wenzelm@2294
   100
wenzelm@16186
   101
# Where to look for docs (multiple dirs separated by ':').
wenzelm@9787
   102
ISABELLE_DOCS="$ISABELLE_HOME/doc"
wenzelm@2345
   103
wenzelm@54685
   104
# "open" within desktop environment (potentially asynchronous)
wenzelm@50197
   105
case "$ISABELLE_PLATFORM_FAMILY" in
wenzelm@50197
   106
  linux)
wenzelm@54685
   107
    ISABELLE_OPEN="xdg-open"
wenzelm@50197
   108
    ;;
wenzelm@50197
   109
  macos)
wenzelm@54685
   110
    ISABELLE_OPEN="open"
wenzelm@50197
   111
    ;;
wenzelm@50197
   112
  windows)
wenzelm@54685
   113
    ISABELLE_OPEN="cygstart"
wenzelm@50197
   114
    ;;
wenzelm@50197
   115
esac
wenzelm@50197
   116
wenzelm@54685
   117
PDF_VIEWER="$ISABELLE_OPEN"
wenzelm@54685
   118
DVI_VIEWER="$ISABELLE_OPEN"
wenzelm@2345
   119
kleing@15218
   120
wenzelm@2426
   121
###
wenzelm@37058
   122
### Rendering information
wenzelm@37058
   123
###
wenzelm@37058
   124
wenzelm@43484
   125
ISABELLE_FONTS="$ISABELLE_HOME/lib/fonts/IsabelleText.ttf:$ISABELLE_HOME/lib/fonts/IsabelleTextBold.ttf"
wenzelm@37058
   126
ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"
wenzelm@37058
   127
wenzelm@37058
   128
wenzelm@37058
   129
###
wenzelm@49000
   130
### Misc old-style settings
wenzelm@7185
   131
###
wenzelm@7185
   132
wenzelm@49000
   133
# Standard ML of New Jersey (slow!)
wenzelm@49000
   134
#ML_SYSTEM=smlnj-110
wenzelm@49000
   135
#ML_HOME="/usr/local/smlnj/bin"
wenzelm@49000
   136
#ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=1024"
wenzelm@49000
   137
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
wenzelm@49000
   138
#SMLNJ_CYGWIN_RUNTIME=1
wenzelm@49000
   139
wenzelm@41968
   140
# Misc programming languages
wenzelm@48187
   141
#ISABELLE_GHC="/usr/bin/ghc"
wenzelm@48187
   142
#ISABELLE_OCAML="/usr/bin/ocaml"
wenzelm@48187
   143
#ISABELLE_SWIPL="/usr/bin/swipl"