#!/bin/sh
#
# muterm - start MuPAD in an xterm :-)
#
# Written by Winfried Trümper <winni@xpilot.org> for public use.
# v 1.1 - 14.02.97
# v 1.2 - 19.11.98  give command line arguments to the MuPAD kernel
#                   (Maltey UPS <Francois.Maltey@enst-bretagne.fr>)

exec xterm \
        -geometry 80x33 \
        -sb \
        -fn 10x20 \
        -xrm 'XTerm.VT100.Translations:       #override \n\
                <Key>F1:     string("?\n") \n\
                <Key>F11:    string("help(\\"\\");") \n\
                <Key>F2:     string("loadproc(\\"\\");") \n\
                <Key>F10:    string("quit;\n") \n\
                <Key>Home:   string(0x01) \n\
                <Key>End:    string(0x05) \n\
                <Key>Delete:    string(0x04) \n\
                <Key>BackSpace: string(0x08) \n' \
        -T "MuPAD Terminal Mode" \
        -n "MuPAD" \
        -e mupad $* &

