вторник, 27 декабря 2022 г.

mc unknown terminal tmux

bash-4.2$ mc
Unknown terminal: screen.xterm-256colorCheck the TERM environment variable. Also make sure that the terminal is defined in the terminfo database. Alternatively, set the TERMCAP environment variable to the desired termcap entry.

Решение: 
bash-4.2$ export TERM=xterm

Также можно добавить export TERM=xterm в .profile если есть права. 

Комментариев нет:

Отправить комментарий

Split / разбить dump

//Разбить дамп по 50000 строк for i in `ls *.sql`; do split -d -l 50000 -a 4 --additional-suffix=.sql $i "$(basename "$i" .sq...