• Monitor EMS - trigger a trace

    From SRSeedBurners@sterlingranch@gmail.com to comp.sys.tandem on Fri Feb 10 08:15:37 2023
    From Newsgroup: comp.sys.tandem

    Any ideas how to monitor the ems messages and if a certain message occurs trigger a ptrace script?
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Randall@rsbecker@nexbridge.com to comp.sys.tandem on Fri Feb 10 20:07:24 2023
    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