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.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, 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 37A6221D58 for ; Thu, 18 Apr 2024 07:13:40 +0200 (CEST) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1713417220; b=HXJnzaJ1U+2SctJINLVXyruEKykMJjGlCxQxIt/jKtdZy6dNDbsv3Pv2/HNuzgTxugwBwMOfIg ZXVCRJNE1+cNXMNHosOLVI6Bm1eAifBW7m5/eRIUj//YM4Pmpm0sZJd5w683f/sux1ShdqBpYx YYBluqGIkE7IbjBN2CWFge+Hre2KazD8jJz1HklejD50ss+RIOVK3ed0yrpUEas4jlbsOrOBLU Mro1BV4l2XQzoZOkslek8ZKmfVGjhU652w1GnMwfHy/9sSrLJI9xko+sT8ZORvRGmlKH38iwRe iVD6Hi4taopWz/H/d0MKBrox0swHlFSqq8dkISKhcqND1Q==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (out-184.mta1.migadu.com) smtp.remote-ip=95.215.58.184; dkim=pass header.d=rjp.ie header.s=key1 header.a=rsa-sha256; dmarc=pass header.from=rjp.ie; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1713417220; bh=5DSdrwuJ1eDWNrVrjWIw9ER5YMluz107ODmDv/1F23I=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:To:Subject:Message-ID:From:Content-Transfer-Encoding: Content-Type:Date:DKIM-Signature:MIME-Version:DKIM-Signature; b=r+K1vsz4bT2Qt7zv00T6PJ/il2kHqitWjpN/U1LSLT2d9VgSPaMdGXucaYfavBw7BUx4uw1cxZ IvofqHFg0U9ee7Osjp55QhxkKPY3B4URyr/qRYR+MQcoznkB07sqkhLFMr8ewesFmtCDdHJP8y 7PpDCS72KkA31YdH4/T7jYMfIrILTBEfQlff2odNlZb5BIqvCvZbECu1xjnlDr+MXCoEwmK7Qu gW7SUsqfTiRdqkxNXOHihg2nDRGKvEoMYGy+0Nnb1LRMn0f4Ud6a7G5z0UaWRI0CPZyo5pka4x EOdXA5zq9M5XuGKxJEGwMvMx/v+WUOhBedTkbtTdNqoTiA==; 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:To:Subject:Message-ID:From: Content-Transfer-Encoding:Content-Type:Date:MIME-Version:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References; bh=MuVIw8+4NJoxwYntYH1A/zcnxBEFJ2EaUIkK25uFRmI=; b=Px1nBwbH71VyFAr9yb4b0VNVtv A+E+1OzASBw2T20OaRzyLXA1Cdn+foVcC8Jqi5pXdPO7/uviCBM7XWtzmvOMk9EyvaCJsoibUyxur 3+aBci59Mj/LF2v8eAHRd7Yuq7EJY9gJAcyXdBRU3zLd/WMxFqEs81GMiIND7ohUmGlOG48+10k9/ nxMshpf9B9ReMjBvnLNgJnSTawKvtv6/zMSk+Z/EDT6qYTRMR8pOqPoCWMg5xvfHE+nUBTTMSPbe+ 3O5L4oAGfQQrKw+I0m3WcD02m5mxT0VYV3t/9TiTHJdFDlyqQ0+62oSPLINU1zTjQdVqTw8SLwZln 2ig1BsSg==; Received: by zero.zsh.org with local id 1rxK5b-0005Z7-Ff; Thu, 18 Apr 2024 05:13:39 +0000 Authentication-Results: zsh.org; iprev=pass (out-184.mta1.migadu.com) smtp.remote-ip=95.215.58.184; dkim=pass header.d=rjp.ie header.s=key1 header.a=rsa-sha256; dmarc=pass header.from=rjp.ie; arc=none Received: from out-184.mta1.migadu.com ([95.215.58.184]:30164) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1rxK5H-0005H7-Ev; Thu, 18 Apr 2024 05:13:21 +0000 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rjp.ie; s=key1; t=1713417195; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MuVIw8+4NJoxwYntYH1A/zcnxBEFJ2EaUIkK25uFRmI=; b=pbh/tidT08+FJk/K4gfEEg0F4NgHRLz06M107t4gvWUa0zSHxW2dFSlwUfqImaZuc8gzqs 9gI6yq3OVew3CmyIo5qH9rFJL2fOY6by7xA8Ud6IYYgnoVMDeNW7Ftw+YKDlzjFFP2oevU 8q2e2pe3V9s+4eg/+1AaFdqA12GtP2s= Date: Thu, 18 Apr 2024 05:13:13 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: "Ronan Pigott" Message-ID: <091559e4c5b5cc57f90f7ae21f2c6342502f0f74@rjp.ie> TLS-Required: No Subject: STTY fails to reset ICRNL / INLCR To: zsh-workers@zsh.org X-Migadu-Flow: FLOW_OUT X-Seq: 52891 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: Hi zsh, The following appears to be a bug: $ zsh --version zsh 5.9 (x86_64-pc-linux-gnu) $ uname -r 6.8.7-arch1-1 =20=20 =20 $ reset $ STTY=3D{-icanon,-echo} xxd -ps -l3 # input Ctrl-J, Ctrl-M, Return 0a0a0a $ STTY=3D{-icanon,-echo,icrnl,inlcr} xxd -ps -l3 # input Ctrl-J, Ctrl-M= , Return 0d0a0a $ STTY=3D{-icanon,-echo} xxd -ps -l3 # input Ctrl-J, Ctrl-M, Return 0d0a0a The STTY parameter description in zshparam(1): > If this parameter is set in a command's environment, the shell runs the= stty > command with the value of this parameter as arguments in order to set u= p the > terminal before executing the command. The modes apply only to the comm= and, > and are reset when it finishes or is suspended. But as you can see, INLCR was not reset. Cheers, Ronan