port midnight commander has problem on OS X 10.5.2
Frank Binder
frank.fbi at web.de
Sun Apr 27 10:06:44 PDT 2008
Frank Binder wrote:
> Hi all,
>
> mc cannot change to directories whose names contain underscores.
>
The problem can be solved by installing the latest version of mc, which
is 4.6.2-pre1 at the time of writing.
https://savannah.gnu.org/forum/forum.php?forum_id=5030
When using macports, the following worked for me:
tar -xzf mc-4.6.2-pre1.tar.gz
cd mc-4.6.2-pre1
./configure --prefix=/opt/local
sudo make install
--
If you want to avoid installing mc from source and rather wait for the
new version to be released and ported, you might disable the mc subshell
with
mc -u
as described in
http://www.freebsd.org/cgi/query-pr.cgi?pr=113996
(or man mc)
--
This problem came came up on many operating systems through a newer
version of bash (3.2.17, newer compared to those bash versions used up
to OS X 10.4). It was fixed in the mc code.
https://savannah.gnu.org/bugs/?18136
Regards, Frank
>
> I am absolutely used to working with "Midnight Commander". Now, on OS X
> 10.5.2 with MacPorts 1.600 and the mc version 4.6.0 the above is
> "slightly" bugging me.
>
> When changing to such dirs, the message "Warning: Cannot change to
> <dir>" appears in the shell line, and the UI gets scrambled when these
> warnings get longer. While the panels DO change into those dirs, the
> underlying shell does not (which means that the working dir is not what
> what it should be) , and on "Ctrl-O" the working dir is reset to the
> last dir the shell could follow (and the panels are restored).
>
> Does anyone have the same problem?
>
> I'd be thankful for any suggestions...
>
> Best regards,
> Frank
>
>
>
> Versions:
>
> OS X: 10.5.2
> bash: 3.2.17(1)-release (i386-apple-darwin9.0)
> mc: 4.6.0 (port from macports)
> macports' port: 1.600
>
>
> Seems spotted in / related to:
>
> http://trac.macports.org/projects/macports/ticket/14643 (spotted)
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=428993 (related?)
> http://unixadmintalk.com/f21/file-mc-204141/ (related)
>
More information about the macports-users
mailing list