Re: mcedit

Ben via mc <[email protected]> Tue, 17 Jan 2023 05:21:04 -0700
Newsgroups gmane.comp.gnome.apps.mc.general
Message-ID <CANv=BrrVBBrgr4XV-cgn1CMJ1OsPSzSj+bCmSLUzJrNi6fczsQ@mail.gmail.com>
On Mon, Jan 16, 2023 at 11:53 PM Jörg Thümmler via mc <
[email protected]> wrote:

> Am 17.01.23 um 05:18 schrieb Ben via mc:
>


> is there a strace command in MacOS? Or some other Debugging tool? I tested
>         strace mcedit 2>.log
>

No strace. There's dtrace which is (apparently) even more powerful, but
Apple has crippled it with a feature called "System Integrity Protection",
unfortunately - it barfs when I try to run it. I'm not inclined to turn it
off, either, as it's a major feature of the OS to try to keep black hats at
bay.


> And if you don't have "root" on MacOS... AFAIK Administrator on MacOS is
> usually called "Admin", but looking into your "Users & Groups" shall
> tell you the name and you will be able to check his configs...
>

Yes - there is admin, who is me when I am running sudo, but there's no User
(MacOS keeps user folders as "/User/whoever") for admin and hence no
obvious place to look comparable to /root/ under linux.

I've used "locate", which maintains a database of all files on the machine.
I've searched for mcedit and found only the files and folders I already
knew about, and for .ini, which found a bunch of them in...

/opt/homebrew/Cellar/midnight-commander/4.8.28/share/mc/skins/mc/skins

...folder, none of which have recent file dates so that leaves them out.

I really appreciate the ideas I'm getting here on the list, btw. Perhaps
eventually a light will come on, eh? :)

--Ben

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