From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 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 dcvr.yhbt.net (Postfix) with ESMTPS id 96D491F953 for ; Sat, 8 Jan 2022 16:59:33 +0000 (UTC) Received: from localhost ([::1]:51412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n6F40-00076B-Fr for e@80x24.org; Sat, 08 Jan 2022 11:59:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39712) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6F3y-00074U-0G for dtas-all@nongnu.org; Sat, 08 Jan 2022 11:59:30 -0500 Received: from [2a00:1450:4864:20::52d] (port=39853 helo=mail-ed1-x52d.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n6F3r-0001PH-5h for dtas-all@nongnu.org; Sat, 08 Jan 2022 11:59:24 -0500 Received: by mail-ed1-x52d.google.com with SMTP id c71so23488791edf.6 for ; Sat, 08 Jan 2022 08:59:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Z04xj0RHna/CmMTB/L3YaxgB1sldzB0fkbfwFEa5Re0=; b=TSHNIryC2WcMBSfxWBM6SZPQj1/KZGrbUr4OdvNkT1mX7jQzXoSDToP3sfyv2RqJ1i 4sEVtmiOU594gbu8VQkVDbcVKVQpDw8mActuirVIp3e5kYY7zBN2OgYy8QBhmiVNrLyI rYY3sWguTyBUblcJSGcwVgmLayyJOd1EihzO1GnFhi/T8uGEzwQ9gDOnizblhadRxWMG QGsng0ZrcA/AsDN5bebSmk1BRYKfSOcb2OZpj8bV1z4SyFYbon+nkBpF/Yc3o5blvfj8 VOdPEKqxyFBqMpSC8LZ4FrnzSHk3TdZnvvrmvuW2W5MLjeSn8jkH93VsN4/nkHZOpfmN Evhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=Z04xj0RHna/CmMTB/L3YaxgB1sldzB0fkbfwFEa5Re0=; b=w2KThRMMusibbBIqnFbqd6phQwUTmGTa499sXXRl4joX2L5CF/3Kyr+YgkKCy+PWgS 0iLx16I6do2Ezxd1laynsl4updX9rm/qiPvry4C5cACoBwLI5jT+gMK70kroU5jfScn5 OdVv+Bureae1YjXe5VwxThqPVLmAoj/L7vET4+yCZTYr2YHFnwBfb6157c7bTOlY7Ilw usr7V1cZ1LvBh8L31sNctWoJBZuyLjd+EkEjT7viAiiYGc4jhVRn5AY3dg5lyDyayEcy Hqx3PKsJykKpquf6xDgwN0hoBz96I1D11pCxb8DnNJufZrb+6Ma8iBiakDBWB5C+nPVp 6YdA== X-Gm-Message-State: AOAM531jz7QMxc/2oZtGuwL6Y2LMx5VGS11P0H0L7l3vxBT0F3URtGms FkZ5nuGJRlx9RJnBL7wrjuTZEy0IluY= X-Google-Smtp-Source: ABdhPJxkj4tnHIW9eFG6Jk0mXgSJIsCfL2QKEVNdwX6tlMKMZ9r+u9UYzw8+oIUewa43VP+0WxKUJQ== X-Received: by 2002:a17:907:6d9b:: with SMTP id sb27mr54202840ejc.1.1641661159956; Sat, 08 Jan 2022 08:59:19 -0800 (PST) Received: from localhost (92.41.64.128.threembb.co.uk. [92.41.64.128]) by smtp.gmail.com with ESMTPSA id e26sm924802edr.82.2022.01.08.08.59.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Jan 2022 08:59:19 -0800 (PST) Date: Sat, 8 Jan 2022 16:59:14 +0000 From: James Rowe To: dtas-all@nongnu.org Subject: Re: [PATCH 3/4] dtas-console: set X11 terminal title iff DISPLAY is set Message-ID: <20220108165914.iukehydobheiii2k@gmail.com> Mail-Followup-To: dtas-all@nongnu.org References: <20220107053544.31240-1-e@80x24.org> <20220107053544.31240-4-e@80x24.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pqmgcbjvsd7hsmin" Content-Disposition: inline In-Reply-To: <20220107053544.31240-4-e@80x24.org> User-Agent: NeoMutt/20201127 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::52d (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::52d; envelope-from=jnrowe@gmail.com; helo=mail-ed1-x52d.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: dtas-all@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: duct tape audio suite List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dtas-all-bounces+e=80x24.org@nongnu.org Sender: "dtas-all" --pqmgcbjvsd7hsmin Content-Type: text/plain; charset=us-ascii; protected-headers=v1 Content-Disposition: inline Subject: Re: [PATCH 3/4] dtas-console: set X11 terminal title iff DISPLAY is set MIME-Version: 1.0 * Eric Wong (e@80x24.org) wrote: > +set_title = ENV['DISPLAY'] ? $stdout : nil Perhaps consider testing for $WAYLAND_DISPLAY too? Use case: If, like me, you're running a wayland compositor without Xwayland support then $DISPLAY won't be set. Thanks, James --pqmgcbjvsd7hsmin Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOs8mWLxNNfbkcA2v/aPFQqvGjgcFAmHZwuIACgkQ/aPFQqvG jgfu9w/9HvZULlarqkOQqPikGhhAkIY7DSU7xEfaCTe7kAjHeEzim09oth1tokwP SpB3adnoTc0lwZWSy2kfFubqrAf4dTOBpom1KitR9Od8RkFvWmUVW+kNE8OYqA18 Qmlk+79hHl9lDyIk5lY3jLzBH92Fdlt2+i0F13IrcoW86Cv+WsyUa9ch1AF1kAf1 WHVKEeilX+Sx/OgAT8ibOGVRaQKA6/X6DoNWPAHsrP6PWkhNyv0Pa1bFn3mwNMNM Zq4ruwsHsEPwZfE7T/Bu6FJ4AGfW1bvn9kkhDWrAfWaOCYG/zwugPJUpk52A8zSM wh1EcSbK/vFnh3de1SOUKcHHW2Mavleup+VfBBzBBxneG4hNBWTGLBo2S3ljsq2S sAErlx/UAnX6rrt05f2rWVYdV0wI57nKmgn2ymVn5xe0BLpvejUjJMIc/W8I/THw 8E0Jt8PJJt8v1097isf68n/2y1umzZ1Q5NS1G/rOBSAv69v0SsCY3/mJuz6dDP4+ 9bk4UloGanpEarOijFw87sNq4wTSldPaIG1kBDCxgX2rmfSOzyzFe6RLzF7oawjx K32F6yGiS7QYo36wjuRt6QECasL8mVdgDRRVDcVtexX4+TY8cSKmlNGnr8TOrc3Q 70rETB9eoHEQKOH0zIrFYquB0VUMy9RnjlewXEZIyR0Tw9yKohg= =adQI -----END PGP SIGNATURE----- --pqmgcbjvsd7hsmin--