On 13.04.2017 16:41, poma wrote: > On 13.04.2017 10:49, John Pover wrote: >> Dear readers, >> >> Since this weeks update of Midnight Commander (mc-4.8.19.1.fc25.x86_64.rpm) >> it's normal behavior when exiting to the last panelized directory has >> changed. If you have started mc from the command line in a terminal or >> konsole it will now exit to the directory from which you have started >> regardless of whatever directory was active in the last active panel. So far >> none of the classic remedies have success in restoring the proper behavior. >> These are : >> 1) Putting the line " alias mc='. /usr/libexec/mc/mc-wrapper.sh' " in >> .bashrc. >> 2) Creating an executable exitcwd and putting the line " alias mc='. >> ~/.config/mc/exitcwd' " in .bashrc. >> Etc, etc. >> Has anyone experienced the same and perhaps found it's causes and hopefully >> it's cures ? >> >> Regards >> John > > > See: > https://src.fedoraproject.org/cgit/rpms/mc.git/tree/mc-tmpdir.patch?h=f25 > > Try: > # sed -i 's/TMPDIR-\/tmp/TMPDIR-\/var\/tmp/ /usr/libexec/mc/mc-wrapper.sh > > Ref. > "Extends TMPDIR_DEFAULT to mc-wrapper scripts - exit to CWD" > https://bugzilla.redhat.com/show_bug.cgi?id=1433602 > "How to make Midnight Commander exit to it's current directory" > https://lists.fedoraproject.org/archives/list/users%40lists.fedoraproject.org/thread/75644C362LG3V2CR7ZJBQOWLVLPP7ZY7 >
Corrected: # sed -i 's/TMPDIR-\/tmp/TMPDIR-\/var\/tmp/' /usr/libexec/mc/mc-wrapper.sh _______________________________________________ users mailing list -- [email protected] To unsubscribe send an email to [email protected]
