В дефолтной установке у меня неправильно отображаются русские имена файлов в панелях.
Вроде есть патчи на mc с slang-ом, да вот беда в том, что не могу заставить его собираться именно с slang-ом а не с mcslang.
Ошибка возникает при конфигурировании:
Код: Выделить всё
./configure --with-mcfs --with-samba --with-screen=slang
...
checking slang.h usability... yes
checking slang.h presence... yes
checking for slang.h... yes
checking if S-Lang uses termcap... yes
configure: using S-Lang screen library with termcap
checking for tgoto in -ltermcap... yes
checking for SLang_init_tty in -lslang... no
configure: error: S-Lang library not found
Вот либы первого slang-а собраного с UTF поддержкой:
Код: Выделить всё
[root@nextgate /usr/ports/devel/libslang]# ls -l /usr/local/lib/libslang*
-r--r--r-- 1 root wheel 581564 Mar 26 22:57 /usr/local/lib/libslang-utf8.a
lrwxr-xr-x 1 root wheel 18 Mar 26 22:57 /usr/local/lib/libslang-utf8.so -> libslang-utf8.so.1
-r--r--r-- 1 root wheel 507789 Mar 26 22:57 /usr/local/lib/libslang-utf8.so.1
lrwxr-xr-x 1 root wheel 30 Mar 26 22:57 /usr/local/lib/libslang.a -> /usr/local/lib/libslang-utf8.a
lrwxr-xr-x 1 root wheel 31 Mar 26 22:57 /usr/local/lib/libslang.so -> /usr/local/lib/libslang-utf8.so
lrwxr-xr-x 1 root wheel 33 Mar 26 22:57 /usr/local/lib/libslang.so.1 -> /usr/local/lib/libslang-utf8.so.1
Код: Выделить всё
Description
SLang_init_tty initializes the terminal for single character input. If the first parameter intr_ch is in the range 0-255, it will be used as the interrupt character, e.g., under Unix this character will generate a SIGINT signal. Otherwise, if it is -1, the interrupt character will be left unchanged.
If the second parameter no_flow_ctrl is non-zero, flow control (XON/XOFF) processing will be enabled.
If the last parmeter opost is non-zero, output processing by the terminal will be enabled. If one intends to use this function in conjunction with the S-lang screen management routines (SLsmg), this paramete shold be set to zero.
SLang_init_tty returns zero upon success, or -1 upon error.

Мож кто уже натыкался на такие грабли?