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 15029 invoked from network); 28 Nov 2022 22:17:01 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 28 Nov 2022 22:17:01 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1669673821; b=VH8X+rJYNbupytBevFoQrBdE808650FDMvJfTdQs6YYpZ+L3OeDRNvUCQVb5YtVV6JVP6pmvUz 5gt/W6VQAl1ejEISD/jwea6sHKkCPelN25npRpCDhjw2ADHwukVL9suUhO3cvAmQVdiGyB6ch3 QT5pLeh4Tl4oHHClt+g3Nix41QuLliPDF53qMKBPsnzh/OrgOFK2ZfCDhdYLuKbhnTu1p2eppq 2vHzFTko15MF70q3T9cUrP+eU7pRdJRk+SFK7QclWp6JZF1sH5RavE/o9L3lA1DmohXxZ6pEF5 iKfsFvh3U4w4+xv9lE4SbrGWIaa9d28Pvy+3ZZuemy+nxA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta01.eastlink.ca) smtp.remote-ip=24.224.136.30; 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=1669673821; bh=eZRHdiKRYbqOQGolDMVXa6trkTX/mVPWQoN9DtSY2sw=; 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=ZaPv7BUlexH3sqgFC6U95E/kIeqKIis2hviP76rPRW9GnYOReGW2S+YkGJHwt+E7vJ5VMB6+Aq 4/jsWS+L113w7lB89/BB7V3fHPQsQrueTO6QaPInOv5atEDbkuD302K4IgAisz2BvQqCuFoJxi mx24y4Cok8X0rodJRF/OePOkAz7fa+A1DDNEgxDYpO02ijcs0paKV3LCSrZdtGHewyguXuw3+M +qyHLxblYcL1D1woT3mYuKrc2+PbYTlUp3ZqMhNIzD2ZAESotud6l9JeYnYBZvK4uEAV2Pzjg3 tf/wVsCl1L/huJZi3zPfjvoxiesvHfn6/vQCGjMjLq6SVg==; 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=Ppx8kicjIPZNL5hlOFyBsONQ80vx4QCZ14C8BQUzRPU=; b=jAN22vwytIIWQhxyfsOCuflYdo TmNX2H/QC1A0t+pySSbfr08KDvf7SaQEEY/MNWwFGPVUug5GC01++M6VxLAPaPXUAEeRKK5WHcEJN EH1MlTThBXhIInARGLw8mX9Zj52EROVaiEck+cXoIV+6OPmo8NiYL3+H+zRoRLb8GrFuv2+4aR1Ry g0D2w4ODVNvAFG6ocSiWgw7aegEkffrSghPKgggPBhhlndFj391E+pM46rCm2AGaJ0QJcbJ+QyesV m+v/dcZLlpPoPqhB3i35VyzXiTWHmncwviG1ZzwvZdamkX4V0KVFM624HlhIaTiPOkp6JGCau+2Qu 8aZKs//A==; Received: by zero.zsh.org with local id 1ozmQu-0005fG-LP; Mon, 28 Nov 2022 22:17:00 +0000 Authentication-Results: zsh.org; iprev=pass (mta01.eastlink.ca) smtp.remote-ip=24.224.136.30; dmarc=none header.from=eastlink.ca; arc=none Received: from mta01.eastlink.ca ([24.224.136.30]:56164) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1ozmQ7-000501-5o; Mon, 28 Nov 2022 22:16:11 +0000 Received: from csp01.eastlink.ca ([71.7.199.166]) by mta01.eastlink.ca (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPS id <0RM200HPSSN7RI42@mta01.eastlink.ca> for zsh-users@zsh.org; Mon, 28 Nov 2022 18:16:09 -0400 (AST) Received: from [192.168.0.4] ([24.207.18.108]) by Eastlink with ESMTPSA id zmQ4ov0HwkffJzmQ5o2hfL; Mon, 28 Nov 2022 18:16:09 -0400 X-Authority-Analysis: v=2.4 cv=Lbf6qBTi c=1 sm=1 tr=0 ts=63853329 a=xN66ZtSbq5jdJYpBp7G/jQ==:117 a=xN66ZtSbq5jdJYpBp7G/jQ==:17 a=IkcTkHD0fZMA:10 a=0UGtpw_sxbzZTWhgmp0A:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrjedvgdduiedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecugfetuffvnffkpffmpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhfhjggtgfesthekredttdefjeenucfhrhhomheptfgrhicutehnughrvgifshcuoehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgeqnecuggftrfgrthhtvghrnhepiedtjeffvefgtdehgefgteekueeggeeitedutddvvdduteetffdvveelgfeukedunecukfhppedvgedrvddtjedrudekrddutdeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdegrddvtdejrddukedruddtkedphhgvlhhopegludelvddrudeikedrtddrgegnpdhmrghilhhfrhhomheprhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepreerpdhrtghpthhtohepiihshhdquhhsvghrshesiihshhdrohhrghdpghgvthdqkghiphfrrghsshifugepthhruhgv X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: <8f708c8b-f142-d6bc-0ab0-64e7c0393621@eastlink.ca> Date: Mon, 28 Nov 2022 14:16:08 -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 Content-language: en-US To: zsh-users@zsh.org References: <24954aa2-8ca5-b946-e875-1309cf46e007@eastlink.ca> From: Ray Andrews In-reply-to: Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 28442 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-28 12:46, Roman Perepelitsa wrote: > You can try this: > () { > zmodload zsh/system > local REPLY > while sysread -t 0.1; do done > } > How do I use that? > The teacher wasn't convinced by this "solution" and neither should you. Not my style.  It's not fixed until it's fixed.  I like your idea that it's a timing issue tho, why else would it be trouble free 95% of the time?  As you say, something it getting bothered vis a vis the terminal. BTW, Bart was right (sooprise!) about 'err_exit' sheesh, it nukes the entire terminal.  I was sorta thinking 'err_return'.