Re: mc.ext.ini - new format causes problems

"Yury V. Zaytsev via mc" <[email protected]> Wed, 31 May 2023 21:44:38 +0200 (CEST)
Newsgroups gmane.comp.gnome.apps.mc.general
Message-ID <[email protected]>
On Wed, 31 May 2023, Morten Bo Johansen via mc wrote:

> With the old format of mc.ext.ini I could do e.g.
>   shell/.ms
>         Open=openfile.sl %f
> 
> where openfile.sl is my own script that opens files by their
> extensions and takes one argument, the file to be opened. This
> worked fine with the old format, but no longer, not with a
> capitalized version of Shell/.ms either.
> 
> What must I do to use my script?

I don't understand your question. The new format is documented in the 
file, you can just take any of the existing sections as an example:

https://github.com/MidnightCommander/mc/blob/master/misc/mc.ext.ini.in

What is it exactly that you have tried and what doesn't work?

-- 
Sincerely yours,
Yury V. Zaytsev

-- 
mc mailing list
[email protected]
https://lists.midnight-commander.org/mailman/listinfo/mc