From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yGD4Bv3MEWNwXAAAbAwnHQ (envelope-from ) for ; Fri, 02 Sep 2022 11:29:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +D4sBv3MEWMFVAEAG6o9tA (envelope-from ) for ; Fri, 02 Sep 2022 11:29:33 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D0B423C6F for ; Fri, 2 Sep 2022 11:29:32 +0200 (CEST) Received: from localhost ([::1]:44634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oU2zT-0002n8-Vz for larch@yhetil.org; Fri, 02 Sep 2022 05:29:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU2pK-0000PH-7d for bug-guix@gnu.org; Fri, 02 Sep 2022 05:19:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55119) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oU2pJ-0007k5-U6 for bug-guix@gnu.org; Fri, 02 Sep 2022 05:19:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oU2pJ-0003dT-KQ for bug-guix@gnu.org; Fri, 02 Sep 2022 05:19:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#57095: 'terminal-window-size' throws ENOTTY ("Inappropriate ioctl for device") Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 02 Sep 2022 09:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57095 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos Cc: 57095@debbugs.gnu.org, Josselin Poiret , Csepp Received: via spool by 57095-submit@debbugs.gnu.org id=B57095.166211028513912 (code B ref 57095); Fri, 02 Sep 2022 09:19:01 +0000 Received: (at 57095) by debbugs.gnu.org; 2 Sep 2022 09:18:05 +0000 Received: from localhost ([127.0.0.1]:44868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU2oO-0003cK-Vl for submit@debbugs.gnu.org; Fri, 02 Sep 2022 05:18:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU2oN-0003br-QM for 57095@debbugs.gnu.org; Fri, 02 Sep 2022 05:18:04 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42022) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU2oI-0006Wv-82; Fri, 02 Sep 2022 05:17:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=F27FnSPu+rjFh+sY+77rYj1Uv15mrdWtj+NEzaCO8B4=; b=AGhndf8kZKQrwKWQdZZ1 yJ48KolQj9ZyOxO7XJvTZ2N9hLGLKOyR2FdnhYOIoYlzjB40RJKEA5o/Beb66Nh93AX7jng5ggFut rk1QjkURQDjsCT464z7+313rMiQw6QEeBRkxn5/kV5T4/3eRF0B/VHiFvy43c811Gj1Nxp4+hykW/ cPJEmRxQDDHA1SUJhWHeZXr2MaMJrVr21caZBEIcUHb+hAiMN2+SHOfGWUtxqvC6SeqIvW+cTzoL+ qi52G/hXOty2mgiYBmUqzYZDMoejwi4sD5CNN9VDpuPAJwShAoZ1aEmvTu24hg4I9cTKlIHHG76Hw cSUOtR1G2jsB4Q==; Received: from [193.50.110.177] (port=47236 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU2oH-0002tW-Rf; Fri, 02 Sep 2022 05:17:58 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <874jylf1v8.fsf@riseup.net> <87bkssjjt5.fsf@jpoiret.xyz> <87bkryztzw.fsf_-_@gnu.org> <6b6cd940-261c-0cd3-1efd-99aff96d77db@telenet.be> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Sextidi 16 Fructidor an 230 de la =?UTF-8?Q?R=C3=A9volution, ?= jour du Citron X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 02 Sep 2022 11:17:55 +0200 In-Reply-To: <6b6cd940-261c-0cd3-1efd-99aff96d77db@telenet.be> (Maxime Devos's message of "Thu, 1 Sep 2022 23:21:45 +0200") Message-ID: <87mtbixhh8.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662110972; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=F27FnSPu+rjFh+sY+77rYj1Uv15mrdWtj+NEzaCO8B4=; b=GRIk1Gw/MQ4tC6iFvUXZ8pQASVQeelngpX8sxZAE1pcI0fpmuDDp/gEpY1KSV/8E3wkFZR R6flc/k/bSGkFmTy+ddmdK9BGgzwWolSb8b8hHr07DrU3/QEAz988borKLAFvXb1Y/AFW1 kvkv3K1Sen2hHXI4yNPkZIa8NGUWXKL/+BqZhY4wOPmI+UDqDkI6DkqCO5jj9eG7/6uXmc f02GOsZ2LMJG404/rCOoKoEr5lfeKkszJr6RtM+TSDQ7gtmFz8u0LUTmqORcm8QI7l2AVs YWZh+6CmPBpju5pwKJa703XziUpCYQGZ0YUHDyOGrsKyKZm5XMnU+VpyV6qZQw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662110972; a=rsa-sha256; cv=none; b=HF3FNnply6g/EdhhR8AzJlYVXCQDb7lVmjhbSJq5rrhvb01rkdGCs1FvXSJn93Ub/HR9Ii NS4KWw3JFy8RYT7l47DrkGLNxFuaqRj1NysEAdGg4YB2OWzGr0J7mrhj6FT16kJwhi60Hx AmaR9Y2H7Hom50ls9vC0b9NpAf/chD34w3YdnKYD398z6msjROMTWg4l8/Ev4elRSL/AuP oP33W4EuC0uzihw60kKW/50z+dKZ1+UEQbD8LW5isK7k4fth1gRjVIk8sDkIhRWlYrJn8l nAwwdS5zpTq5Q/oNgNxaJsDZBi4AC0/JXvVRcymaM+k8TI8ysxDQElvTP8Zb/Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=AGhndf8k; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=AGhndf8k; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D0B423C6F X-Spam-Score: -2.17 X-Migadu-Scanner: scn1.migadu.com X-TUID: oCuUOeYwH4Mv Hi, Maxime Devos skribis: > Maybe my answer on IRC is relevant here: > > https://logs.guix.gnu.org/guile/2022-09-01.log#231503 Interesting. It=E2=80=99s a Guile bug, and a tricky one. Here=E2=80=99s what Andy wrote= on IRC: civodul, wingo says: i believe it is a bug. in a pre-unwind handle= r, you want to make it so that if it throws again, it is handled by the handler that was current when the with-exception-handler was invoked (the dynamically outer handler) civodul, wingo says: to implement this, when a throw first starts, = we capture the current handler stack, and arrange for subsequent throws to resolve via that captured handler stack civodul, wingo says: but if there is an additional with-exception-handler within the exception handler, that doesn't augment the captured exception handler stack to which inner exceptions will dispatch civodul, wingo says: the fix will be small but also gnarly :P will take some thinking. there are funny interactions with delimited continuations I=E2=80=99ll defer to Andy to see what the best way to fix it is=E2=80=A6 What=E2=80=99s frustrating is that I can=E2=80=99t think of a way to work a= round it, except by changing =E2=80=98terminal-columns=E2=80=99 & co. to not use exce= ptions (or introducing a variant that does that). Thoughts? Ludo=E2=80=99.