From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QCKoGLuu4WHuMgEAgWs5BA (envelope-from ) for ; Fri, 14 Jan 2022 18:11:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oJU8Fbuu4WEBlgAAauVa8A (envelope-from ) for ; Fri, 14 Jan 2022 18:11:23 +0100 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 2DE133D6CC for ; Fri, 14 Jan 2022 18:11:23 +0100 (CET) Received: from localhost ([::1]:40216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8Q6k-0000Tl-7P for larch@yhetil.org; Fri, 14 Jan 2022 12:11:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8P6V-0003iK-8n for guix-patches@gnu.org; Fri, 14 Jan 2022 11:07:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45001) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8P6U-0005Fg-8Q for guix-patches@gnu.org; Fri, 14 Jan 2022 11:07:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8P6T-00057W-Us for guix-patches@gnu.org; Fri, 14 Jan 2022 11:07:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53257] [PATCH] gnu: foot: expose terminfo dirs via native-search-paths Resent-From: florhizome Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 Jan 2022 16:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53257@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164217641619663 (code B ref -1); Fri, 14 Jan 2022 16:07:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jan 2022 16:06:56 +0000 Received: from localhost ([127.0.0.1]:37899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8P6L-00056y-LY for submit@debbugs.gnu.org; Fri, 14 Jan 2022 11:06:56 -0500 Received: from lists.gnu.org ([209.51.188.17]:41920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8NDA-0007KY-RJ for submit@debbugs.gnu.org; Fri, 14 Jan 2022 09:05:50 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8NCm-0002VG-96 for guix-patches@gnu.org; Fri, 14 Jan 2022 09:05:28 -0500 Received: from mout02.posteo.de ([185.67.36.66]:47001) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8NCk-0002Cz-2t for guix-patches@gnu.org; Fri, 14 Jan 2022 09:05:23 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 01327240101 for ; Fri, 14 Jan 2022 15:05:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1642169119; bh=wXlovOjJByS64NzXEz7uXWvyn9dyYhehZu3JVF67zVU=; h=From:To:Subject:Date:From; b=F3YNYwOZppWSVRLnRMDsZ96mdD//Mc51u7B/P7qJV/2D8vvPPzEyKr7FC90YKVHGp 0swgZFV8TYEUp/d95kcBcKYDW4ZXT3tMo6Oazy57Hg/QXMwx61NP6+lL3GD5V7t/gH rmGGPyoxXsyyrkEem1JOvzSoBw5pRpwH0hZIj0AQ44glp1Hy0mO4VXDXGfrW0wIEme D5VMgdCbb8ySkQfzPHfMzHm+ZaD36B9IUDLwfOw2k0LB44jCZvZb0FYPzZjwklrXMw AFUYtzfzz8pAZQ9yF4UuJ9TuzpCYp60rGQa9+F65YqOenbcwSRfrp4f9HZNqFFvfTE dApGSaPsbnrxQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Jb33L2y3Vz9rxP for ; Fri, 14 Jan 2022 15:05:18 +0100 (CET) From: florhizome Date: Fri, 14 Jan 2022 14:02:54 +0000 Message-Id: <811cc55626870dbf37af3418e8effe191948541a.1642168254.git.florhizome@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=florhizome@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, 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-Mailman-Approved-At: Fri, 14 Jan 2022 11:06:52 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Fri, 14 Jan 2022 12:10:40 -0500 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642180283; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=IkTF3krvaurqJIalBGNQwn1nc8uc7W2mDhag7pbua0E=; b=aZImtUJSfIjf54r+seEiPfsVecm1Q5C6vK2ZMso9kjKsKr+iU/SpCBqrv7d2k/IBdI39ai wXFQUQR8E+gy7cCCRzE31uNEPpRby53wbjHnkjhITp9kOPt1Z3Nj0MmscUzs8dO9iDNZXl bFgm9N8EOXIivTFn5L67YR6dT6KopdbBAe+U9wuH3ETrdbpZd85kmVBxl8rYeo/7OZyvVA vfc3p+Jh0wAcMNXbmiv5WFHvdeubSDXmaf5RwVAZ3tjuByRaR+v9VoLg0HsXGUDLPb7iA+ jR43nIQtMQnDShLfG2Y1jYNQxR1MyTo4vX5tkuNaeHY5O/c6Q7MrwmqN7IBrDA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642180283; a=rsa-sha256; cv=none; b=gLDDW7pAFQxpYrehK9yL087oh++0+DGcAyf8J/rrxZbgMWRnpOuMIg/3Unueo3P6JsF8pI AdOt/UlRoWpbZchUbe6zsR5qyCMeZ19lWNsRyIDBOYI7hzu3tcc6Ise99sIE4xHWoedhPc iyq25QlvX6hCZ4lp70r4tldXUf5Sqpi0gr9wVSbxH69VEwmN8mHUHKYcIY8hmgKK6z47j/ 618nxKqkoZtiTzbmZKHb9M8nh3FdzqA59uVabT6ZgHYP7xQaZBfeAJim0oQ7rloTEkRYNq zTxSrFJpZnAZ4qgKTzT8dNraVgWtrfcjaHhqcCtTV7sDeTWq32F6PkX0K0HhvQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=F3YNYwOZ; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=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: -1.72 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=F3YNYwOZ; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=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-Queue-Id: 2DE133D6CC X-Spam-Score: -1.72 X-Migadu-Scanner: scn0.migadu.com X-TUID: /GVlThF/Aeyv Hi all, I noticed foot did not behave normally whenever content would overflow it's current dimensions. when I installed alacritty in the same profile, this was fixed. Turned out, alacritty's declaration has a native-search-path field entry that fixed foot! Why not just search-paths, I can't tell. This might apply to further terminal emulators (kitty had problems starting emacs in some contexts for me but I would need to test that more), but for now, just foot! * gnu/packages/terminals.scm (foot) [native-search-paths]: Add search-path-specification for terminfo dirs --- gnu/packages/terminals.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index a4fe97776d..1eb54dac80 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -849,6 +849,10 @@ (define-public foot pkg-config scdoc wayland-protocols)) (inputs (list fcft libxkbcommon wayland)) + (native-search-paths + (list (search-path-specification + (variable "TERMINFO_DIRS") + (files '("share/terminfo"))))) (synopsis "Wayland-native terminal emulator") (description "@command{foot} is a terminal emulator for systems using the Wayland -- 2.34.0