• Semaphore Help

    From Kevin Miller@1:267/585 to All on Thu Feb 18 21:22:34 2021
    Greets All,

    I'm trying to setup some semaphore drops to handle echo and netmail exporting.

    I've setup two semaphore types: NETSCAN and ECHOSCAN

    I have noticed that the semaphores are only dropped after exiting GED rather than after an echo or netmail message is saved. Can this behavior be modified as I'd prefer semaphores be created after a message is saved.

    I did notice that the semaphore type 'EXPORTLIST' does get dropped after an echo message is saved.

    -km

    --- GoldED+/W32-MSVC 1.1.5-b20180707
    * Origin: Rust Belt BBS, Rochester, NY, USA (1:267/585)
  • From Michael Dukelsky@2:5020/1042 to Kevin Miller on Fri Feb 19 18:19:24 2021
    Hello Kevin,

    Thursday February 18 2021, Kevin Miller wrote to All:

    I'm trying to setup some semaphore drops to handle echo and netmail exporting.

    I've setup two semaphore types: NETSCAN and ECHOSCAN

    I have noticed that the semaphores are only dropped after exiting GED rather than after an echo or netmail message is saved. Can this
    behavior be modified as I'd prefer semaphores be created after a
    message is saved.

    I did notice that the semaphore type 'EXPORTLIST' does get dropped
    after an echo message is saved.

    I'll quote my message here a year ago.

    Golded allows configuring hot keys for running different programs or scripts. I use Ctrl-N to send netmail and Ctrl-E to send echomail without leaving golded. There are such lines in my golded.cfg:

    ; repack netmail on Ctrl-N
    ExternUtil 1 /path/to/setflag repack
    ; rescan echomail on Ctrl-E
    ExternUtil 2 /path/to/setflag rescan

    The setflag script creates a flag file, which initiates packing netmail or scanning message base for new echomail. And in goldkeys.cfg I have

    ^N ExternUtil01
    ^E ExternUtil02

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: Moscow, Russia (2:5020/1042)
  • From Kevin Miller@1:267/585 to Michael Dukelsky on Fri Feb 19 12:36:51 2021
    Greets Michael,

    This is a clever option... Working on it now... Thx!

    19 Feb 21 18:19, you wrote to me:

    Golded allows configuring hot keys for running different programs or scripts.
    I use Ctrl-N to send netmail and Ctrl-E to send echomail without leaving golded. There are such lines in my golded.cfg:

    ; repack netmail on Ctrl-N
    ExternUtil 1 /path/to/setflag repack
    ; rescan echomail on Ctrl-E
    ExternUtil 2 /path/to/setflag rescan

    The setflag script creates a flag file, which initiates packing netmail or scanning message base for new echomail. And in goldkeys.cfg I have

    ^N ExternUtil01
    ^E ExternUtil02

    -km

    .:. Rust Belt BBS - [rbbbs.mtonetwork.com][https://www.mtonetwork.com]

    ... My favorite childhood memory is 'Not Paying Bills'!
    --- GoldED+/W32-MSVC 1.1.5-b20180707
    * Origin: Rust Belt BBS, Rochester, NY (Young Lion of the West) (1:267/585)
  • From Kai Richter@2:240/77 to Kevin Miller on Fri Feb 19 16:39:16 2021
    Hello Kevin!

    18 Feb 21, Kevin Miller wrote to All:

    I have noticed that the semaphores are only dropped after exiting GED rather than after an echo or netmail message is saved.

    Well, the fidonet technology isn't very much multi user/processing safe. In the past i saw golded counting down waiting for access to a locked squish messagebase.

    Can this behavior be modified as I'd prefer semaphores be created
    after a message is saved.

    Fidonet isn't that time critical. Sometimes it helps a lot to review written messages some minutes later. I found typos of the type "oh no, my did my brain controlled my hands to write that?". One of my favorites atm is acutal for actual. For me this delay results into higher quality mails. Oh and i found another one, see above, my hands were faster again, "my did my" should be "why did my". I really need to slow down.

    I did notice that the semaphore type 'EXPORTLIST' does get dropped
    after an echo message is saved.

    I'm running golded via a scriptfile and touch the semaphores after golded quits. I think there is no option to control the behavior of the semaphore creation time.

    But you could use EXTERNUTIL to start a script that touches the semaphores. That way you could hit an F Key like F5 to force a scan.

    Regards

    Kai

    --- GoldED+/LNX 1.1.4.7
    * Origin: Monobox (2:240/77)
  • From Kevin Miller@1:267/585 to Kai Richter on Fri Feb 19 14:43:00 2021
    Greets Kai,

    19 Feb 21 16:39, you wrote to me:

    But you could use EXTERNUTIL to start a script that touches the semaphores.
    That way you could hit an F Key like F5 to force a scan.

    Michael made the same recommendation so this is what I'm doing and will test it with this reply!

    Thx for you suggestions :)

    -km

    .:. Rust Belt BBS - [rbbbs.mtonetwork.com][https://www.mtonetwork.com]

    ... I don't get drunk... I get awesome and invincible!
    --- GoldED+/W32-MSVC 1.1.5-b20180707
    * Origin: Rust Belt BBS, Rochester, NY (The Flower City) (1:267/585)