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.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 17A0C24D5C for ; Thu, 28 Mar 2024 00:18:29 +0100 (CET) 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:Message-ID:Date: Content-Transfer-Encoding:Content-ID:Content-Type:MIME-Version:Subject:To: References:From:In-reply-to:cc:Reply-To:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=mnzYoGqFGzQ/5hIXnSQoTz80v8yg1tUdN3VgPoy99CY=; b=FM4mUC0W3j+B1GmYSECIknMood RWoqM++SiTXEZCYpa8dhZaXo8er9aMNh0vHe4cw1QuFMLqg7KkqaaUpa17oS3CKGr740d7n8qIfJF 7k3E56olSyVeHBQrACqr2ERiySSIkhCAHb4DFOhqksNAn6UCoKkcaTlr4cpd0YYh/Pzrd/vAijCUe iWiytPF/w9SpeKpwEjBRad0gsrBBsBRER/XRhlu3xS6AgKDueUQX5Onmo8gJKQLQLAtLD1PHuJPXs BbtTgAQDXVg/HuGuaysfFEtoNMfogipnvtddIPEOF0tCOWvumymJvx9DGSMjDoOR1EsMoDvG5zESt pd0tE4Eg==; Received: by zero.zsh.org with local id 1rpcXM-000HKs-Tw; Wed, 27 Mar 2024 23:18:28 +0000 Received: by zero.zsh.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1rpcX5-000H1m-Go; Wed, 27 Mar 2024 23:18:11 +0000 Received: from [192.168.178.21] (helo=hydra) by mail.kiddle.eu with esmtp(Exim 4.97.1) (envelope-from ) id 1rpcX5-00000000Bpq-0Oj6; Thu, 28 Mar 2024 00:18:11 +0100 cc: zsh-workers@zsh.org In-reply-to: <5e230a1b-1656-4332-9335-a38d956dac80@zentaur.org> From: Oliver Kiddle References: <33926-1711411180.228414@bsCA.-gfZ.3NP_> <5e230a1b-1656-4332-9335-a38d956dac80@zentaur.org> To: Clinton Bunch Subject: Re: [PATCH 1/1] zsh/random module MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <45496.1711581491.1@hydra> Content-Transfer-Encoding: 8bit Date: Thu, 28 Mar 2024 00:18:11 +0100 Message-ID: <45497-1711581491.091676@9sKB.jDYp.NqUn> X-Seq: 52834 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: Clinton Bunch wrote: > On 3/25/2024 18:59, Oliver Kiddle wrote: > > Clinton Bunch wrote: > >> +startitem() > >> +vindex(SRANDOM) > >> +item(tt(SRANDOM)) ( > >> +A random positive 32-bit integer between 0 and 4,294,967,295. This parameter > >> +is read-only. > >> +) > > It'd be useful to spell-out exactly what the "S" in the name stands for. > I'm not honestly sure what it stands for, I used it for compatibility > with bash.  Possibly 'system'? Checking the bash 5.1 release notes, you may be right but it isn't clear from either that or the bash manual. For some reason, I was associating it with "secure" because the need for good random number generators is often associated with security. Before I forget this again, random should be added to the modules array in Completion/Zsh/Type/_module_math_func so that completion adds its math functions. Oliver