[mc] mcedit
Jörg Thümmler
listen at vordruckleitverlag.de
Wed Jan 18 07:06:49 UTC 2023
Am 17.01.23 um 16:45 schrieb Ben via mc:
>
>
> On Tue, Jan 17, 2023 at 8:15 AM Grzegorz Szymaszek <gszymaszek at short.pl
> <mailto:gszymaszek at short.pl>> wrote:
>
> Just in case you haven't already tried it: "sudo mc -F"?
>
>
> Yes, I tried that too -- it gave (still gives, I just checked) the same
> exact report as mc -F without the sudo.
>
> --Ben
>
Hi,
to end this i did some testing, at least on my OpenSuse Linux it's like
that:
Macros are stored in .local/share/mc/mc.macros
Mcedit Macros are stored in a [editor] section one line per macro like that:
f12=Down:-1;InsertChar:49;...
Typed chars are shown as "InsertChar:49;" (the ascii code), keys are
named as "Down:-1" above, the "-1" maybe just to have a value after the
":"...
If you use "sudo mcedit" or "sudo mc" and then "mcedit", the
.local/share/mc/mc.macros of the Admin is used to store.
To delete a macro simply delete the line (but the macro is active until
you end this mc session (so if you use sudo mc and then from this
mcedit, it's not forgotten until you end the mc session, not just by
closing mcedit...
--
cu
jth
More information about the mc
mailing list