[mc] mcedit

Alan Corey alan01346 at gmail.com
Wed Jan 18 07:47:29 UTC 2023


How about a /root/config/.mc or /root/.config/.mc?

On Wed, Jan 18, 2023, 2:07 AM Jörg Thümmler via mc <
mc at lists.midnight-commander.org> wrote:

> 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
>
> --
> mc mailing list
> mc at lists.midnight-commander.org
> https://lists.midnight-commander.org/mailman/listinfo/mc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.midnight-commander.org/pipermail/mc/attachments/20230118/f648a7da/attachment.html>


More information about the mc mailing list