From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from zero.zsh.org (zero.zsh.org [IPv6:2a02:898:31:0:48:4558:7a:7368]) by inbox.vuxu.org (Postfix) with ESMTP id C67A6216BE for ; Sun, 14 Jan 2024 06:36:28 +0100 (CET) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1705210588; b=p0GAGuyP4IJzc0WrY7c0Vsr9Yfx7DMbNUBesD1QRL79c+MjRMt/vBbrtVte2v7q3mI9hOk9awD 1OCT5XkmUg55j81VR5ukHNB6akVW8L00uQmjVysNpRV41BBk6JPCP/d2hBV8l5LJmAtCicmAfq iwT02FH+0V2kbW9+ZNExAUcNcBQREgVU4fj1YC5u/hrdgvx3Jl08jFBp0Ra+B4/AGMJKluUxqf ZlTCTb2GBhoF6sjNUi6YpQKZrulOMz8VycgwajzDeU5xnmw2hA3TlxBP6zhnPIYA46W/wKdloz /Q4UYe6+mvHUGHjCpiIiWbKoP8Ld+XUb8T9R4alVVRjMKw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta03.eastlink.ca) smtp.remote-ip=24.224.136.9; 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=1705210588; bh=/Dz3k49TvGwCcw5+b+HFuDZTpV2d6inRur4GLOOflG4=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:From:References:To:Subject:MIME-Version:Date: Message-ID:Content-Type:DKIM-Signature; b=kTbiLpRteE7HbbhW58LO2yJehaE8+drJF8S+Z3Mf61LDGD/SnCsHEPekeC+4lx2YVOjhpdSC3U 4rJijQcGhUi+XhDrGxMd6ul6qaWpOp0C9YHeYlaziqPfVC6R/2G4AhMmvVhucmjIM4SHwSL5Tf tuVK48lGONPJl63y/tj+3HsLAs/Sw77v/IgvRU6lG9TAQFMnqbErBnGhK6onp0yzYLFHJ2V3RO heCQVPMjJ06VqzLmX52/ReQ1byNXC02m/yVg2HRaQpx5M5adloyemg2SnQVdhsjEtX1vKogszZ UzF6L0pd28TRIp7G66CsuD70A67xB7w01n23W3zS3BPCbg==; 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:In-reply-to:From:References:To: Subject:MIME-version:Date:Message-id:Content-type:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=4+JeqYg7WXe/FPmob/GOMUOb38FH2Jxr8j+c17FIHsg=; b=W0EMiImRk0Df+kRSOs7TeixdKg plugTVQ1LX9Qbct0VgSo7Z+5T9UyQMw8PaiCXI4XDmy3LcFZbqcy5KX0/dAM45W0ulK34wMsx7Gs6 O6INnUoQ0mOVqY7rwVBYDzkwWxxOkFAAoE18c4Sl/DT5QBFfCPxm4hC7ABpn2RE+9tfXxkDszN7P7 oChxlkyALQP6Yex+LmHwv9QuBo3Hh+SgeWWO8zMRJVsfkbG93uTX9w7+ctr0s/j3vO9bdpuyRVltG 6mcLd/eGuSbh0xbhrICHiI0i89AIvco4vo4qd5O+RonsYD1t/r0+7IkpBuLh2YgyRCNrvXfykAyVA Tlc7/Wfg==; Received: by zero.zsh.org with local id 1rOtAa-000CWA-AT; Sun, 14 Jan 2024 05:36:28 +0000 Authentication-Results: zsh.org; iprev=pass (mta03.eastlink.ca) smtp.remote-ip=24.224.136.9; dmarc=none header.from=eastlink.ca; arc=none Received: from mta03.eastlink.ca ([24.224.136.9]:38425) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1rOtA2-000Bp9-Iu; Sun, 14 Jan 2024 05:35:56 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta03.eastlink.ca ([24.224.136.9]) with ESMTPS id <0S7802TD2KUPB950@mta03.eastlink.ca> for zsh-users@zsh.org; Sun, 14 Jan 2024 01:35:53 -0400 (AST) Received: from [192.168.0.11] (host-24-207-19-13.public.eastlink.ca [24.207.19.13]) by csp02.eastlink.ca ([71.7.199.167]) with ESMTPSA id OtA0rcjS2tqGEOtA0rFKYk (version=TLSv1_2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256); Sun, 14 Jan 2024 01:35:53 -0400 X-Authority-Analysis: v=2.4 cv=Zvoraf3G c=1 sm=1 tr=0 ts=65a372b9 a=e7T7DzMKK1R988ZCg0wLyw==:117 a=e7T7DzMKK1R988ZCg0wLyw==:17 a=r77TgQKjGQsHNAKrUKIA:9 a=84QFdc4USmSloj7QI_YA:9 a=QEXdDO2ut3YA:10 a=pGLkceISAAAA:8 a=09pRFHTNTn3QWyy7_30A:9 a=_uuCnEEvwJBv4rLu:21 a=_W_S_7VecoQA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdeikedgkeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecugfetuffvnffkpffmpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurheptgfkffggfgfuvfhfhfgjsegrtderredtvdejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpefhteethfevgeeuvdelgefgvdevudefueduffdvgfelvddvgfdtieegueeuleeifeenucfkphepvdegrddvtdejrdduledrudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdegrddvtdejrdduledrudefpdhhvghloheplgduledvrdduieekrddtrdduudgnpdhmrghilhhfrhhomheprhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepreerpdhrtghpthhtohepiihshhdquhhsvghrshesiihshhdrohhrghdpghgvthdqkghiphfrrghsshifugepthhruhgv X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Content-type: multipart/alternative; boundary="------------ijPUWyii0uW08KLhjLgsYY7p" Message-id: <2b2b8ede-f488-4cec-a16f-6c164acb75cb@eastlink.ca> Date: Sat, 13 Jan 2024 21:35:51 -0800 MIME-version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: zcurses mouse delay (not Re: Slurping a file) Content-language: en-US To: zsh-users@zsh.org References: <205735b2-11e1-4b5e-baa2-7418753f591f@eastlink.ca> <86efd9d3-c994-4551-ae1b-1358dcc86283@eastlink.ca> From: Ray Andrews In-reply-to: X-Seq: 29471 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: This is a multi-part message in MIME format. --------------ijPUWyii0uW08KLhjLgsYY7p Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2024-01-13 21:03, Bart Schaefer wrote: > Please don't reply/re-use an unrelated subject for a new question. Pardon, thought I'd just sneak it in there.  Lazy. > Patch going separately to zsh-workers. Sorry, Ray, but you're out of > luck without a rebuild. I'll Cc you on the patch, it should apply to > any zsh/curses module since zsh 4.3.5 of 2008-02-01. > It's time I started using the latest builds.  Usta do it, then I lost all  my notes during switch to new computer so now I'm with whatever Debian is offering (5.8).  BTW speaking of things that don't work -- from the manual: - Any events that occurred as separate items; usually there will be just one. An event consists of PRESSED, RELEASED, CLICKED, DOUBLE_CLICKED or TRIPLE_CLICKED ... AFAICT 'RELEASED' isn't there, a fast click reports 'CLICKED' a slow press (no release) reports 'PRESSED' and on release the 'mouse' array is null.  I worked around it, but since the 'fast click' time is said to be 6ms by default, and I'm often a slow clicker, zcurses takes that as two separate mouse events -- which is why 'zcurses mouse delay' was of interest.  It's not hard to cope with but 'RELEASED' would seem more kosher than a null array.  Oh, and if it was ever of use -- say some notion of dragging something with the mouse -- the array's holding of the cursor position could be another reason the array should not be null on release.  We don't think of zsh as doing that kind of thing, but clicking and dragging something in a zcurses window could be an interesting party trick.  Watch out Thunar! --------------ijPUWyii0uW08KLhjLgsYY7p Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit


