From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Zelphir Kaltstahl Newsgroups: gmane.lisp.guile.user Subject: Re: Web server catch keyboard interrupt and release port Date: Wed, 16 Sep 2020 08:42:07 +0200 Message-ID: References: <87bli6wy7e.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5701"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Icedove/68.10.0 Cc: guile-user@gnu.org To: Ricardo Wurmus Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Wed Sep 16 08:42:30 2020 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kIR9C-0001Mw-PQ for guile-user@m.gmane-mx.org; Wed, 16 Sep 2020 08:42:30 +0200 Original-Received: from localhost ([::1]:51914 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kIR9B-0005yc-MK for guile-user@m.gmane-mx.org; Wed, 16 Sep 2020 02:42:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36912) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIR8w-0005wH-Gf for guile-user@gnu.org; Wed, 16 Sep 2020 02:42:14 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:60885) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIR8u-0000vw-AS for guile-user@gnu.org; Wed, 16 Sep 2020 02:42:14 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 51EED2400FD for ; Wed, 16 Sep 2020 08:42:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1600238529; bh=7B8IdvUnURcWta0BlunavlrSNdPXC2RcP1S/P3OQy3w=; h=Subject:To:Cc:From:Date:From; b=i+5brUj8OeZbv0NnqeWwaeylNTSglrbQFaHWIDMYn2wmDv3ltqmW6fX3BLso4RG8v 3r8rtIzlBKBMBLMdcP8X3F6XZzDdK2RzALmc0JcliR1hpAO90FZKqDc6bK34LZYrB8 QHsAl8MFkAldMOiggELJ0OR/B5StPVahWkNwdodk7f0cl+hROQ49gYQ7h9eHx7eGPL RyESnsKPvdO+UcDw94d/f+V8Zup1o+7F0lZ3LZVSdPIGrZqLenUIk+MJd2y6uFM34E w6/owSFklQBlWS0TRnnGGUVXJYOqYxSOcLhaEhK7LWWe37mbj6ByKQ4LDQm/0/V2BO 6o4e/kvrtyOpQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Brr9r49hwz6tmd; Wed, 16 Sep 2020 08:42:08 +0200 (CEST) In-Reply-To: <87bli6wy7e.fsf@elephly.net> Content-Language: en-US Received-SPF: pass client-ip=185.67.36.66; envelope-from=zelphirkaltstahl@posteo.de; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/16 02:30:40 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:16915 Archived-At: Hi Ricardo, Thanks, that helped, found it in the Guile manual : ) Regards, Zelphir On 15.09.20 23:02, Ricardo Wurmus wrote: > Zelphir Kaltstahl writes: > >> How can I catch the keyboard interrupt? Is there something in the Guile >> manual? I could not find it. > “sigaction” might be of interest. > -- repositories: https://notabug.org/ZelphirKaltstahl