From Newsgroup: comp.sys.tandem
On Friday, February 10, 2023 at 11:15:39 a.m. UTC-5, SRSeedBurners wrote:
Any ideas how to monitor the ems messages and if a certain message occurs trigger a ptrace script?
Create an EMS filter on the message number/SSID you want to monitor. Create a program in C that starts an EMSDIST process with the filter and wait for events. When you get such an event, use PROCESS_LAUNCH_ to start ptrace. The EMS Manual has examples of this, IIRC.
--- Synchronet 3.21d-Linux NewsLink 1.2