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