wok-next diff mc/stuff/mc.sh @ rev 20709
cdrdao: add patch.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 26 17:09:29 2018 +0300 (2018-05-26) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mc/stuff/mc.sh Sat May 26 17:09:29 2018 +0300 1.3 @@ -0,0 +1,27 @@ 1.4 +#!/bin/sh 1.5 + 1.6 +case $TERM in 1.7 + linux*) 1.8 + { 1.9 + cat <<EOT 1.10 +shift keycode 59 = F11 1.11 +shift keycode 60 = F12 1.12 +shift keycode 61 = F13 1.13 +shift keycode 62 = F14 1.14 +shift keycode 63 = F15 1.15 +shift keycode 64 = F16 1.16 +shift keycode 65 = F17 1.17 +shift keycode 66 = F18 1.18 +shift keycode 67 = F19 1.19 +shift keycode 68 = F20 1.20 +EOT 1.21 + } | loadkeys -uv 1.22 + sleep 1 1.23 + ;; 1.24 + xterm*) 1.25 + export TERM='xterm-color' 1.26 + [ -f '/usr/share/terminfo/s/screen-256color' ] && 1.27 + export TERM='screen-256color' 1.28 + ;; 1.29 +esac 1.30 +mc $@