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 3357 invoked from network); 29 Nov 2022 13:30:09 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 29 Nov 2022 13:30:09 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1669728609; b=IVZA0yCybtWg2lhFLRJMtdw7q1BSbHTVUNTm8Ywec+/uLNdtjs9D2SAGVn88NsJDlkDSpDli7+ IV10qT2S/30oyMZVDRXZXdoZgXXQqaSH4JtaXw+WyVOBH+tkx0dvdqVpqVxbygkPVYTkqdmzVJ 9bItP3Fy85Vgj4kGM2SE9K/ogmQJln2dqlm5VGrwkWgTfmWvc2ag3iaxBSxE1sMQBl/FtozIne c9QGeWqwoF3yW0N4gbKBvZetTTawHsC4KM/pJMpRbs9nBJVf0+eIXksQQ0y2YWSjknJTvMStsC WDgRQvXB9I/vfbE3/7LOro8IoBzFf3GOCg8Ozwf9WrNDBQ==; 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=1669728609; bh=sw2nDdHJbOPy6szqwTohf7Ov5UBUc3IgrYSt/G9N+iQ=; 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=LvNCwyZarHfFBR1bEdOjmuQAl0PYAxVxvJcdxRyRGV+qQRD+7/eUrTZ/CC+1PD3TSNgabYecXx GSLcgm/NDBMCD0HmClQ94AzkRzzxDYcnbteDuBME7xsb0jNUw/YPN1VCeHtEh1ipl70bc6uRqB o3+fJXTjtyvveEl7d324MAZFl+KHVDN2BSzKTV22olTzooQjcoL7MoMishP2ix8HuodGnWgiGL X0vz+aifaJsRd0+2uSb7fDFM4tRz8lekvyonRJuqIu8CMPlURbbWqyCxIeSuy24f4RtPt31HZi vZ2XxcSJU04ZLhcVvb3amcONchvkfFi3BAa/zqHYidrJmg==; 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=tos1z6aCFhjGe3dtVbVZCh5PFDW5KmgbxxRezAi77JA=; b=FrzpNUPd5iGMu37Fs/dPHPAXYU 5A4L5dFyaqvua25gigCafVJAR6KnKdrWzI9RhbLejB1QGO4yjZQLACYDbq93gMLOHA902hwkptvbG jliHgKSAkHjua0uX6jR46HjRkXWZ669PltYuFk7NJnOrFQtR39TYU8AD2/59SI3/Csd+XpVPjuMzP OQNID6/xsBUnu7iZmfRedqil0CPeN8PiYjpfS1N3CpZqJYsJSb9iCZ5mi+dfxaKNthPLAqBgmz+Et 3NZl6WHUXwllZZgQovCDUZTr+xoLmjoKJNx8dgRWXCDUZ2grTYDJIgyGyJ4uQOVEgKXmimfd26Cyg Y0BZkjFw==; Received: by zero.zsh.org with local id 1p00gZ-0009Mk-Or; Tue, 29 Nov 2022 13:30:07 +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]:51309) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1p00fn-0008g7-6z; Tue, 29 Nov 2022 13:29:20 +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 <0RM400HWM183BKQ1@mta04.eastlink.ca> for zsh-users@zsh.org; Tue, 29 Nov 2022 09:29:16 -0400 (AST) Received: from [192.168.0.4] ([24.207.18.108]) by Eastlink with ESMTPSA id 00fjp3YUBgfyj00fkpnVoA; Tue, 29 Nov 2022 09:29:16 -0400 X-Authority-Analysis: v=2.4 cv=M9uLaQ8s c=1 sm=1 tr=0 ts=6386092c a=xN66ZtSbq5jdJYpBp7G/jQ==:117 a=xN66ZtSbq5jdJYpBp7G/jQ==:17 a=IkcTkHD0fZMA:10 a=XBnZToAVycfKfVmtDSkA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrtddtgddvfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpeeitdejffevgfdtheeggfetkeeugeegieetuddtvddvudetteffvdevlefgueekudenucfkphepvdegrddvtdejrddukedruddtkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrudekrddutdekpdhhvghloheplgduledvrdduieekrddtrdegngdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdpnhgspghrtghpthhtohepvddprhgtphhtthhopeerredprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhgpdhgvghtqdgkihhprfgrshhsfigupehtrhhuvg X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: <5d0c4e22-80b0-2fd2-ee75-6902da52d121@eastlink.ca> Date: Tue, 29 Nov 2022 05:29:15 -0800 MIME-version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: one time in 20 error To: zsh-users@zsh.org References: Content-language: en-US From: Ray Andrews In-reply-to: Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 28448 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-29 02:13, Roman Perepelitsa wrote: > > The script needs to read from the TTY after disabling mouse tracking. > Reading with timeout is suboptimal because there is no upper bound on > input latency (imagine working over SSH). ... Yikes, that was an order of magnitude over my head.  Grasping at straws I just added a 'zcurses timeout my_window' before 'zcurses end' and it ran 60 cycles with nothing written to zle ... so I'm calling it good.  Dunno, I think my code is clean, it's all according to Hoyle as far as the docs go; I don't think I've done anything wrong, perhaps 'zcurses end' should take more care to clean up?  Flush whatever buffers just in case?