The last word of hyperlinks in the interactive help don't act on mouse clicks.
This also implies that one-word links can't be clicked at all.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
On Mac OS X, in the iTerm2, when the LANG variable is set to en_US.utf-8
mcedit specifically does not correctly accept input (every character press
is interpreted as a '.'). However when LANG is set to en_US.UTF-8 mcedit
works correctly (see also http://code.google.com/p/iterm2/issues/detail?id=204).
On Linux, nl_langinfo(CODESET) returns upper case UTF-8 whether the LANG is set
to utf-8 or UTF-8.
On Mac OS X, it returns the same case as the LANG input.
So let tranform result of nl_langinfo(CODESET) to upper case unconditionally.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Previously, copying a file does not change access permissions of the destination
file if the check box "Preserve attributes" in the Copy window is not set.
For some time it is not so: if you uncheck the "Preserve attributes" then access
permissions of the destination file are set in accordance with the value of
umask, which can lead to information disclosure(i.e. security problem).
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Steps to reprosuce:
*) dmesg| gzip -c9 > out.gz
*) press F4 on out.gz file
Expected result: editor should be opened
Actual result: segmentation fault.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
If [Preallocate space] option is enabled, MC can't copy zero-length files:
"Cannot preallocate space for target file ... Invalid argument (22)"
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
fixed trouble with internal editor macro engine introduced by commit #68a8745f6dd7ded9437317a694225d599745e983
now record input char and commands.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
* 2740_cleanup: (28 commits)
Added new entry to the external panelize - "Modified git files".
Disable resizable menu.
Ticket #2748: wrong message in menu item "Delete tagged files if a copy exists in the other directory".
Fixed handling actions in chmod dialog
(extfs_get_path_mangle): renamed to extfs_get_path_int
(extfs_get_path_mangle): minor optimization.
(panel_reload): fixup of panel current directory obtain.
(edit_load_file_from_filename): fixed file unlocking.
Typo fix in message
(expand_format): minor optimization.
Added default shortcuts for dynamically resize panels.
Fixed preprocessor conditions.
find.c: drop support of legacy config option.
Added macros for Layout and Misc sections of main config file.
Reorder fields in mc_global struct and change type for some of them.
Removed useless return.
Editor: avoid extra screen redraw.
editdraw.c: removed unused defines.
Tweak key bindings.
Tweak background operations support.
...
* 2738_handle_startup_errors:
Allow setup mc home directory using MC_HOME environment variable.
Tweak arguments parsing
Handle error of mc main loop.
Ticket #2738: handle errors at mc sturtup stage.