[fpc-pascal] How to use the `signals` unit?

Sven Barth pascaldragon at googlemail.com
Fri Oct 23 08:05:32 CEST 2015


Am 23.10.2015 06:29 schrieb "silvioprog" <silvioprog at gmail.com>:
>
> On Thu, Oct 22, 2015 at 6:40 AM, Sven Barth <pascaldragon at googlemail.com>
wrote:
>>
>> Am 22.10.2015 09:23 schrieb "silvioprog" <silvioprog at gmail.com>:
>> > What is the secret to use this it on Windows?
>>
>> The secret is to not use it. It's only real use is in the textmode IDE
and maybe there it should be checked whether it can be replaced.
>
> So is there some alternative for signals? ( SetConsoleCtrlHandler() on
Windows, but, what in Linux? )
>

Currently you need to do this for each platform separately.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20151023/2159b13c/attachment.html>


More information about the fpc-pascal mailing list