wok-next view mc/stuff/mc.sh @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
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 $@