The Home key go to the first column on first press, and after second press go to the beginning of non-whitespace char.
The End key go to the last column on first press, and after second press go to the end of non-whitespace char.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
mc dir1 dir2
The bug: order of parameters assignment depends on current_is_left
option in panels.ini file: if current_is_left=0, then dir1 is opened
in the left panel, dir2 in the right one. If current_is_left=1,
then dir1 is opened in the right panel, dir2 in the left one.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 2780_cleanup:
(mc_setup_by_args): fixed memory leaks.
(reread_cmd): use vfs_path_cmp() to compare dirs.
(do_load_dir): use vfs_path_t as a path handle.
README.fish: fixed location of user scripts.
Use new-style VFS prefixes.
(nice_cd): use new-style VFS prefixes.
(input_history_strip_password): actually url is not the pointer to constant.
Fixed mouse handling in WPanel widget.
(vfs_expare): changed argument type from int to gboolean.
(vfs_url_split): optimized to get rid of multiple string length caclulation.
(check_for_default): minor optimization and change return value.
Fix of viewer status bar draw.
(resolve_symlinks): use (vfs_path_t *) as argument.
(tty_draw_box): do nothing if width or heigth of box is less than 1.
(vfs_path_element_clone): ret rid of extra actions.
(vfs_get_raw_current_dir): return pointer to constant.
g_dirname and g_basename function are deprecated since glib-2.2.
Ticket #2780: cleanup before 4.8.3 release.
1) login to any ftp or fish resource
2) select ftp/fish entry and change current path
3) go back to old path
4) press Ctrl+X A (open "Active VFS directories" dialog)
Expected result: should be correct path to current VFS path
Actual result: path is incorrect.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
How to reproduce:
* mkdir -p a/b/c
* touch a/b/c/d
* ln -s d a/b/c/e
* tar -cf bad.tar a
* rm -rf a
* cd bad.tar/utar://a/b/c
Expected result: 'e' should be valid symlink to 'd'
Actual result: 'e' looks like broken link
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
After cd from directory to ".." in remote VFS, directory selection is
reset (".." is selected instead of the previous directory).
Bug was introduced in c457eaf9b1.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
After exit from archive located in the root of FS, file selection is
reset (/bin is selected instead of the archive).
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 1868_replace_regexp_hangup:
Code optimization: memory allocation and free moved outside of loop.
Ticket #1868: mcedit hang up on replace with regexp.