[mc] mc.ext.ini - new format causes problems
Yury V. Zaytsev
yury at shurup.com
Wed May 31 19:44:38 UTC 2023
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
More information about the mc
mailing list