author | blanchet |
Mon, 07 Oct 2013 23:44:53 +0200 | |
changeset 54075 | 890f5083067b |
parent 54037 | ab77ec347220 |
child 54311 | ed839b74ef67 |
permissions | -rw-r--r-- |
24211 | 1 |
# -*- shell-script -*- :mode=shellscript: |
2294 | 2 |
# |
47173 | 3 |
# Isabelle settings -- distribution defaults. |
16875 | 4 |
# |
5 |
# Important notes: |
|
47173 | 6 |
# * See the "system" manual for explanations on Isabelle settings |
16875 | 7 |
# * DO NOT EDIT the repository copy of this file! |
47173 | 8 |
# * DO NOT COPY this file into your ~/.isabelle directory! |
2309 | 9 |
|
2426 | 10 |
### |
52790 | 11 |
### Isabelle/Scala |
27906 | 12 |
### |
13 |
||
51384 | 14 |
ISABELLE_SCALA_BUILD_OPTIONS="-nowarn -target:jvm-1.5 -Xmax-classfile-name 130" |
47009 | 15 |
|
53346
26c795734b3c
provide ISABELLE_JAVA_SYSTEM_OPTIONS via settings;
wenzelm
parents:
52790
diff
changeset
|
16 |
ISABELLE_JAVA_SYSTEM_OPTIONS="-Dfile.encoding=UTF-8 -server" |
26c795734b3c
provide ISABELLE_JAVA_SYSTEM_OPTIONS via settings;
wenzelm
parents:
52790
diff
changeset
|
17 |
|
53577 | 18 |
classpath "$ISABELLE_HOME/lib/classes/Pure.jar" |
19 |
classpath "$ISABELLE_HOME/lib/classes/scala-library.jar" |
|
20 |
classpath "$ISABELLE_HOME/lib/classes/scala-swing.jar" |
|
21 |
classpath "$ISABELLE_HOME/lib/classes/scala-actors.jar" |
|
22 |
classpath "$ISABELLE_HOME/lib/classes/scala-compiler.jar" |
|
23 |
classpath "$ISABELLE_HOME/lib/classes/scala-reflect.jar" |
|
53576
793a429c63e7
maintain classpath in more elementary manner: turn ISABELLE_CLASSPATH into -classpath option, so that all jars are covered by sun.misc.Launcher.AppClassLoader (e.g. relevant for loading add-on resources);
wenzelm
parents:
53346
diff
changeset
|
24 |
|
54037
ab77ec347220
unset XMODIFIERS by default, in order to prevent total loss of key events seen on Fedora 18/19;
wenzelm
parents:
53577
diff
changeset
|
25 |
#paranoia setting -- avoid problems of Java/Swing versus XIM/IBus etc. |
ab77ec347220
unset XMODIFIERS by default, in order to prevent total loss of key events seen on Fedora 18/19;
wenzelm
parents:
53577
diff
changeset
|
26 |
unset XMODIFIERS |
ab77ec347220
unset XMODIFIERS by default, in order to prevent total loss of key events seen on Fedora 18/19;
wenzelm
parents:
53577
diff
changeset
|
27 |
|
27906 | 28 |
|
29 |
### |
|
28504
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28474
diff
changeset
|
30 |
### Interactive sessions (cf. isabelle tty) |
25627 | 31 |
### |
32 |
||
33 |
ISABELLE_LINE_EDITOR="" |
|
26205
499f08293680
ISABELLE_LINE_EDITOR: prefer rlwrap, which passes interrupts properly;
wenzelm
parents:
25970
diff
changeset
|
34 |
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)" |
25627 | 35 |
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)" |
36 |
||
37 |
||
38 |
### |
|
52052
892061142ba6
discontinued obsolete isabelle usedir, mkdir, make;
wenzelm
parents:
51977
diff
changeset
|
39 |
### Batch sessions (cf. isabelle build) |
2435 | 40 |
### |
41 |
||
48466
3b2fb20df17d
further imitation of ISABELLE_USEDIR_OPTIONS via options;
wenzelm
parents:
48449
diff
changeset
|
42 |
ISABELLE_BUILD_OPTIONS="" |
51977
b55f90655328
more generous java resources via ISABELLE_BUILD_JAVA_OPTIONS;
wenzelm
parents:
51940
diff
changeset
|
43 |
ISABELLE_BUILD_JAVA_OPTIONS="-Xmx1024m -Xss1m" |
48466
3b2fb20df17d
further imitation of ISABELLE_USEDIR_OPTIONS via options;
wenzelm
parents:
48449
diff
changeset
|
44 |
|
2435 | 45 |
|
46 |
### |
|
28504
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28474
diff
changeset
|
47 |
### Document preparation (cf. isabelle latex/document) |
7773 | 48 |
### |
49 |
||
50 |
ISABELLE_LATEX="latex" |
|
51 |
ISABELLE_PDFLATEX="pdflatex" |
|
7813 | 52 |
ISABELLE_BIBTEX="bibtex" |
14344 | 53 |
ISABELLE_MAKEINDEX="makeindex" |
11800 | 54 |
ISABELLE_EPSTOPDF="epstopdf" |
7773 | 55 |
|
56 |
||
57 |
### |
|
2968 | 58 |
### Misc path settings |
2426 | 59 |
### |
2294 | 60 |
|
48840 | 61 |
ISABELLE_COMPONENT_REPOSITORY="http://isabelle.in.tum.de/components" |
62 |
||
2426 | 63 |
# The place for user configuration, heap files, etc. |
48553 | 64 |
if [ -z "$ISABELLE_IDENTIFIER" ]; then |
48449 | 65 |
ISABELLE_HOME_USER="$USER_HOME/.isabelle" |
66 |
else |
|
67 |
ISABELLE_HOME_USER="$USER_HOME/.isabelle/$ISABELLE_IDENTIFIER" |
|
68 |
fi |
|
2294 | 69 |
|
3177 | 70 |
# Where to look for isabelle tools (multiple dirs separated by ':'). |
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
71 |
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools" |
2786 | 72 |
|
4334 | 73 |
# Location for temporary files (should be on a local file system). |
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
74 |
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER" |
4334 | 75 |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
76 |
# Heap input locations. ML system identifier is included in lookup. |
40387
e4c9e0dad473
moved ISABELLE_IDENTIFIER from ISABELLE_OUTPUT further up to ISABELLE_HOME_USER;
wenzelm
parents:
37174
diff
changeset
|
77 |
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps" |
2780 | 78 |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
79 |
# Heap output location. ML system identifier is appended automatically later on. |
40387
e4c9e0dad473
moved ISABELLE_IDENTIFIER from ISABELLE_OUTPUT further up to ISABELLE_HOME_USER;
wenzelm
parents:
37174
diff
changeset
|
80 |
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps" |
26212 | 81 |
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info" |
2780 | 82 |
|
16186 | 83 |
# Site settings check -- just to make it a little bit harder to copy this file verbatim! |
9225 | 84 |
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \ |
85 |
{ echo >&2 "### Isabelle site settings already present! Maybe copied etc/settings in full?"; } |
|
32305
c5523ded51d9
basic support for components (which imitate the usual Isabelle directory layout);
wenzelm
parents:
32292
diff
changeset
|
86 |
ISABELLE_SITE_SETTINGS_PRESENT=true |
9225 | 87 |
|
13920 | 88 |
|
89 |
### |
|
28651 | 90 |
### Default logic |
13920 | 91 |
### |
16186 | 92 |
|
3184 | 93 |
ISABELLE_LOGIC=HOL |
2294 | 94 |
|
2786 | 95 |
|
13920 | 96 |
### |
97 |
### Docs |
|
98 |
### |
|
2294 | 99 |
|
16186 | 100 |
# Where to look for docs (multiple dirs separated by ':'). |
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
101 |
ISABELLE_DOCS="$ISABELLE_HOME/doc" |
2345 | 102 |
|
50197
b385d134926d
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;
wenzelm
parents:
49000
diff
changeset
|
103 |
# PDF file viewer (command-line to eval) |
b385d134926d
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;
wenzelm
parents:
49000
diff
changeset
|
104 |
case "$ISABELLE_PLATFORM_FAMILY" in |
b385d134926d
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;
wenzelm
parents:
49000
diff
changeset
|
105 |
linux) |
b385d134926d
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;
wenzelm
parents:
49000
diff
changeset
|
106 |
PDF_VIEWER="xdg-open" |
b385d134926d
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;
wenzelm
parents:
49000
diff
changeset
|
107 |
;; |
b385d134926d
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;
wenzelm
parents:
49000
diff
changeset
|
108 |
macos) |
52450
e09e1091394d
prefer Safari for viewing PDF files, which appears to be better behaved than Preview concerning re-opening recent files (Mountain Lion);
wenzelm
parents:
52052
diff
changeset
|
109 |
PDF_VIEWER="open -W -n -a Safari" |
50197
b385d134926d
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;
wenzelm
parents:
49000
diff
changeset
|
110 |
;; |
b385d134926d
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;
wenzelm
parents:
49000
diff
changeset
|
111 |
windows) |
b385d134926d
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;
wenzelm
parents:
49000
diff
changeset
|
112 |
PDF_VIEWER="cygstart" |
b385d134926d
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;
wenzelm
parents:
49000
diff
changeset
|
113 |
;; |
b385d134926d
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;
wenzelm
parents:
49000
diff
changeset
|
114 |
esac |
b385d134926d
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;
wenzelm
parents:
49000
diff
changeset
|
115 |
|
b385d134926d
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;
wenzelm
parents:
49000
diff
changeset
|
116 |
# DVI file viewer (command-line to eval) |
3062 | 117 |
DVI_VIEWER=xdvi |
2345 | 118 |
|
15218 | 119 |
|
2426 | 120 |
### |
37058
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
121 |
### Rendering information |
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
122 |
### |
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
123 |
|
43484 | 124 |
ISABELLE_FONTS="$ISABELLE_HOME/lib/fonts/IsabelleText.ttf:$ISABELLE_HOME/lib/fonts/IsabelleTextBold.ttf" |
37058
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
125 |
ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols" |
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
126 |
|
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
127 |
|
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
128 |
### |
49000 | 129 |
### Misc old-style settings |
7185 | 130 |
### |
131 |
||
49000 | 132 |
# Standard ML of New Jersey (slow!) |
133 |
#ML_SYSTEM=smlnj-110 |
|
134 |
#ML_HOME="/usr/local/smlnj/bin" |
|
135 |
#ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=1024" |
|
136 |
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX") |
|
137 |
#SMLNJ_CYGWIN_RUNTIME=1 |
|
138 |
||
41968
7f5c9bd991be
example settings for ISABELLE_GHC, ISABELLE_OCAML, ISABELLE_SWIPL;
wenzelm
parents:
41955
diff
changeset
|
139 |
# Misc programming languages |
48187
6615f7ce670b
slightly modernized ISABELLE_GHC etc. -- /usr/bin is more likely to provide it by default (notably on macbroy2[0-9] and lxbroy*);
wenzelm
parents:
47758
diff
changeset
|
140 |
#ISABELLE_GHC="/usr/bin/ghc" |
6615f7ce670b
slightly modernized ISABELLE_GHC etc. -- /usr/bin is more likely to provide it by default (notably on macbroy2[0-9] and lxbroy*);
wenzelm
parents:
47758
diff
changeset
|
141 |
#ISABELLE_OCAML="/usr/bin/ocaml" |
6615f7ce670b
slightly modernized ISABELLE_GHC etc. -- /usr/bin is more likely to provide it by default (notably on macbroy2[0-9] and lxbroy*);
wenzelm
parents:
47758
diff
changeset
|
142 |
#ISABELLE_SWIPL="/usr/bin/swipl" |