From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: checking for light or dark background Date: Mon, 21 Feb 2022 18:16:48 +0700 Message-ID: References: <838rut77h2.fsf@gnu.org> <83y22mvxwu.fsf@gnu.org> <835yp9wbg4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5575"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 21 12:20:10 2022 Return-path: Envelope-to: geh-help-gnu-emacs@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 1nM6ji-0001I9-GO for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 21 Feb 2022 12:20:10 +0100 Original-Received: from localhost ([::1]:44078 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nM6jg-0005Dd-UZ for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 21 Feb 2022 06:20:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nM6gi-0003LT-9h for help-gnu-emacs@gnu.org; Mon, 21 Feb 2022 06:17:04 -0500 Original-Received: from [2607:f8b0:4864:20::42c] (port=41950 helo=mail-pf1-x42c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nM6gg-0001MS-IJ; Mon, 21 Feb 2022 06:17:03 -0500 Original-Received: by mail-pf1-x42c.google.com with SMTP id p8so8516704pfh.8; Mon, 21 Feb 2022 03:17:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=3qvGbcobJUVQ1FaumxYIkPklOp6KBrfJZAA8StB4kAY=; b=cw+6zyF9+LGvR8BKWJc6UPROUAVSnrFPkwMMpwCLR1uM/KGNlzjOfDByZdtamGrIr1 7VovR1YJnQjg0N4e64Z97zUKqu21xDlTzJ41binYFrnEtDpLilPiWQVTfJt7hK+EbCGr 4qN0snQLOdGyI2mPXmJaF24rqEvcB09FyM9JbFy6xmERjVLKy+Dax6ODdO3ImdEkNLgQ VRPCcRd7JngIli5jnNj3LMXpf/AZfNf9D6+cNDwP+OWFqE0OB1fHwAj0B/B2EBWAvSlx 5XU4R1j9Saa7su99Lb9X+Dhzp5J8b6VgklisQpAflbYT5Rjh5CJHyEcOvgNfNYvTaUwn +eJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=3qvGbcobJUVQ1FaumxYIkPklOp6KBrfJZAA8StB4kAY=; b=hsUztquf2IbZc59PCJo/W8RsNSDa5kPMZoWlYjBqRPoT4uWKnCdnbUYAyCsfRrqxxV gNVHN/hnbfwzPfay+09amJ9aid01qZh9bTMp9Z4r/3vH3PHB+h3g572CbPnpW/5J5YDT sYfsgopsq6O0M9GE5w3WaYHEs1+8vP+1+/fZ13rq/74hd4kqVXd7XoLdorHqkFC+3D8h vnku5lKqcaJ9FKpEC9uHL1Qh4/NwgNuuDTIzD3GG6maZZsexbVO9WXi51tazuMWcYXiM 2gUycgdk3ySnUP8tTioua8QJf5Ls7mUicgT41R3k5K9ER7S+byEV4nVxJY1aLPZ0MV1i 1oHw== X-Gm-Message-State: AOAM53109Fg9l3E8aVi4oIr8tk9MdGwNkT/t/DdcdHJyPUl831a3VNGM z+6WivCnO96kI7+7KLS0bdGPtztNpd7QN0YGqVTxYHp5652Gbw== X-Google-Smtp-Source: ABdhPJxIQ9pHVP7hldgdzhj2GeFQlcuQaKDrW4Ccq5JNll0sGRLwhFlnCA/RDHO421/CY1cl7Gwr+924W3fKTh2uk+Q= X-Received: by 2002:a05:6a00:2286:b0:4e1:285:5715 with SMTP id f6-20020a056a00228600b004e102855715mr19618484pfe.37.1645442219692; Mon, 21 Feb 2022 03:16:59 -0800 (PST) In-Reply-To: <835yp9wbg4.fsf@gnu.org> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::42c (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::42c; envelope-from=yurivkhan@gmail.com; helo=mail-pf1-x42c.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136109 Archived-At: On Mon, 21 Feb 2022 at 03:05, Eli Zaretskii wrote: > > screen was running on rxvt-unicode. > > So you are saying rxvt-set-background-mode doesn't work for you? Why would rxvt-set-background-mode even run, if the immediate terminal is =E2=80=98screen=E2=80=99? And term/screen delegates its initialization t= o term/xterm, which detects background mode by sending OSC 1 1 ; ? ST (under some conditions). Screen does not seem to support this sequence [1]. [1]: https://www.gnu.org/software/screen/manual/html_node/Control-Sequences= .html