wok-next view mc/stuff/mc.sh @ rev 21626
updated encodings (1.0.4 -> 1.0.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 16:03:31 2020 +0100 (2020-06-25) |
parents | |
children |
line source
1 #!/bin/sh
3 case $TERM in
4 linux*)
5 {
6 cat <<EOT
7 shift keycode 59 = F11
8 shift keycode 60 = F12
9 shift keycode 61 = F13
10 shift keycode 62 = F14
11 shift keycode 63 = F15
12 shift keycode 64 = F16
13 shift keycode 65 = F17
14 shift keycode 66 = F18
15 shift keycode 67 = F19
16 shift keycode 68 = F20
17 EOT
18 } | loadkeys -uv
19 sleep 1
20 ;;
21 xterm*)
22 export TERM='xterm-color'
23 [ -f '/usr/share/terminfo/s/screen-256color' ] &&
24 export TERM='screen-256color'
25 ;;
26 esac
27 mc $@