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.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8716 invoked from network); 9 Nov 2022 00:36:23 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 9 Nov 2022 00:36:23 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1667954183; b=BCNzaxQQeFiPlpRhxk8S02fG5NWQSVQohMNIOuBf9Dh8afJ4rD4GgLeyNs6JUc7htLLlZYPbY6 sKrc1H3lxezi3LD1KitJT1TVBQ2T8XsgFblZlt0ohziBc6CDHKew5m8ovORKRExORGKWrU5TvH YanT28h0QTJFCrlSNEmeQa5/aldjk6OZPNuodfdwsXxXExnobB3x+i8IOPh38WUWBK9yIaJa3W kpL7LzNAxP5uyncFF9DBXAEzniuDsfkGX73uoX5SYt5ekyA2EtldcgYoZVpMm9Yb3iAFV6lM9B xjChn1Ghs+e64fiEuyiqjAfAFsUdyvC6i78fK97GlCnUOw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta04.eastlink.ca) smtp.remote-ip=24.224.136.10; dmarc=none header.from=eastlink.ca; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1667954183; bh=k+tcW4h1SiDqps266+wOSpOuZAt6GQQUCYTLyYFnfvo=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:To:Subject:MIME-Version:Date:Message-ID:DKIM-Signature; b=p8sXBst9Qx4pbijt+pTrICTADxN/u8JsZbOBqNs2uTieWppuI+2luca7Zte1l1e6+sfLoQRTmK YuQeo1cIwG+VzeMlZjpIxobSFc9xosHsg4LJ6b9h+6JH/lb3crLC2RLYiKNLmJZGOe7bAWzsXJ kgLAHXg9OaUzWe6jOwAZDpp8D7Zrgj5q0frU6Ss4TZUwm0Esdbq6E9I9asYGUlRbepFQLyerE0 6YuEwNljUOhwjcHVz6Quz/IASKgZEHpzPLrvgmIQO4ZQGXBjahBCmT/Dyd9woqJyWvzKqymiXE oznC6nyOSWPGtlAJYP1AltSSbWU7CO30EE6M0gZZQVqMRg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-transfer-encoding: Content-type:In-reply-to:From:References:To:Subject:MIME-version:Date: Message-id:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From :Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=Wu0soOC7ALXjoyVuru/PxMClX00K0BUVP4yBkVRp1ZU=; b=GJoKvset6i6QgNmx6eKXkL/iGo uXhPwsADv0VbT+HF2sgi8OxENUpad8OVmHrRmC9ypBGVwxKc7PBJiIU6827xHglqU3VuNGrdsFxD+ T0LuKJ0Ebb36Q/skBzeH8fYpSvKRiYy4P/iXOEXEUuIEIwlH+Y9yYohGX+7FnspgEBal4QRBLSFEm IuZQJrOzEdSdM+bGA0/8lWkZD7S2V4VENQyewTd3bG4utqVm59kmclT5PPssDM5rMfciS8o/HiR53 IGzMqWAQZQqKw35ECEheczTiXV+LfKZ9Bv64nquPqtqWjHn/5MbYGXajiVBqVzjweI01Da9eBHO9+ 3WkAMF7g==; Received: by zero.zsh.org with local id 1osZ4p-000NxK-1a; Wed, 09 Nov 2022 00:36:23 +0000 Authentication-Results: zsh.org; iprev=pass (mta04.eastlink.ca) smtp.remote-ip=24.224.136.10; dmarc=none header.from=eastlink.ca; arc=none Received: from mta04.eastlink.ca ([24.224.136.10]:47374) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1osZ1W-000N9C-NO; Wed, 09 Nov 2022 00:33:00 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta04.eastlink.ca (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPS id <0RL200J1319R2902@mta04.eastlink.ca> for zsh-users@zsh.org; Tue, 08 Nov 2022 20:32:57 -0400 (AST) Received: from [192.168.0.3] ([24.207.18.108]) by Eastlink with ESMTPSA id sZ1UoikgAC2xnsZ1VobwWM; Tue, 08 Nov 2022 20:32:57 -0400 X-Authority-Analysis: v=2.4 cv=UMYbXgTy c=1 sm=1 tr=0 ts=636af539 a=xN66ZtSbq5jdJYpBp7G/jQ==:117 a=xN66ZtSbq5jdJYpBp7G/jQ==:17 a=IkcTkHD0fZMA:10 a=gir0-LH0AAAA:8 a=ioZsidaqYKhXhoRwcT4A:9 a=QEXdDO2ut3YA:10 a=aLewGyoHDmJ4ULJHWpSz:22 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrfedugddvgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpeeitdejffevgfdtheeggfetkeeugeegieetuddtvddvudetteffvdevlefgueekudenucfkphepvdegrddvtdejrddukedruddtkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrudekrddutdekpdhhvghloheplgduledvrdduieekrddtrdefngdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdpnhgspghrtghpthhtohepvddprhgtphhtthhopeerredprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhgpdhgvghtqdgkihhprfgrshhsfigupehtrhhuvg X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: <53ed4c8d-5f37-b672-48cb-6da460c9803f@eastlink.ca> Date: Tue, 8 Nov 2022 16:32:56 -0800 MIME-version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: coloring a substitution Content-language: en-US To: zsh-users@zsh.org References: <5454df12-02c6-75b5-e552-c486e231183c@eastlink.ca> <1b44b09a-ebae-a45d-a19d-c83e1ce68f65@eastlink.ca> From: Ray Andrews In-reply-to: Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 28348 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: On 2022-11-08 16:11, Bart Schaefer wrote: > On Tue, Nov 8, 2022 at 3:49 PM Ray Andrews wrote: >> Therewego, > $'\e[' < replaces > \x1b\[ <. > Actually $'\x1b[' would work too. The important bit is that $'...' > triggers interpretation of those. So sed figures out the interpretation of that escape by itself but zsh want's to make it explicit.  That's fine.  There's always the issue of what's literal unless made special vs what's special unless made literal and if you gain the one you lose the other. No free lunch. >