Added keybinding for switch panels view (horizontally/vertically).
Default value for keybind is
[main]
CmdTogglePanelsView = alt-comma
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Look at mcserv.c near 1019
The chroot() call's return value isn't handled - this may a security risk.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
The lslR VFS does not work with ls-lR files created in en_US.UTF-8 locale and with files and directories started with whitespaces.
Followed patch fixes both issues.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Fixed warings: local variable shadows a global declaration.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
If menu bar is always visible, default colors are used in menu.
If menu bar is visible when it is active, skin colors are used.
In this commit, only skin colors are applied to menu. Thanks to
Rashid N. Achilov for idea.
(see http://mail.gnome.org/archives/mc/2010-January/msg00087.html).
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Reported-By: Dr. Stefan Thurner (TU-Chemnitz)
Since 4.7, on monochrome terminals (eg. xterm-mono) the
selections are not visible anymore (pre 4.7 inverted
the selected text).
Probably this has to do w/ the new skinning stuff.
Fix issue: added additional check for b&w terminal into skins engine.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
1. touch /tmp/IzV-Útěk_do_bezpečí.gz
2. open mc
3. move cursor at /tmp/IzV-Útěk_do_bezpečí.gz
4. press F4
5. you will see an error message, press Dismiss
6. segfault
Fix issue: length of command line string for pipeing now calculated
automatically (via g_strdup_printf()) rathen than calculating via
str_term_width1() function.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
* 1925_mcserver_conditional:
Added check for empty value of 'enable_mcserver' variable for more proper summary output.
Ticket #1925: Fixed conditional compile of mcserver
Bug: in lock_extract_info() number of unicode characters
is used as number of bytes in string.
Now strlen() is used instead of str_term_width() to calculate
string length. String length is calculated only one time.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 1866_filesystem_reorganization: (27 commits)
src/viewer/display.c: added forgotten #include "src/charsets.h"
Removed src/pipethrough.* files.
Move src/cons.saver into src/consaver/* subdir
Changes for build after moving logging.[ch] into library
Move logging.[ch] into library
Changes for build after moving strutils into library
Moved strecape.[ch] into library
Added include of "fileloc.h" into subshell.c file
Changes for build after moving interface includes
Move all interface includes from subdirs lib/*/*.h into lib/*.h
Reorganization of usage external libs
Changes for build after moving strutil into lib
Change maint/template.c matched with new place of global.h
Moved strutil-related stuff from src into lib/strutil/*
Changes for build after moving util.[ch]
Moved src/util.[ch] into lib, also moved unixcompat.h and utilunix.c.
Reorganization of sources. Part 2
Reorganization of sources. Part 1.
global.h Removed unneeded include of file "textconf.h"
Reorganized pathes to files in '#include' directives
...