<div dir="ltr">On Tue, Jan 3, 2012 at 12:16, <span dir="ltr"><<a href="mailto:michael.vancanneyt@wisa.be">michael.vancanneyt@wisa.be</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
<br>
On Tue, 3 Jan 2012, ik wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I wish to trap two signals in Linux (ABRT and HUP), how can I do that ?<br>
</blockquote>
<br></div>
Install a signal handler.<br>
<br>
See e.g.<br>
<br>
<a href="http://www.freepascal.org/docs-html/rtl/baseunix/fpsigaction.html" target="_blank">http://www.freepascal.org/<u></u>docs-html/rtl/baseunix/<u></u>fpsigaction.html</a><br>
<br>
For an example.<br></blockquote><div><br>Thank you, it helped a lot.<br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Michael.<br>
______________________________<u></u>_________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.<u></u>org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/<u></u>mailman/listinfo/fpc-pascal</a><br>
</blockquote></div><br><br>Ido<br></div>