src/Tools/8bit/term/isaterm
author oheimb
Fri, 24 Apr 1998 16:16:29 +0200
changeset 4827 a0b8f56ecb9e
parent 4638 49c1b2b63aa0
child 5435 2487121d3bd1
permissions -rwxr-xr-x
improved keyboard modifiers

#!/bin/bash
################################################
# Title:      Tools/8bit/term/isaterm
# ID:         $Id$
# Author:     Franz Regensburger
# Copyright   1995 TU Muenchen
#
# open an xterm with isabelle font
# derived from specterm
#
# Franz Regensburger <regensbu@informatik.tu-muenchen.de> 22.3.95
# 
###############################################
#
# The script `isaterm' opens a xterm window with the special 8bit font
# for Isabelle. It also provides keyboard bindings for the access to the
# graphical characters.
#
# The script is configured by the master makefile ../Makefile and
# the perl script ../bin/gen-isaterm which reads the configuration file
# ../config/key-table.inp. Edit these files to make changes!
#

###############################################
# do not edit below
###############################################

# directory where the scripts isaterm and initisaterm a located
ISATERMDIR=$ISABELLE8BIT/term

###############################################
# Everything below and including the line
# `*xterm*vt100.translations: #override\'
# is configured by the perl script `gen-isaterm'. 
#
# DO NOT EDIT THE TRANSLATION MAP.
#
# In order to make changes to the keyboard mappings you should edit
# the configuration file `key-table.inp' which is interpreted by
# the perl script `gen-isaterm', 
###############################################

# start xterm ; keyboard translations are given as resource string
# the fonts can be selected in the xterm via ctrl-button3

