1826
|
1 |
#!/bin/bash
|
|
2 |
# set the keyboard modifiers used by Isabelle 8bit package
|
|
3 |
|
|
4 |
###############################################
|
|
5 |
# The variables SUPER_L and HYPER_R are automatically configured
|
|
6 |
# by the Master Makefile. You should configure them there.
|
|
7 |
###############################################
|
|
8 |
|
|
9 |
#keycode for Super_L 26 on SUN, 64 on Linux box
|
|
10 |
SUPER_L=26
|
|
11 |
|
|
12 |
#keycode for Hyper_R 20 on SUN, 113 on Linux box
|
|
13 |
HYPER_R=20
|
|
14 |
|
|
15 |
# define modifier keys for Isabelle keystrokes
|
|
16 |
# map super-key onto alt-key
|
|
17 |
xmodmap -e "keycode $SUPER_L = Super_L"
|
|
18 |
|
|
19 |
# map hyper-key onto altgraph-key
|
|
20 |
xmodmap -e "keycode $HYPER_R = Hyper_R"
|
|
21 |
|
|
22 |
# define new keysyms as Mod2 and Mod4
|
|
23 |
xmodmap -e "add Mod2 = Super_L" -e "add Mod4 = Hyper_R"
|
|
24 |
|
|
25 |
# make bash, axe, and vim accept 8 bit input
|
|
26 |
#export LANG=iso_8859_1
|
|
27 |
export LESSCHARSET=latin1
|
|
28 |
export INPUTRC=$ISABELLE8BIT/keyboard/bash.inputrc
|