From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 93b813a8 for ; Fri, 31 Jan 2020 04:18:13 +0000 (UTC) Received: (qmail 15502 invoked by alias); 31 Jan 2020 04:18:05 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 45362 Received: (qmail 21819 invoked by uid 1010); 31 Jan 2020 04:18:05 -0000 X-Qmail-Scanner-Diagnostics: from out1-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.1/25703. spamassassin: 3.4.2. Clear:RC:0(66.111.4.25):SA:0(-2.6/5.0):. Processed in 4.51883 secs); 31 Jan 2020 04:18:05 -0000 X-Envelope-From: d.s@daniel.shahaf.name X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at daniel.shahaf.name does not designate permitted sender hosts) X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrfeelgdeihecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfgjfhfogggtgfesthhqtd dtredtjeenucfhrhhomhepffgrnhhivghlucfuhhgrhhgrfhcuoegurdhssegurghnihgv lhdrshhhrghhrghfrdhnrghmvgeqnecukfhppeejledrudektddrheejrdduudelnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepugdrshesuggr nhhivghlrdhshhgrhhgrfhdrnhgrmhgv X-ME-Proxy: Date: Fri, 31 Jan 2020 04:17:18 +0000 From: Daniel Shahaf To: zsh-workers@zsh.org Subject: Re: [PATCH] sh/ksh init: don't initialise lowercase parameters Message-ID: <20200131041718.0b31056c@tarpaulin.shahaf.local2> In-Reply-To: References: <20200129084948.GA9843@tarpaulin.shahaf.local2> <20200129213530.428f2c76@tarpaulin.shahaf.local2> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Bart Schaefer wrote on Wed, 29 Jan 2020 16:00 -0600: > On Wed, Jan 29, 2020, 3:36 PM Daniel Shahaf wrot= e: >=20 > > > > I see. Yes, we can bless $HISTCHARS as the preferred spelling for > > native mode and keep $histchars for csh compatibility=E2=80=A6but doesn= 't this > > imply that we should add a $SIGNALS variable (and possibly deprecate > > $signals)? > > =20 >=20 > No, I was not suggesting any change to native mode. I'm merely saying th= at > if we can't have the lower-case version in sh/ksh modes, we need the upper > case one there. $signals is strictly informational, so it doesn't need to > be present in those modes at all, but HISTCHARS is writable and controls > features of history. Why does HISTCHARS need to be available in sh/ksh modes? About $signals, it's too late to change zsh mode special parameters to uppercase (e.g., $path). Perhaps we should use uppercase for any new parameters we introduce going forward, but that's another conversation. Cheers, Daniel