xterm -fn "isabelle14" -title "IsaTerm" -geometry 80x40 -xrm "\
*fontMenu.Label:         8 Bit Fonts for Isabelle" -xrm "\
*fontMenu*font1*Label:        Isabelle 14"      -xrm "\
*VT100*font1:            isabelle14"          -xrm "\
*fontMenu*font2*Label:        Isabelle 24 bold"      -xrm "\
*VT100*font2:            isabelle24"          -xrm "\
*xterm*vt100.translations: #override\
	!Mod1 <Key>space:		string(0xa0)  \n\
	!Mod1 Shift <Key>g:		string(0xa1)  \n\
	!Mod1 Shift <Key>d:		string(0xa2)  \n\
	!Mod1 Shift <Key>j:		string(0xa3)  \n\
	!Mod1 Shift <Key>l:		string(0xa4)  \n\
	!Mod1 Shift <Key>p:		string(0xa5)  \n\
	!Mod1 Shift <Key>s:		string(0xa6)  \n\
	!Mod1 Shift <Key>f:		string(0xa7)  \n\
	!Mod1 Shift <Key>q:		string(0xa8)  \n\
	!Mod1 Shift <Key>w:		string(0xa9)  \n\
	!Mod1 <Key>a:		string(0xaa)  \n\
	!Mod1 <Key>b:		string(0xab)  \n\
	!Mod1 <Key>g:		string(0xac)  \n\
	!Mod1 <Key>d:		string(0xad)  \n\
	!Mod1 <Key>e:		string(0xae)  \n\
	!Mod1 <Key>z:		string(0xaf)  \n\
	!Mod1 <Key>h:		string(0xb0)  \n\
	!Mod1 <Key>j:		string(0xb1)  \n\
	!Mod1 <Key>k:		string(0xb2)  \n\
	!Mod1 <Key>l:		string(0xb3)  \n\
	!Mod1 <Key>m:		string(0xb4)  \n\
	!Mod1 <Key>n:		string(0xb5)  \n\
	!Mod1 <Key>x:		string(0xb6)  \n\
	!Mod1 <Key>p:		string(0xb7)  \n\
	!Mod1 <Key>r:		string(0xb8)  \n\
	!Mod1 <Key>s:		string(0xb9)  \n\
	!Mod1 <Key>t:		string(0xba)  \n\
	!Mod1 <Key>f:		string(0xbb)  \n\
	!Mod1 <Key>c:		string(0xbc)  \n\
	!Mod1 <Key>q:		string(0xbd)  \n\
	!Mod1 <Key>w:		string(0xbe)  \n\
	!Mod5 <Key>n:		string(0xbf)  \n\
	!Mod5 <Key>a:		string(0xc0)  \n\
	!Mod5 <Key>o:		string(0xc1)  \n\
	!Mod5 <Key>f:		string(0xc2)  \n\
	!Mod5 <Key>t:		string(0xc3)  \n\
	!Mod5 Shift <Key>f:		string(0xc4)  \n\
	!Mod5 <Key>b:		string(0xd8)  \n\
	!Mod5 <Key>e:		string(0xd9)  \n\
	!Mod5 Shift <Key>e:		string(0xda)  \n\
	!Mod5 <Key>u:		string(0xdb)  \n\
	!Mod5 <Key>p:		string(0xdc)  \n\
	!Mod5 Shift <Key>p:		string(0xdd)  \n\
	!Mod5 <Key>l:		string(0xde)  \n\
	!Mod5 Shift <Key>l:		string(0xdf)  \n\
	!Mod5 <Key>g:		string(0xe0)  \n\
	!Mod5 Shift <Key>g:		string(0xe1)  \n\
	!Mod5 <Key>s:		string(0xe2)  \n\
	!Mod5 Shift <Key>s:		string(0xe3)  \n\
	!Mod5 <Key>i:		string(0xe7) string(0xe8)  \n\
	!Mod5 Shift <Key>i:		string(0xea) string(0xeb)  \n\
	!Mod5 Shift <Key>m:		string(0xe8)  \n\
	!Mod5 <Key>m:		string(0xeb)  \n\
	!Mod5 Shift <Key>n:		string(0xf7)  \n\
	!Mod5 <Key>x:		string(0xf2)  \n\
	! <Key>F2:		string(0xe4)  \n\
	! <Key>F3:		string(0xdd)  \n\
	! <Key>F4:		string(0xcf)  \n\
	! <Key>F5:		string(0xce)  \n\
	! <Key>F6:		string(0xf1)  \n\
	! <Key>F7:		string(0xe5)  \n\
	! <Key>F8:		string(0xda)  \n\
	! <Key>F9:		string(0xc4)  \n\
	! <Key>F10:		string(0xcb)  \n\
	! <Key>F11:		string(0xcc)  \n\
	! <Key>F12:		string(0xea) string(0xeb)  \n\
	!Shift <Key>F1:		string(0xe9)  \n\
	!Shift <Key>F2:		string(0xea)  \n\
	!Shift <Key>F3:		string(0xeb)  \n\
	!Shift <Key>F4:		string(0xe9) string(0xeb)  \n\
	!Shift <Key>F5:		string(0xf3)  \n\
	!Shift <Key>F6:		string(0xf4)  \n\
	!Shift <Key>F7:		string(0xf5)  \n\
	!Shift <Key>F8:		string(0xf6)  \n\
	!Shift <Key>F9:		string(0xca)  \n\
	!Shift <Key>F10:		string(0xc9)  \n\
	!Ctrl <Key>F1:		string(0xe6)  \n\
	!Ctrl <Key>F2:		string(0xe7)  \n\
	!Ctrl <Key>F3:		string(0xe8)  \n\
	!Ctrl <Key>F4:		string(0xe6) string(0xe8)  \n\
	!Ctrl <Key>F5:		string(0xc5)  \n\
	!Ctrl <Key>F6:		string(0xc6)  \n\
	!Ctrl <Key>F7:		string(0xc7)  \n\
	!Ctrl <Key>F8:		string(0xc8)  \n\
	!Ctrl <Key>F9:		string(0xfd)  \n\
	!Ctrl <Key>F10:		string(0xcd)  \n\
	!Mod1 <Key>F1:		string(0xed)  \n\
	!Mod1 <Key>F2:		string(0xee)  \n\
	!Mod1 <Key>F3:		string(0xef)  \n\
	!Mod1 <Key>F4:		string(0xf0)  \n\
	!Mod1 <Key>F5:		string(0xd4)  \n\
	!Mod1 <Key>F6:		string(0xd5)  \n\
	!Mod1 <Key>F7:		string(0xd6)  \n\
	!Mod1 <Key>F8:		string(0xd7)  \n\
	!Mod1 <Key>F9:		string(0xdc)  \n\
	!Mod1 <Key>F10:		string(0xf8)  \n\
	!Mod5 <Key>F1:		string(0xf9)  \n\
	!Mod5 <Key>F2:		string(0xfa)  \n\
	!Mod5 <Key>F3:		string(0xfb)  \n\
	!Mod5 <Key>F4:		string(0xfc)  \n\
	!Mod5 <Key>F5:		string(0xd0)  \n\
	!Mod5 <Key>F6:		string(0xd1)  \n\
	!Mod5 <Key>F7:		string(0xd2)  \n\
	!Mod5 <Key>F8:		string(0xd3)  \n\
	!Mod5 <Key>F9:		string(0xf7)  \n\
	!Mod5 <Key>F10:		string(0xec)  \n\
	!Mod5 <Key>F11:		string(0xfe)  \n\
	!Mod5 <Key>F12:		string(0xff)  \
" $* -e $ISATERMDIR/initisaterm