2344
|
1 |
#!/bin/bash -norc
|
2300
|
2 |
#
|
2307
|
3 |
# $Id$
|
|
4 |
#
|
2300
|
5 |
# Isabelle within an xterm.
|
|
6 |
|
|
7 |
|
|
8 |
## diagnostics
|
|
9 |
|
|
10 |
function fail()
|
|
11 |
{
|
2344
|
12 |
echo "$1" >&2
|
2300
|
13 |
exit 2
|
|
14 |
}
|
|
15 |
|
|
16 |
|
|
17 |
## main
|
|
18 |
|
|
19 |
if [ -z "$ISABELLE_SYMBOLS" -o "$ISABELLE_SYMBOLS" = false ]; then
|
2430
|
20 |
exec xterm -T Isabelle -n Isabelle $ISABELLE_INTERFACE_OPTIONS \
|
|
21 |
-e $ISABELLE_HOME/bin/isabelle "$@"
|
2300
|
22 |
else
|
2430
|
23 |
$ISABELLE_HOME/bin/isatool installfonts
|
2315
|
24 |
exec xterm -T Isabelle -n Isabelle $ISABELLE_INTERFACE_OPTIONS -fn isacr14 \
|
|
25 |
-xrm "*fontMenu.Label: Isabelle fonts" \
|
|
26 |
-xrm "*fontMenu*font1*Label: Large" \
|
|
27 |
-xrm "*VT100*font1: isacb24" \
|
|
28 |
-xrm "*fontMenu*font2*Label:" \
|
|
29 |
-xrm "*VT100*font2:" \
|
|
30 |
-xrm "*fontMenu*font3*Label:" \
|
|
31 |
-xrm "*VT100*font3:" \
|
|
32 |
-xrm "*fontMenu*font4*Label:" \
|
|
33 |
-xrm "*VT100*font4:" \
|
|
34 |
-xrm "*fontMenu*font5*Label:" \
|
|
35 |
-xrm "*VT100*font5:" \
|
|
36 |
-xrm "*fontMenu*font6*Label:" \
|
|
37 |
-xrm "*VT100*font6:" \
|
2430
|
38 |
-e $ISABELLE_HOME/bin/isabelle -e 'print_mode:=["symbols"];' "$@"
|
2300
|
39 |
fi
|