Modify algorithm of keymap files load:
1) Unconditionally load /usr/share/mc/mc.keymap
2) Unconditionally load /etc/mc/mc.keymap
Then load one of following user-defined keymaps, stop on success:
3) set via --keymap command line option
4) set via MC_KEYMAP environment variable
5) set via keymap key in config file
6) ~/.config/mc/mc.keymap
Fix of double load of keymap file if name is same as name of
system-wide keymap file.
Update man pages.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(expand_format): don't try expand format and return empty line
for modes that are not used formatted variables.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Syntax file properties.syntax used very dark color for keys (cyan is
almost invisible on default MC background), and bright color for
delimiters (yellow), which made highlighted file difficult to read.
Change keys color to yellow.
Change delimeters color to bright cyan.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Test case:
* cp /path/to/any-file.rpm '/tmp/a n y - f i l e.rpm'
* run /usr/bin/mc, go to /tmp
* Press Enter on 'a n y - f i l e.rpm' file
Expected result: mc should be entered to RPM package as in directory
Actual result: gor errors:
Inconsistent extfs archive
error: open of /tmp/a\ failed: No such file or directory
...
error: open of e.rpm failed: No such file or directory
-r--r--r-- 1 root root 0 Jun 29 15:12 ERROR
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
* 2845_cleanup:
Clarify cvs dependency.
(mcview_moveto_eol): comparison of unsigned expression < 0 fixup.
Makefile.ams cleanup.
Code indentation.
Try fix of compile warnings about assigned but unused variables
Code cleanup: removed unused variables amd removed unnedeed code.
(exec_extension): ret rid of double filename conversion.
Ticket #2839: Fix keybindings for Quit command of mcedit.
Tweak of select codepage code in case of --disable-charset
Fix of 'External panelize' dialog: update of 'Command' field content after mouse click.
Fix of f13 key handling.
Fix typos.
Ticket #2538: mcviewer: unused result of str_term_width1().
src/filemanager/mountlist.c: apply mc code indentation policy.
Ticket #2845: code cleanup before 4.8.4 release.
Set defines via CPPFLAGS variable not via CFLAGS one.
Use AM_CPPFLAGS and AM_CFLAGS variables instead of per-target ones.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
In Search dialog in mcedit M-n hotkey was used for normal search mode.
Therefore, M-n as HistoryPrev in the input line was in accessible.
Change hotkey for normal seach mode to M-r. Use this hotkey for normal diff
mode in mcdiffviewer to unify i18n resources.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 1535_vfs_sftp_fixes:
Add SFTP to the list of supported VFSes.
SFTP connections are shown now in 'Active VFS connections' list.
Fixed reget support in SFTP.
Ticket #1535: configure: don't fail if 'sftp' support was not requested explicitly
Before the patch default ./configure led to configure crash:
checking for LIBSSH... no
configure: error: libssh2 >= 1.2.5 library not found
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
src/filemanager/filegui.c does not compile on Solaris due to missing macros.
AVE_STRUCT_STATVFS_F_BASETYPE and HAVE_STRUCT_STATVFS_F_FSTYPENAME macros
are not set or even defined in config.h. configure scrips does not even
check for those members.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 2820_extd_fix:
Fixed libexec hardcoded value
Added 'View' action to all video formats.
Fixed the filename escaping issues.
Ticket #2820: Typo fix 'oofice' -> ooffice