From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id ADlWORIlc2SJ8QAASxT56A (envelope-from ) for ; Sun, 28 May 2023 11:55:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id AN9qOBIlc2SCFAEAG6o9tA (envelope-from ) for ; Sun, 28 May 2023 11:55:30 +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 941A614D25 for ; Sun, 28 May 2023 11:55:30 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3D7O-0001Jr-VQ; Sun, 28 May 2023 05:55:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q3D7A-0001JD-77 for guix-patches@gnu.org; Sun, 28 May 2023 05:55:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q3D78-0005tq-Am for guix-patches@gnu.org; Sun, 28 May 2023 05:55:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q3D78-0001xL-1V for guix-patches@gnu.org; Sun, 28 May 2023 05:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62056] [PATCH] guix: Only issue erase-current-line sequence for ttys. Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 28 May 2023 09:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62056 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 62056@debbugs.gnu.org Received: via spool by 62056-submit@debbugs.gnu.org id=B62056.16852676837486 (code B ref 62056); Sun, 28 May 2023 09:55:02 +0000 Received: (at 62056) by debbugs.gnu.org; 28 May 2023 09:54:43 +0000 Received: from localhost ([127.0.0.1]:53320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3D6o-0001wf-Qy for submit@debbugs.gnu.org; Sun, 28 May 2023 05:54:43 -0400 Received: from smtpm4.myservices.hosting ([185.26.105.235]:38524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3D6m-0001wX-FR for 62056@debbugs.gnu.org; Sun, 28 May 2023 05:54:41 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm4.myservices.hosting (Postfix) with ESMTP id 6DE7F20BCE; Sun, 28 May 2023 11:54:38 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id AB43C80097; Sun, 28 May 2023 11:54:37 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id BJxYr9BNnXmg; Sun, 28 May 2023 11:54:37 +0200 (CEST) Received: from [192.168.1.239] (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 3C5D180060; Sun, 28 May 2023 11:54:37 +0200 (CEST) Message-ID: <7e2399a1-e073-cf11-612d-b130ec71fa54@makinata.eu> Date: Sun, 28 May 2023 10:54:36 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Content-Language: en-US References: <6a78ee837fe579d6b1beaeda54beddba3c05fd2e.1678290800.git.mirai@makinata.eu> <874jqkbd0h.fsf@gnu.org> <99afbc21-920c-1867-e368-d541ae524283@makinata.eu> <877cu9hscn.fsf_-_@gnu.org> From: Bruno Victal In-Reply-To: <877cu9hscn.fsf_-_@gnu.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685267730; a=rsa-sha256; cv=none; b=WbNFByLc5I4hjrfO+R5naCwSRNyRQjZsS7en4HKDKE2VKP9di3FMKxPR2RV+0mcoVgB3OA HtUQGBouCx0tzxTHzp1zt4KDoKsmNi9U1azACQ0EbyPLwi0h2c1G52WOXXg5j6DRGL+brr xtTBp3yzytaTHj5Lgx5K/LASEVKaJH5aoE62u8bShJJbePTajgjPyyoKKovks2Ft14jb4Q vvxKlmLuRfSW3nAgMN9qJEKmq2a3TE1bX2gCEID3Sy5/wd76J06a4S6FLPgZSN8rxJVyur wc/9bwyxB+VtesyH+rrgC8gNmF57RzzK4JFHmurvuo41oOY1XHrn94oQrs80OA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685267730; 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; bh=lPHNFymD/VMGgY39ZZ2mY72xziUu0II/CcgyhpQ6Cys=; b=mFL1lid6rXgrM7OH0Q0sm1cfcMFRU3qaQEltXR3XYr5lLtRoOS2LuYPjX5oenaLqFAJPpH Sd0HmrK+Rc9NV847lMH06OFCwbiQhzZOrZF8UdXHAe1Lg+TUgayZYVjL9j6rnTeSElRpZz IWBq4FnhJ96uEGs0odChOfehGX4wfrywm6OK7amql1p/Mc0fdCHSizdKipF/BvqYgTOIxL wpNSmd3Ahty35fgPFloYgxJDwxglRJ+kG2hoXumSlBBOX3NuSkpbVFoF9PGPvJw0a/q+F4 6cg0hc9pxR45+meb6BWbb95wTuE58xC8pLGvTlzo3n62O6y0AEkayssNZzlGMw== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.15 X-Spam-Score: -3.15 X-Migadu-Queue-Id: 941A614D25 X-TUID: qNZ/7Le8w/RM Hi Ludo’, On 2023-04-18 21:02, Ludovic Courtès wrote: > Bruno Victal skribis: >> On 2023-03-16 21:30, Ludovic Courtès wrote: >>> Could you see which use of ‘erase-current-line’ is causing problems? >> >> guix/scripts/substitute.scm:318 > > In this particular case, how about returning a different > depending on ‘isatty?’? It looks like the problem was not just at that particular line, rather anywhere that happens to call (erase-current-line …) which in addition to guix/scripts/substitute.scm are guix/status.scm and guix/progress.scm. Perhaps every instance of under guix/ should be checking whether or not they are running under a tty? WDYT? -- Furthermore, I consider that nonfree software must be eradicated. Cheers, Bruno.