[Pkg-mc-devel] Bug#542196: mc: Pressing <Enter> on executables does not execute

Andreas Tille tillea at rki.de
Thu Aug 20 06:54:44 UTC 2009


On Wed, 19 Aug 2009, Denis Briand wrote:

> Thank you for your bug report.
> Patrick and me can't reproduce this bug.
> What kind of executable file do you want to run?

It is the case with *any* executable for instance such a ...
> It works perfectly with my *echo "hello world"* bash file.

> Please, give us, the steps to reproduce it and if possible provide us
> your executable test file.

As I said providing the executable does probably not help.  It seems
to be the internal mechanism how mc reacts when you press enter on an
executable file.  My guess is that mc is internally creating a script
like

cat > `mktemp --tmpdir=/tmp/mc-${USER}/ mcextXXXXXX` <<EOT
#!/bin/sh
`pwd`/<file_name_to_execute>
EOT

and then executes this script.  Starting from the mc version which
just entered testing it strangely prepends a './' in line 2 of this
script.  Surely this file does not exist.  I have no idea why this
problem happens on *all* my machines for *any* executable file so
hitting <Enter> on an executable becomes completely useless which
would let consider me to switch back to the older version of mc. :-(

> For the other *issue*, please just fill a bug.

Will do so.  I just wanted to do a quick check whether this is a known
issue.

> One bug number for one issue, it's better for our work, thank you.
> Take a few minutes to read that: http://www.debian.org/Bugs/Reporting

Well, there is no need to ask me for RTFM. ;-)

Kind regards

        Andreas.

-- 
http://fam-tille.de
Klarmachen zum Ändern!


More information about the Pkg-mc-devel mailing list