Triggering actions from outside?
- From: Sebastian Gniazdowski <sgniazdowski gmail com>
- To: mc-devel gnome org
- Subject: Triggering actions from outside?
- Date: Sun, 29 Aug 2021 09:40:30 +0200
I thought that it would be nice to trigger CK_EditNew and other actions when running a macro, or a usermenu entry. It can be done via signals (USR1), attached is a patch.
For running from macros inside mc/mcedit, what's sufficient is to execute: mc --ck EditNew (because the pid is exported). For outside, one has to specify the pid via: MC_PID=1234 mc --ck EditNew.
It works for mc and mcedit. What do you think?
--
Best regards,
Sebastian Gniazdowski
Attachment:
Signal_CK_actions.patch
Description: Text Data
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]