[mc] mcedit

Ben 2blkbelt at nemontel.net
Tue Jan 17 12:21:04 UTC 2023


On Mon, Jan 16, 2023 at 11:53 PM Jörg Thümmler via mc <
mc at lists.midnight-commander.org> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.midnight-commander.org/pipermail/mc/attachments/20230117/efdc727a/attachment.html>


More information about the mc mailing list