Subj : Re: Semaphore
To : Nick Andre
From : Rob Swindell
Date : Mon Jan 18 2021 02:14 pm
Re: Re: Semaphore
By: Nick Andre to Dan Cross on Mon Jan 18 2021 04:33 pm
> On 19 Jan 21 09:56:27, Dan Cross said the following to Dallas Hinton:
>
> DC> More generally, the issue in this discussion is that the
> DC> request for a feature has been wrapped up in details about
> DC> the implementation of that feature. From my observation,
> DC> that's the central source of friction.
>
> I cannot believe I actually agree with Oli about something but he is 100%
> correct that its likely because the request is DOS-ish and not Posix-ish.
>
> The use of signals I can and have clearly demonstrated that it works
> differently on Windows. I believe Rob when he tells me the logic is there,
> he may be correct but BinkD on Windows drops all active connections when
> signalled. If someone can demonstrate a way to fulfill the request,
> wonderful.
Try this:
ftp://vert.synchro.net/main/bbs/binkd.exe
You can see the (2 line) code change here:
https://github.com/rswindell/binkd/commit/68baf454683688b52890ab3ce9e9f403
If it works as you wish, I'll submit a PR to pgul's repo.
> I don't buy that argument of introducing another level of complexity because
> the BinkD code is already doing a fair amount of checking for files such as
> the config, FLO, HLD etc. Checking for a dummy file cannot be much of a
> stretch to put in there. Its a silly program that sends silly Fido packets;
> its not some mission-critical airline reservation system.
BinkD is a unixy program and semaphore files are just not the Unixy-way (for a lot of good reasons). The *nix build of BinkD already behaves in the way you requested, so perhaps that added to the confusion. Or maybe the primary contributors aren't actively following this echo.
> Anyhow its not the end of the world if it can't be done but the reactions to
> this simple request from Sysops over the years are almost always negative
> from a certain OS crowd.
Huh.
--
digital man
Sling Blade quote #5:
Karl Childers (to father): You ought not killed my little brother...
Norco, CA WX: 78.1�F, 19.0% humidity, 4 mph SE wind, 0.00 inches rain/24hrs