From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 9130 invoked from network); 23 Oct 2020 09:35:57 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 23 Oct 2020 09:35:57 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1603445757; b=m8a2oBWmcEO7dVrrLB9wvzjw7+8YjHWKZA0vlYrT0gYfwmyoTIf/lkv68bHYfLjRWOaQoVguC2 GKQctLIAxZ7ZE+nfTmOboaKsaYDAAz8I/UzgG4rp7yaz4Aj3QfFB8u7vApEPqOF3LlyUKgcoLn Prc+/FO0JdKuDIUnC8Vu1dFiAJCn8pvG7ZXTui9f9/R5cCi3WKUyUzoKUI8BTnQ81e9F31abtW kozojlwru/vB27UhuThRIfSCX0AHXEZiJs/dIHzdbx4RH50ssNNdWid8IEb8crkKDWr0b+NKLH ruLc3GLH4EcaWIMILrONddXvEmxo2KdvgXKwqcnsAVfiyw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-io1-f54.google.com) smtp.remote-ip=209.85.166.54; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1603445757; bh=SIyZ8ApmYfSeq7/OYhv8T3wOeZyiT5fxy8o2rqxvBxI=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=BMAKb8d7Q2SFoxU++uNrPWZXtu7gUmcCaC1jafCrk1wwapfSl4lNQsa/DU1Dco8eUyeInkI/Wj 9R5V7lzPbHCnUUjsTH4W3LDupzenTlrOmmucdnLP8YT7fdzFQ9nQ/t/sLEC1ae+68sA5Yb10RO fdoyFJHJLNV3jPmBLch1dSsfV9z30KrskJZ9tdBrToAt8DfB0dEzALsKSuXV9ELHZ6OpHnTMB2 9P1e68GvWDmI/XDIouRTnyl+irDeXQ46Z5ouE9uQXZeZSuzvMryFiXVaa/aNff6QFKDWacCC0H yybtZEvriD9NnR+avP8+0mqQxnOILyynblb/p43serOJVA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=SIyZ8ApmYfSeq7/OYhv8T3wOeZyiT5fxy8o2rqxvBxI=; b=s3zqy8IAXLBcdgEcLc1atijUoo AfLye1LHMjo/Zw08BXcHDIIBY9/wJycwddouiyTkKGQYRl52wzVGwUfMgAjJWJJFhyyOkxThqU/s/ 8z69Q7mMg6Z9YFiIW6W7jXQR8rMRHmwmQHW7DagN35qiTR8736BBr7hRMrtNquUqtaY9c8hWhuFHB QcAxRf6A4pOZ1UR3L+NrmXAJRvJTayOE1efiOUtn4AlqA7J4g2ac85rBCHETAXq39G/YXV+MpBvpY kFoSRGMfVcYH7PZ4BEwbTwvnHEZJf2N9i8UODd8aHDn9ns2z+3CON1Uuv9PwkZUeadUQW1YQxvP1U HVVT+Skw==; Received: from authenticated user by zero.zsh.org with local id 1kVtUI-000N5s-7G; Fri, 23 Oct 2020 09:35:54 +0000 Authentication-Results: zsh.org; iprev=pass (mail-io1-f54.google.com) smtp.remote-ip=209.85.166.54; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-io1-f54.google.com ([209.85.166.54]:38967) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1kVtTz-000Mwd-8Q; Fri, 23 Oct 2020 09:35:35 +0000 Received: by mail-io1-f54.google.com with SMTP id p7so1008932ioo.6 for ; Fri, 23 Oct 2020 02:35:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SIyZ8ApmYfSeq7/OYhv8T3wOeZyiT5fxy8o2rqxvBxI=; b=WSX7PeLOLyhI2j5GKhCkBKwM+HZcPylXwrmclAXf4z1eaASEyY9qE0GIVLDHy4pPXV qy9nHyHss4YN4dJeGZreGWxZt2Ni7L2GTg/vPeajLCdez5mTA+JhRjkH3O0aGW/bpFbp qzfpHIH4GBpoMRbp+4O22fdMCUFPOoqLi4BibWjSQzL3bLFK8iJ+dz4deMl2cpLogBQR 1764SGgOWQ5N1gIdnWYSoUZoEV1O1OUjxIxfYN5YZA4h0z2kO0Kr+nQRH5VqvZQckU41 yewXzNZOckqZXFoWJTZ7mG5NZReodNpaoplhPcX/w9/97ZMuhvUwx+Dmt1j9Zikl7NYy JTLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SIyZ8ApmYfSeq7/OYhv8T3wOeZyiT5fxy8o2rqxvBxI=; b=nHNAuFECPLcSLTQqzpaWkDu+2UiAYA2/LPOyLNjzR6+koLFosbtWEewckQXVcqU7Rp zjRE5diQj1IYrMLD7L1iFkujBSg6HkQgAWFg5IPhCwcqrqSbvY9gxfDRodrLUR8OIvGd y6PPUJCsPQkiEm+zoCdLGa1L/CG2Y8yo148DA5/L1RLjcshWxYfLr2+VcdqzL5rhQFcP m5gF3HpyeoFWjKT+qh7wf8i5NqAJ/PVaEZ59dzEYXu+zuo5jqdqIntN5bNnLlSl/KBQD SzmA/3lEJHATELgEgJTkQgx7Xu5gP10BMhkxKo0Os7DxJPCEAteVCRz9pEA2/INPb0DE H6vQ== X-Gm-Message-State: AOAM533cv2QM90JZPj3E2Q2RN2V0OHxHSlfHCip2E6N9o1LWsdgLlrN+ Vv+0s/fSwk7mU+Lhfw3ujO/bgz8TNF/HXVXU+Fg= X-Google-Smtp-Source: ABdhPJwkn6LKxb4DssofD7la2H59PcVO/TfdWfcPCA2DdEWABQmsnAj1kT1b3CVjUAvduUQ8Tso2LT9NwWGUmnC3jmE= X-Received: by 2002:a02:3f68:: with SMTP id c40mr1259847jaf.136.1603445733852; Fri, 23 Oct 2020 02:35:33 -0700 (PDT) MIME-Version: 1.0 References: <20201014204621.4cf5b2b0@tarpaulin.shahaf.local2> In-Reply-To: From: Roman Perepelitsa Date: Fri, 23 Oct 2020 11:35:22 +0200 Message-ID: Subject: Re: region_highlight converts `fg=default` to `none`, which is not the same To: Marlon Richert Cc: Bart Schaefer , Daniel Shahaf , Zsh hackers list Content-Type: text/plain; charset="UTF-8" X-Seq: 47483 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: On Fri, Oct 23, 2020 at 11:25 AM Marlon Richert wrote: > > Thanks for the link. Did that discussion ever result in a patch? Nope. I've mentioned it earlier on *this* thread. > It looks like you never got an answer to > [your question](https://www.zsh.org/mla/workers/2019/msg01191.html): Here's the follow up: https://www.zsh.org/mla/workers/2020/msg00042.html. Apparently, threading doesn't work across year boundaries. > I feel like routing this through `ncurses` is not only unnecessary > (since we have a standard for this); it's also problematic. The only way to know whether the terminal supports some capability (e.g., moving the cursor to the specified location on the screen, or highlighting text with 256 colors) and to use the said capability is through terminfo. There is no way around it. It also doesn't seem like ncurses causes any problems that are related to this thread. It's possible to support italized text output in zsh without ditching ncurses. Please see the discussion I've linked above. Roman.