1826
|
1 |
#!/bin/bash
|
|
2 |
################################################
|
|
3 |
# Title: Tools/8bit/term/isaterm
|
|
4 |
# ID: $Id$
|
|
5 |
# Author: Franz Regensburger
|
|
6 |
# Copyright 1995 TU Muenchen
|
|
7 |
#
|
|
8 |
# open an xterm with isabelle font
|
|
9 |
# derived from specterm
|
|
10 |
#
|
|
11 |
# Franz Regensburger <regensbu@informatik.tu-muenchen.de> 22.3.95
|
|
12 |
#
|
|
13 |
###############################################
|
|
14 |
#
|
|
15 |
# The script `isaterm' opens a xterm window with the special 8bit font
|
|
16 |
# for Isabelle. It also provides keyboard bindings for the access to the
|
|
17 |
# graphical characters.
|
|
18 |
#
|
|
19 |
# The script is configured by the master makefile ../Makefile and
|
|
20 |
# the perl script ../bin/gen-isaterm which reads the configuration file
|
|
21 |
# ../config/key-table.inp. Edit these files to make changes!
|
|
22 |
#
|
|
23 |
|
|
24 |
###############################################
|
|
25 |
# do not edit below
|
|
26 |
###############################################
|
|
27 |
|
|
28 |
# directory where the scripts isaterm and initisaterm a located
|
|
29 |
ISATERMDIR=$ISABELLE8BIT/term
|
|
30 |
|
|
31 |
###############################################
|
|
32 |
# Everything below and including the line
|
|
33 |
# `*xterm*vt100.translations: #override\'
|
|
34 |
# is configured by the perl script `gen-isaterm'.
|
|
35 |
#
|
|
36 |
# DO NOT EDIT THE TRANSLATION MAP.
|
|
37 |
#
|
|
38 |
# In order to make changes to the keyboard mappings you should edit
|
|
39 |
# the configuration file `key-table.inp' which is interpreted by
|
|
40 |
# the perl script `gen-isaterm',
|
|
41 |
###############################################
|
|
42 |
|
|
43 |
# start xterm ; keyboard translations are given as resource string
|
|
44 |
# the fonts can be selected in the xterm via ctrl-button3
|
|
45 |
|
2852
|
46 |
xterm -fn "isabelle14" -title "IsaTerm" -geometry 80x40 -xrm "\
|
1826
|
47 |
*fontMenu.Label: 8 Bit Fonts for Isabelle" -xrm "\
|
|
48 |
*fontMenu*font1*Label: Isabelle 14" -xrm "\
|
2852
|
49 |
*VT100*font1: isabelle14" -xrm "\
|
1826
|
50 |
*fontMenu*font2*Label: Isabelle 24 bold" -xrm "\
|
2852
|
51 |
*VT100*font2: isabelle24" -xrm "\
|
1826
|
52 |
*xterm*vt100.translations: #override\
|
6025
|
53 |
!Mod2 <Key>space: string(0xa0) \n\
|
|
54 |
!Mod2 Shift <Key>g: string(0xa1) \n\
|
|
55 |
!Mod2 Shift <Key>d: string(0xa2) \n\
|
|
56 |
!Mod2 Shift <Key>j: string(0xa3) \n\
|
|
57 |
!Mod2 Shift <Key>l: string(0xa4) \n\
|
|
58 |
!Mod2 Shift <Key>p: string(0xa5) \n\
|
|
59 |
!Mod2 Shift <Key>s: string(0xa6) \n\
|
|
60 |
!Mod2 Shift <Key>f: string(0xa7) \n\
|
|
61 |
!Mod2 Shift <Key>q: string(0xa8) \n\
|
|
62 |
!Mod2 Shift <Key>w: string(0xa9) \n\
|
|
63 |
!Mod2 <Key>a: string(0xaa) \n\
|
|
64 |
!Mod2 <Key>b: string(0xab) \n\
|
|
65 |
!Mod2 <Key>g: string(0xac) \n\
|
|
66 |
!Mod2 <Key>d: string(0xad) \n\
|
|
67 |
!Mod2 <Key>e: string(0xae) \n\
|
|
68 |
!Mod2 <Key>z: string(0xaf) \n\
|
|
69 |
!Mod2 <Key>h: string(0xb0) \n\
|
|
70 |
!Mod2 <Key>j: string(0xb1) \n\
|
|
71 |
!Mod2 <Key>k: string(0xb2) \n\
|
|
72 |
!Mod2 <Key>l: string(0xb3) \n\
|
|
73 |
!Mod2 <Key>m: string(0xb4) \n\
|
|
74 |
!Mod2 <Key>n: string(0xb5) \n\
|
|
75 |
!Mod2 <Key>x: string(0xb6) \n\
|
|
76 |
!Mod2 <Key>p: string(0xb7) \n\
|
|
77 |
!Mod2 <Key>r: string(0xb8) \n\
|
|
78 |
!Mod2 <Key>s: string(0xb9) \n\
|
|
79 |
!Mod2 <Key>t: string(0xba) \n\
|
|
80 |
!Mod2 <Key>f: string(0xbb) \n\
|
|
81 |
!Mod2 <Key>c: string(0xbc) \n\
|
|
82 |
!Mod2 <Key>q: string(0xbd) \n\
|
|
83 |
!Mod2 <Key>w: string(0xbe) \n\
|
|
84 |
!Mod4 <Key>n: string(0xbf) \n\
|
|
85 |
!Mod4 <Key>a: string(0xc0) \n\
|
|
86 |
!Mod4 <Key>o: string(0xc1) \n\
|
|
87 |
!Mod4 <Key>f: string(0xc2) \n\
|
|
88 |
!Mod4 <Key>t: string(0xc3) \n\
|
|
89 |
!Mod4 Shift <Key>f: string(0xc4) \n\
|
|
90 |
!Mod4 <Key>b: string(0xd8) \n\
|
|
91 |
!Mod4 <Key>e: string(0xd9) \n\
|
|
92 |
!Mod4 Shift <Key>e: string(0xda) \n\
|
|
93 |
!Mod4 <Key>u: string(0xdb) \n\
|
|
94 |
!Mod4 <Key>p: string(0xdc) \n\
|
|
95 |
!Mod4 Shift <Key>p: string(0xdd) \n\
|
|
96 |
!Mod4 <Key>l: string(0xde) \n\
|
|
97 |
!Mod4 Shift <Key>l: string(0xdf) \n\
|
|
98 |
!Mod4 <Key>g: string(0xe0) \n\
|
|
99 |
!Mod4 Shift <Key>g: string(0xe1) \n\
|
|
100 |
!Mod4 <Key>s: string(0xe2) \n\
|
|
101 |
!Mod4 Shift <Key>s: string(0xe3) \n\
|
|
102 |
!Mod4 <Key>i: string(0xe7) string(0xe8) \n\
|
|
103 |
!Mod4 Shift <Key>i: string(0xea) string(0xeb) \n\
|
|
104 |
!Mod4 Shift <Key>m: string(0xe8) \n\
|
|
105 |
!Mod4 <Key>m: string(0xeb) \n\
|
|
106 |
!Mod4 Shift <Key>n: string(0xf7) \n\
|
|
107 |
!Mod4 <Key>x: string(0xf2) \n\
|
4638
|
108 |
! <Key>F2: string(0xe4) \n\
|
|
109 |
! <Key>F3: string(0xdd) \n\
|
|
110 |
! <Key>F4: string(0xcf) \n\
|
|
111 |
! <Key>F5: string(0xce) \n\
|
|
112 |
! <Key>F6: string(0xf1) \n\
|
|
113 |
! <Key>F7: string(0xe5) \n\
|
|
114 |
! <Key>F8: string(0xda) \n\
|
|
115 |
! <Key>F9: string(0xc4) \n\
|
|
116 |
! <Key>F10: string(0xcb) \n\
|
|
117 |
! <Key>F11: string(0xcc) \n\
|
|
118 |
! <Key>F12: string(0xea) string(0xeb) \n\
|
1826
|
119 |
!Shift <Key>F1: string(0xe9) \n\
|
|
120 |
!Shift <Key>F2: string(0xea) \n\
|
|
121 |
!Shift <Key>F3: string(0xeb) \n\
|
4638
|
122 |
!Shift <Key>F4: string(0xe9) string(0xeb) \n\
|
1826
|
123 |
!Shift <Key>F5: string(0xf3) \n\
|
|
124 |
!Shift <Key>F6: string(0xf4) \n\
|
|
125 |
!Shift <Key>F7: string(0xf5) \n\
|
|
126 |
!Shift <Key>F8: string(0xf6) \n\
|
4638
|
127 |
!Shift <Key>F9: string(0xca) \n\
|
|
128 |
!Shift <Key>F10: string(0xc9) \n\
|
|
129 |
!Ctrl <Key>F1: string(0xe6) \n\
|
|
130 |
!Ctrl <Key>F2: string(0xe7) \n\
|
|
131 |
!Ctrl <Key>F3: string(0xe8) \n\
|
|
132 |
!Ctrl <Key>F4: string(0xe6) string(0xe8) \n\
|
|
133 |
!Ctrl <Key>F5: string(0xc5) \n\
|
|
134 |
!Ctrl <Key>F6: string(0xc6) \n\
|
|
135 |
!Ctrl <Key>F7: string(0xc7) \n\
|
|
136 |
!Ctrl <Key>F8: string(0xc8) \n\
|
|
137 |
!Ctrl <Key>F9: string(0xfd) \n\
|
|
138 |
!Ctrl <Key>F10: string(0xcd) \n\
|
6025
|
139 |
!Mod2 <Key>F1: string(0xed) \n\
|
|
140 |
!Mod2 <Key>F2: string(0xee) \n\
|
|
141 |
!Mod2 <Key>F3: string(0xef) \n\
|
|
142 |
!Mod2 <Key>F4: string(0xf0) \n\
|
|
143 |
!Mod2 <Key>F5: string(0xd4) \n\
|
|
144 |
!Mod2 <Key>F6: string(0xd5) \n\
|
|
145 |
!Mod2 <Key>F7: string(0xd6) \n\
|
|
146 |
!Mod2 <Key>F8: string(0xd7) \n\
|
|
147 |
!Mod2 <Key>F9: string(0xdc) \n\
|
|
148 |
!Mod2 <Key>F10: string(0xf8) \n\
|
|
149 |
!Mod4 <Key>F1: string(0xf9) \n\
|
|
150 |
!Mod4 <Key>F2: string(0xfa) \n\
|
|
151 |
!Mod4 <Key>F3: string(0xfb) \n\
|
|
152 |
!Mod4 <Key>F4: string(0xfc) \n\
|
|
153 |
!Mod4 <Key>F5: string(0xd0) \n\
|
|
154 |
!Mod4 <Key>F6: string(0xd1) \n\
|
|
155 |
!Mod4 <Key>F7: string(0xd2) \n\
|
|
156 |
!Mod4 <Key>F8: string(0xd3) \n\
|
|
157 |
!Mod4 <Key>F9: string(0xf7) \n\
|
|
158 |
!Mod4 <Key>F10: string(0xec) \n\
|
|
159 |
!Mod4 <Key>F11: string(0xfe) \n\
|
|
160 |
!Mod4 <Key>F12: string(0xff) \
|
|
161 |
" $*
|