Re: Sbcl-help Digest, Vol 207, Issue 7: termios signals

steve gonedes <[email protected]>
Newsgroups gmane.lisp.steel-bank.general
Message-ID <[email protected]>
On 4/26/24 7:00 PM, [email protected] wrote:
> Send Sbcl-help mailing list submissions to
> 	[email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://lists.sourceforge.net/lists/listinfo/sbcl-help
> or, via email, send a message with subject or body 'help' to
> 	[email protected]
>
> You can reach the person managing the list at
> 	[email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Sbcl-help digest..."
>
> Today's Topics:
>
>     1. Re: capturing system shutdown signals? (Stas Boukarev)
>     2. Re: capturing system shutdown signals? (Gr?gory Vanuxem)
>

you can use termios to diable some signals as well. the code is much 
more involved.

(require :sb-posix)

;; signal-off
        (setf (sb-posix:termios-lflag termios)
              (logand (sb-posix:termios-Lflag termios)
                      (lognot (logior  sb-posix:isig))))

if you are nogt familiar with termios then this looks crazy. just ask 
for more info.

_______________________________________________
Sbcl-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sbcl-help
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.