lib/scripts/isa-xterm
author wenzelm
Mon, 16 Dec 1996 10:29:30 +0100
changeset 2411 256dbda3df4f
parent 2344 c3e1eaea4418
child 2430 7dc83c3d751a
permissions -rwxr-xr-x
SML/NJ startup script (for 0.93).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2344
c3e1eaea4418 added -norc option;
wenzelm
parents: 2315
diff changeset
     1
#!/bin/bash -norc
2300
9af0cf87ac48 isa-xterm: Isabelle within an xterm.
wenzelm
parents:
diff changeset
     2
#
2307
508d2a233dbc *** empty log message ***
wenzelm
parents: 2300
diff changeset
     3
# $Id$
508d2a233dbc *** empty log message ***
wenzelm
parents: 2300
diff changeset
     4
#
2300
9af0cf87ac48 isa-xterm: Isabelle within an xterm.
wenzelm
parents:
diff changeset
     5
# Isabelle within an xterm.
9af0cf87ac48 isa-xterm: Isabelle within an xterm.
wenzelm
parents:
diff changeset
     6
9af0cf87ac48 isa-xterm: Isabelle within an xterm.
wenzelm
parents:
diff changeset
     7
9af0cf87ac48 isa-xterm: Isabelle within an xterm.
wenzelm
parents:
diff changeset
     8
## diagnostics
9af0cf87ac48 isa-xterm: Isabelle within an xterm.
wenzelm
parents:
diff changeset
     9
9af0cf87ac48 isa-xterm: Isabelle within an xterm.
wenzelm
parents:
diff changeset
    10
function fail()
9af0cf87ac48 isa-xterm: Isabelle within an xterm.
wenzelm
parents:
diff changeset
    11
{
2344
c3e1eaea4418 added -norc option;
wenzelm
parents: 2315
diff changeset
    12
  echo "$1" >&2
2300
9af0cf87ac48 isa-xterm: Isabelle within an xterm.
wenzelm
parents:
diff changeset
    13
  exit 2
9af0cf87ac48 isa-xterm: Isabelle within an xterm.
wenzelm
parents:
diff changeset
    14
}
9af0cf87ac48 isa-xterm: Isabelle within an xterm.
wenzelm
parents:
diff changeset
    15
9af0cf87ac48 isa-xterm: Isabelle within an xterm.
wenzelm
parents:
diff changeset
    16
9af0cf87ac48 isa-xterm: Isabelle within an xterm.
wenzelm
parents:
diff changeset
    17
## main
9af0cf87ac48 isa-xterm: Isabelle within an xterm.
wenzelm
parents:
diff changeset
    18
9af0cf87ac48 isa-xterm: Isabelle within an xterm.
wenzelm
parents:
diff changeset
    19
if [ -z "$ISABELLE_SYMBOLS" -o "$ISABELLE_SYMBOLS" = false ]; then
2315
491e8d4b8fad changed font menu;
wenzelm
parents: 2307
diff changeset
    20
  exec xterm -T Isabelle -n Isabelle $ISABELLE_INTERFACE_OPTIONS -e isabelle "$@"
2300
9af0cf87ac48 isa-xterm: Isabelle within an xterm.
wenzelm
parents:
diff changeset
    21
else
9af0cf87ac48 isa-xterm: Isabelle within an xterm.
wenzelm
parents:
diff changeset
    22
  isatool installfonts
2315
491e8d4b8fad changed font menu;
wenzelm
parents: 2307
diff changeset
    23
  exec xterm -T Isabelle -n Isabelle $ISABELLE_INTERFACE_OPTIONS -fn isacr14 \
491e8d4b8fad changed font menu;
wenzelm
parents: 2307
diff changeset
    24
    -xrm "*fontMenu.Label: Isabelle fonts" \
491e8d4b8fad changed font menu;
wenzelm
parents: 2307
diff changeset
    25
    -xrm "*fontMenu*font1*Label: Large" \
491e8d4b8fad changed font menu;
wenzelm
parents: 2307
diff changeset
    26
    -xrm "*VT100*font1: isacb24" \
491e8d4b8fad changed font menu;
wenzelm
parents: 2307
diff changeset
    27
    -xrm "*fontMenu*font2*Label:" \
491e8d4b8fad changed font menu;
wenzelm
parents: 2307
diff changeset
    28
    -xrm "*VT100*font2:" \
491e8d4b8fad changed font menu;
wenzelm
parents: 2307
diff changeset
    29
    -xrm "*fontMenu*font3*Label:" \
491e8d4b8fad changed font menu;
wenzelm
parents: 2307
diff changeset
    30
    -xrm "*VT100*font3:" \
491e8d4b8fad changed font menu;
wenzelm
parents: 2307
diff changeset
    31
    -xrm "*fontMenu*font4*Label:" \
491e8d4b8fad changed font menu;
wenzelm
parents: 2307
diff changeset
    32
    -xrm "*VT100*font4:" \
491e8d4b8fad changed font menu;
wenzelm
parents: 2307
diff changeset
    33
    -xrm "*fontMenu*font5*Label:" \
491e8d4b8fad changed font menu;
wenzelm
parents: 2307
diff changeset
    34
    -xrm "*VT100*font5:" \
491e8d4b8fad changed font menu;
wenzelm
parents: 2307
diff changeset
    35
    -xrm "*fontMenu*font6*Label:" \
491e8d4b8fad changed font menu;
wenzelm
parents: 2307
diff changeset
    36
    -xrm "*VT100*font6:" \
491e8d4b8fad changed font menu;
wenzelm
parents: 2307
diff changeset
    37
    -e isabelle -e 'print_mode:=["symbols"];' "$@"
2300
9af0cf87ac48 isa-xterm: Isabelle within an xterm.
wenzelm
parents:
diff changeset
    38
fi