[Pkg-mc-devel] Bug#580109: Bug#580109: mc fails to execute a file upon either an enter press or a doubleclick

Andrew ``Bass'' Shcheglov andrewbass at gmail.com
Wed May 5 19:15:04 UTC 2010


I've spent some time investigating.

The problem is with the default /etc/mc/mc.ext which is a part of mc package.

Here's the last rule in it:

default/*
        Open=run-mailcap %f > /dev/null 2>&1
        View=

So when I press enter upon an executable, mc actually invokes
run-mailcap <executable>

Here's the result for /usr/bin/mc itself:

$ run-mailcap mc
Warning: unknown mime-type for "mc" -- using "application/octet-stream"
Error: no "view" mailcap rules found for type "application/octet-stream"

The problem disappears once I comment out the "Open..." line.

So it is still a problem of mc package.

Regards,
Andrew.

On 3 May 2010 23:43, Yury V. Zaytsev <yury at shurup.com> wrote:
> tag 580109 unreproducible moreinfo
> thanks
>
> On Mon, 2010-05-03 at 21:17 +0400, Andrew ``Bass'' Shcheglov wrote:
>
>> When enter is pressed upon a focused executable file (e.g.:
>> /usr/bin/mc), the screen blinks, but no file is executed.
>
> This works for me. Something similar already has been reported:
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=542196
>
> Please check this report out and the contents of ~/.mc/bindings...





More information about the Pkg-mc-devel mailing list