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 |
|
4827
|
9 |
#keycode for Super_L (= Alt ) 26 on SUN, 64 on Linux box
|
1826
|
10 |
SUPER_L=26
|
|
11 |
|
4827
|
12 |
#keycode for Hyper_R (= Alt Gr) 20 on SUN, 113 on Linux box
|
1826
|
13 |
HYPER_R=20
|
|
14 |
|
4827
|
15 |
|
1826
|
16 |
# define modifier keys for Isabelle keystrokes
|
4827
|
17 |
# map super-key onto MetaL-key
|
1826
|
18 |
xmodmap -e "keycode $SUPER_L = Super_L"
|
|
19 |
|
4827
|
20 |
# map hyper-key onto MetaR-key
|
1826
|
21 |
xmodmap -e "keycode $HYPER_R = Hyper_R"
|
|
22 |
|
4827
|
23 |
# define new keysyms to generate Mod1 and Mod5
|
|
24 |
xmodmap -e "clear Mod3" -e "clear Mod1" -e "add Mod1 = Super_L"
|
|
25 |
xmodmap -e "clear Mod2" -e "clear Mod5" -e "add Mod5 = Hyper_R"
|
1826
|
26 |
|
|
27 |
# make bash, axe, and vim accept 8 bit input
|
|
28 |
#export LANG=iso_8859_1
|
|
29 |
export LESSCHARSET=latin1
|
|
30 |
export INPUTRC=$ISABELLE8BIT/keyboard/bash.inputrc
|