On 2024-01-13 21:03, Bart Schaefer wrote:
Please don't reply/re-use an unrelated subject for a new question.
Pardon, thought I'd just sneak it in there.  Lazy.
Patch going separately to zsh-workers.  Sorry, Ray, but you're out of
luck without a rebuild.  I'll Cc you on the patch, it should apply to
any zsh/curses module since zsh 4.3.5 of 2008-02-01.

It's time I started using the latest builds.  Usta do it, then I lost all  my notes during switch to new computer so now I'm with whatever Debian is offering (5.8).  BTW speaking of things that don't work -- from the manual:

- Any events that occurred as separate items; usually there will be just one.
An event consists of PRESSED, RELEASED, CLICKED, DOUBLE_CLICKED or TRIPLE_CLICKED

... AFAICT 'RELEASED' isn't there, a fast click reports 'CLICKED' a slow press (no release) reports 'PRESSED' and on release the 'mouse' array is null.  I worked around it, but since the 'fast click' time is said to be 6ms by default, and I'm often a slow clicker, zcurses takes that as two separate mouse events -- which is why 'zcurses mouse delay' was of interest.  It's not hard to cope with but 'RELEASED' would seem more kosher than a null array.  Oh, and if it was ever of use -- say some notion of dragging something with the mouse -- the array's holding of the cursor position could be another reason the array should not be null on release.  We don't think of zsh as doing that kind of thing, but clicking and dragging something in a zcurses window could be an interesting party trick.  Watch out Thunar!




--------------ijPUWyii0uW08KLhjLgsYY7p--