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=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI 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 B428123515 for ; Sun, 5 May 2024 18:20:14 +0200 (CEST) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1714926014; b=orZk1RKUjdj+cYGhFBsTkATptGCgYIfUT2AI/hyY1JIM4YNWppnpG8S6paHAUC58zcRnBGqu4p CcMmIuv2378JRcUzY7xx/hbWPnPytenwFUITCTg5OUf9xPiqk6WzT2j0+ET8+XGZUfC8VvDu9q PMEdEMEY1oLQFyI9OnVJlM+5uVzxXsIOv/E/KNgM3rEDw7+l1cmkdMR6TYP7eEOUkIAjkOHwla ba1VLurAxBXtdOsv/hpdyBeDHlLCXkFkgqKwkdFEK8xi66nqByO8imvXQc8AZZDgWcAzM9GJxJ wGUTP2Z6xOdBmF7TlYsHjzKn14u2Pvjcv1oyOt6xIrOJ9w==; 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=1714926014; bh=ruHQbdM/sAoDyZRxhKXMdix0diwUjJdpSXX8d3YhopA=; 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=T+fKKaCtJCkXjSvxonU+Em/YmBqpnwreNvMzM2CZwrCko4s+JfYdKXSLxeg3NqD+gmHFRkelKI VK2rn7TKLOMyCDnPPw+E+Q5pQ5fpxBSTecgM5YThiiHg4auns/g+CSshkd4CPEG+Cw2an2+E2D CIs5mrlSKchBIAR1N3ISYg3wiG53PRDDe1FdTu5DoIGUkeV7jalGcSV0z2+nn8Pt1g6NiZgiwF C9eu0MxFVG1pXQrldJHfXwM1xpEtV6EUY3khhKNwD9IcqVAyfnL1U/B9btlIXpYyqxY9hBeGJ4 4cDK0oRdqLudl9cw1a/PXPp3umPUeoj/NGu87qZ51ic5sg==; 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=4K/7K3wz1K7SG4nRjniRKE7ZgJDzXwUcZQAhKTDFKuc=; b=CeHrNNKsx/uplt9nSeuEahrAFp pt5P+HCMhWi7773WBO9XvDRsZnt4WL8G4Hw9y1wMom7409YW1o34EZaypVydvvmgD7LlhEiPOZkVQ eoHu2LkHp5DWx6MsiK4u9ybGnrVhVHeOxK09vucD+iRNiljNHfnwO8GWz/jaJ3yphYWSYhSbhgM3Q Jso2cJYP39mY6xmtlMjqbwSACArcu6bFNF5q5zcD4gflBhw3joaiA6l6KgBDW2JeD0Ri67PrOEJOM FJQ7QEV+AaBCddMwnxVLxW+onCNrmW3otQj0tYl3cExfkmbJR+coPs5XpUe74JcRshI6CsrcWiCp0 FrNYYaSg==; Received: by zero.zsh.org with local id 1s3eay-000Pxc-SX; Sun, 05 May 2024 16:20:12 +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]:50655) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1s3eaR-000PFr-9m; Sun, 05 May 2024 16:19:40 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta04.eastlink.ca ([24.224.136.10]) with ESMTPS id <0SD00PR25TC7QSJ0@mta04.eastlink.ca> for zsh-users@zsh.org; Sun, 05 May 2024 13:19:38 -0300 (ADT) 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 3eaPsWcKFxAjx3eaPs03X9 (version=TLSv1_2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256); Sun, 05 May 2024 13:19:38 -0300 X-Authority-Analysis: v=2.4 cv=EfprQ+mC c=1 sm=1 tr=0 ts=6637b19a a=e7T7DzMKK1R988ZCg0wLyw==:117 a=e7T7DzMKK1R988ZCg0wLyw==:17 a=IkcTkHD0fZMA:10 a=gir0-LH0AAAA:8 a=9OuQajJ8TXxQlL5rWPcA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=aLewGyoHDmJ4ULJHWpSz:22 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvddvgedguddtfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpeetfffhgfdvfeefleevlefhgeduveekudfhheehvefhkefhveeiheejjeehfeevgfenucfkphepvdegrddvtdejrdduledrudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdegrddvtdejrdduledrudefpdhhvghloheplgduledvrdduieekrddtrdduudgnpdhmrghilhhfrhhomheprhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepreerpdhrtghpthhtohepiihshhdquhhsvghrshesiihshhdrohhrghdpghgvthdqkghiphfrrghsshifugepthhruhgv X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: <391c45c4-c8d4-4a8b-9e8b-bdb07226401f@eastlink.ca> Date: Sun, 5 May 2024 09:19:37 -0700 MIME-version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: lost sysread To: zsh-users@zsh.org References: <08c57670-aa9f-41db-b0d3-574ec1e222f0@eastlink.ca> <7a95414f-de27-473b-9cfb-ded9276163f9@eastlink.ca> 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: 29897 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 2024-05-05 08:42, Bart Schaefer wrote: > On Sun, May 5, 2024 at 6:17 AM Ray Andrews wrote: >> Supposing the error msg was: "Module 'sysread' is not loaded"? > If the module hasn't been loaded yet, how is the shell supposed to > know that sysread isn't an external command? The whole point of > modules is that the base shell does not have a compiled-in list of all > the possible things that could come from modules. Sure, it might not be workable.  Just an idea.  As you say there'd have to be some list and that wouldn't be worth the weight.   Or some way of quickly scanning what's available: zmodload --quick-check ... sorta Not worth it since I suppose one only need bump into the problem once to be made wise to 'not found' being sometimes 'not loaded' -- it never happened to me before this.  It seems I usually end up with the module loaded even tho I don't know exactly where it gets done. I like helpfulness but not at the cost of bloat.  Yup, if it couldn't be done easily then it's not worth worrying about. >