Steps to reproduce:
* cd ftp://ftp.gnome.org/
* Run "cd" in the panel where the remote site is open
* cd ftp://ftp.kernel.org/
Actual result: The directory content from ftp.gnome.org FTP-server.
Expected results: The directory content from kernel.org FTP-server.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
sys/param.h needs to be included before sys/mount.h on FreeBSD 6,
otherwise compiling fails with undefined identifier NGROUPS.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
How to reproduce.
1. Goto ~. Run mc. Enable autosave panels setup before exit. Save options.
2. Open ~ dir in the left panel, / in the right one. Make right panel active.
3. Close mc.
4. With mc-wrapper, following is performed:
4.1. Run mc. Now ~ in the right panel, / in the left one.
4.2. Close mc.
4.3. Run mc. Now ~ in the left panel again, / in the right one.
4.4. ...and so on.
5. Without mc-wrapper, following is performed:
5.1. Run mc. Now ~ in both panels.
Expected behavior with current_is_left=false
1. if mc start as mc dir dir2, dir1 is opened in the left panel, dir2 in
the right one.
2. if mc starts as mc (without dir1 and dir2), active (right) panel
contains working directory, other (left) one contains other_dir from
panel.ini.
3. if mc start as mc dir1, dir1 is opened in the left panel, right panel
contains working directory.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
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>
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>
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>
* 2781_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.
(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.
(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 #2781: cleanup before 4.8.3 release.