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.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23703 invoked from network); 25 Sep 2022 17:12:01 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 25 Sep 2022 17:12:01 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1664125921; b=oCbdpUbDmlS6GI2EgYxceOm4GARl6LkE5f6gJvojDwS8UWBOaME5lSy6P20W0xJpPxVkGe3SKA ijGWQslft254MGu7wcDlsXEA9P7PO5zKIM0IovBZ4rRMNmXryu8BHpIo5P38seN8Mb4AduLdgj tRfFqL/zlAmbfmWcn937tuX4mSO3vaOSnEnQgLsazq34e7bfI8SD+Yk+7ZwVlX3ur3ZbZFSQIg sMitHcWGtAFqSGIdIjtBcoD8GN9NjK3+8FhbvikqoXzgV3K8ZrK8hqqzZwKAPkbs1wONW1VmwG UuGzCAwWBRe4CnwtfQodUcf4t/7IQzNuEDwBTAutUd6K2A==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (smtpq1.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.96; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1664125921; bh=ooZPGZXmradcNQYMeNw7uV8O//Avplv7uS+hEZLGFks=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:MIME-Version:Content-Type: References:In-Reply-To:Date:To:From:Subject:Message-ID:DKIM-Signature: DKIM-Signature; b=FPc5xXMYJQKlUXORqS/6LpS/HkG2bdq7dv4aCDOuhMOHI5UxY4TmPyaCw3FfSGUcNwEtsgDf5L 2fzoa/ET3vaP8tl4x6NIyAtLYcZlvSszziQQaFTZ40qPqxL8/rUXO7aVFkL8wJ+EAqQr0nerQn 2Ou6ExgoA8M1s4FnIdYXKuWAvK8bjLcZUJM9QVytnJEfN18CfwRZwMH00iW9JbYyWJFf4NWnAj skXuM6edntsHjnf95tifOVPPsc6TlatyDyAGzFBbYfao78hd2V8IM7AeGvEFMhtM6YusiB7pa2 v2ZkZpHKx8JtZfUMn2Cw8t+FhZPgzdQTzAsL8PhB/vDdYA==; 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: Mime-Version:Content-Type:References:In-Reply-To:Date:To:From:Subject: Message-ID:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From :Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=QhMHsIauOkSvaAdasi1nx1xw9biVsQiHAfAJFgEBMSE=; b=WYcuiwdyWDEgscSYqOnQdHsLzR GV4C4p0pcpWLBvN/5mIEtu+2ELmrVMAejdP170YyoeJ51Cl1PAwMUbwT4TQsnMoQg3xmvNvA0O1YY v5mAYwfeOmmEvZFVi4WQCCcZ3mAS9+NcGKyHUnQdvNuBfntDTjwpcKzRZGTacFVDOqJzm6IB2ptSj ytFLwCJXi69tKaB7r6eoM8ENfp5KvxPRhxvZkoWHOCYdw59w328HmifXREOAL7bpinSNyyzNdPLLJ U7pjbXHf/NsZZ6V0D/gNiRgOGbNA4bzQqU9Jfe7lDmvVRBlb0A+FCuwJ9Z+7YPOgkESzbjPbm2WOz YTlLOkow==; Received: from authenticated user by zero.zsh.org with local id 1ocVAf-000Ojo-Gz; Sun, 25 Sep 2022 17:12:01 +0000 Authentication-Results: zsh.org; iprev=pass (smtpq1.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.96; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none Received: from smtpq1.tb.ukmail.iss.as9143.net ([212.54.57.96]:51670) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1ocV82-000Nxi-Bt; Sun, 25 Sep 2022 17:09:18 +0000 Received: from [212.54.57.112] (helo=csmtp8.tb.ukmail.iss.as9143.net) by smtpq1.tb.ukmail.iss.as9143.net with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocV81-0007K0-U3 for zsh-users@zsh.org; Sun, 25 Sep 2022 19:09:17 +0200 Received: from pws-Zeus ([82.1.229.179]) by cmsmtp with ESMTPA id cV81o0AY0TKgzcV81oOKvF; Sun, 25 Sep 2022 19:09:17 +0200 X-SourceIP: 82.1.229.179 X-Authenticated-Sender: p.w.stephenson@ntlworld.com X-Spam: 0 X-Authority: v=2.4 cv=Q7XBXq6a c=1 sm=1 tr=0 ts=63308b3d cx=a_exe a=W4rGJ7PGCSRRUvufKHO8Dg==:117 a=W4rGJ7PGCSRRUvufKHO8Dg==:17 a=IkcTkHD0fZMA:10 a=xOM3xZuef0cA:10 a=w5Ttapy_jNCS_uDIYYIA:9 a=QEXdDO2ut3YA:10 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ntlworld.com; s=meg.feb2017; t=1664125757; bh=QhMHsIauOkSvaAdasi1nx1xw9biVsQiHAfAJFgEBMSE=; h=Subject:From:To:Date:In-Reply-To:References; b=bftSxo6hXzWCh+tnUh2t2F707MyqmIOvfPIdJcMIRVN0D0vSBSeZN8AAfJpQirBXq C3bONByvi4qJLFcJe95WUEBO7D+ZPmcwm5/qkvbPdlOx3j5l+YUGuIahpxnWrSysbz yPdZ6RZiZIm5YL1TmaPKoSzmUmlyK+jjpQU9tGlYjB1xLOUuM/RhftbYutsSojuEsf fy54a87AdppdOrVMqc/1LQjY+AYnW7+FOxDs1qMO7b9woT+aHoAjqT/+WAoILfv/Ml IcOduxIyfQndgzP5RPhUU+3er8PGzC3pfqQBVna/LvWrxMtS1o0dAdO7PXv7FrJ8/T 2m4HGkWlmtLmA== Message-ID: <38d4d0af61e5336c9fff93f7ffb60e2974fe8067.camel@ntlworld.com> Subject: Re: $_tty is gone after system upgrade From: Peter Stephenson To: zsh-users@zsh.org Date: Sun, 25 Sep 2022 18:09:17 +0100 In-Reply-To: References: <34ffd90d-24f5-25b0-7b47-188c63e52cef@eastlink.ca> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4xfIHe47C+wQsc4Gq3KwZQTu13zt4b44nh/wyGR0UFzvsHE1h39ca9jMNifAhFSsGSeAhXT8hVbHqND3uOKL/KA5xzCjVN4qhav3azs0MzL9yJPOo0WY9/ pbg2tsiiXWHHYjRQsXN+vxCMjfAFx64vXeGTZCljx4fE9mjZ52ed8Zdx5VRgK0DQiZvGwf5aCR0yjA== X-Seq: 28129 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 Sun, 2022-09-25 at 08:51 -0700, Ray Andrews wrote: > On 2022-09-25 08:42, Roman Perepelitsa wrote: > > > > I don't recall any version of zsh setting _tty. Debian 9 doesn't set it either. > > Ah! Dumb question, it was my own variable. I have this: > > if [[ $TERM == 'xterm' ]]; then > > _tty="${TTY#/dev/pts/}" > > ... but what's changed is the $TERM used to be "xterm" but is now > "xterm-256color" so that's where the problem is. Easy to fix. > > Do we have some way of erasing a question entirely from the site? A > question like this one shouldn't even have been asked, it's just > pollution. Thanks Roman. Actually, I disagree --- I think a reminder that names of terminals change and that that may have consequences for shell code is very useful. pws