#520029 mc: internal cd is very limited

Package:
mc
Source:
mc
Description:
Midnight Commander - a powerful file manager
Submitter:
Robert Luberda
Date:
2010-04-23 09:51:05 UTC
Severity:
wishlist
#520029#5
Date:
2009-03-16 22:15:07 UTC
From:
To:
Hi,

The internal cd command is very limited. It doesn't support %
substitutions, doesn't expands variables nor output of external commands
It's impossible to do for example:
cd %D
cd TES* (if only one dir matches the wildcard)
cd `/bin/pwd`
cd $SOMEVAR
cd somedir || echo fail

All of the above commands do work in any normal shell, but not in mc.
However after defining the follwing alias in bash
alias ccd='cd'
I can use `ccd %D', `ccd $VAR' etc. in mc.

I wish this could be possible without the alias - either support for
such an advanced features could be added to mc, or mc could provide a
way to disable the internal cd in favour of the shell built-in one.


Regards,
Robert

#520029#12
Date:
2009-05-13 13:56:36 UTC
From:
To:
tags 520029 confirmed
thanks

Hello Robert,
Thanks for your comment.
I agree with that, I think upstream team may work on it.
I put "confirmed" tag to highlight this bug and add it in Patrick TODO list.

Regards

Denis Briand

#520029#15
Date:
2009-05-13 13:56:36 UTC
From:
To:
tags 520029 confirmed
thanks

Hello Robert,
Thanks for your comment.
I agree with that, I think upstream team may work on it.
I put "confirmed" tag to highlight this bug and add it in Patrick TODO list.

Regards

Denis Briand

#520029#20
Date:
2009-08-07 13:17:16 UTC
From:
To:
forwarded 520029 http://www.midnight-commander.org/ticket/1494
thanks

Denis Briand

#520029#25
Date:
2009-08-07 13:17:16 UTC
From:
To:
forwarded 520029 http://www.midnight-commander.org/ticket/1494
thanks

Denis Briand