Re: disabling F4 opening large files

I have tried following, but that does not have any effect:

        Open=([ $(id -u) != 0 ] && [ "$DISPLAY" ] && mplayer %f
/dev/null 2>&1 &)
        View=%view{ascii} mediainfo %f

When I click F4 on a video file, mc still tries to open in in my text
editor. What am I doing wrong?


I can not comment about "what you are doing wrong" but what I understand 
about F4 is that it is supposed to open the raw file, whatever it is. This 
means to look into what is inside the file, for the purpose of editing it 
or otherwise seeing what is really there. That means if for example it is 
a binary file then one may be privileged to see plain text or, possibly, a 
bunch of hex numbers in a nice rectangular array. One might keep in mind 
that this is exactly what some people want to see, and they are glad to 
have a convenient way to do that. 


I have no doubt some people can find it useful.
However, I don't need to edit raw mpeg or mp3 files, and I would like to
have f4 selectively disabled.

I am not arguing whether this functionality is useful or not, I was just
asking this list whether there is na option to configure it.

It the answer is "not, this is hardcoded", then so be it.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]