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 6445 invoked from network); 8 Sep 2021 09:31:47 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 8 Sep 2021 09:31:47 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1631093507; b=NPJRE/BAHiNCh2ziuWYLeKp9IBCAFUOh9OvlAoePbQgO54RCNVMBJJ5fSdL3rVZw+j/gDjq04o pIJVfbh4/fs57pxtnUUOyhL/LR3AYfefiS8dR82P3d57L3DEFgXMMhUM19CxZf5113vK2wDu1z 7Ne/K6EAHAlJt9KXoHiIr9DdpgCAI1+yLfy6g6voBTKdD3qCK+I3zDLmImrG5GovMRTDn/twau Tx2d0iCvLVMoVlIB9DOUMxfDcmTBGCn6G88zEttnCV0UIMV8sLsjxaFEi4sNXvCZNlaeKKZumW BLfE+SiuZzAA4hFi6BI8CQLMDDZS6U9NFSDw0SzQCh53rg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-4316.protonmail.ch) smtp.remote-ip=185.70.43.16; dkim=pass header.d=pm.me header.s=protonmail header.a=rsa-sha256; dmarc=pass header.from=pm.me; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1631093507; bh=sDsKYKdcP1blA0hW7X3UGYj7Yf5T5wzcsFH3YepL9L8=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version: References:In-Reply-To:Message-ID:Subject:Reply-To:Cc:From:To: DKIM-Signature:Date:DKIM-Signature; b=VJHSJPqNE1R8guXvoc+G6+mqCAVngqkNXwKmim0pEPc4DMdmpd97BSS+gTcplWTdAVV+k4yWfu 8Cu/HbfZR1hgZV1ZaRHijDODbt8CX/khghY2/QKYUGlvXlBaY//7tiOGDrr8htlYebd7dI1DEm q+jbyYKZ9IlKoNQyybvM8im6GsGVP3gLFEeJtPETZJ7yA6ZxmH++uAP9EhTeB7kgxH4OTpH1UP 8RL3FD6ywuCJPW8sNtyKoxBL081sjV6cLDJq8WrCgpAlCLnrziqUHtufQrJtjGm7yDmFum0aJ7 bs7TQyedDO2wai7cMC8gB8Gwz8eXSE45MC0BjW7mt5hVew==; 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:MIME-Version:References:In-Reply-To:Message-ID:Subject:Reply-To: Cc:From:To:Date:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=sDsKYKdcP1blA0hW7X3UGYj7Yf5T5wzcsFH3YepL9L8=; b=Ho7uo/EVVSxGxhUxLNj42KTxf2 xY4BNYxCUcDyY+6niLL3zHSCA35cH4RYeiuyExeMjMy+jvP2qfybWJG88v+u/hRKL9oeGWEoiNFN0 0HMi1J0XxSGGyttGMjq6Aczn/EyMTHQUNTZospY1M4Dh/W16agQQk7ipkz3wuXB/rQ9ppOosfVA/A J207zBAOC5dEkpu0MS4XyrVBfzuNmB0vxjVJr6+lFdkYwQ7FEy0zA8bIxca4vF0J+KiibZ18Qu5fZ bdzalC/1MONGADc1d/ZvF9Bt79c0QVPMkusMhW/x+BqdlEFW+0bg1uNpqlCDXRceN7xMF4SoUSDAH K1oiF7SQ==; Received: from authenticated user by zero.zsh.org with local id 1mNtvn-000Ji0-88; Wed, 08 Sep 2021 09:31:47 +0000 Authentication-Results: zsh.org; iprev=pass (mail-4316.protonmail.ch) smtp.remote-ip=185.70.43.16; dkim=pass header.d=pm.me header.s=protonmail header.a=rsa-sha256; dmarc=pass header.from=pm.me; arc=none Received: from mail-4316.protonmail.ch ([185.70.43.16]:62093) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1mNtvV-000JRZ-Ew; Wed, 08 Sep 2021 09:31:30 +0000 Date: Wed, 08 Sep 2021 09:31:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1631093488; bh=sDsKYKdcP1blA0hW7X3UGYj7Yf5T5wzcsFH3YepL9L8=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=J+IF6iEPhYd+SJiHAMoekia1H9X8sLELgCATZHhGtgKa6sP8NH/76FkR/YVmOEEKt 3oXVzNNUe5QJdaZUVvApZAYNTOY2szR7JZJbcM4ow3ODWPco6O/hOW148ZkCOHYE0+ Q2jDRcCC/+vX32R8ng61KFW3IdHB9Ph2PnHyaugA2wvDHYa89AXRuZ8aUwGFjZ+dCw 3UO+iTuX06gl/Wda6+qhJ3O4MnWkC30sAzuDN0BF/i7fvRmGYe+OrMB5R2iEfwYR+O StkoalPQhcfaDvjgezdi9/m+yBzFzSEvTTGvjH1shnsNbmUPS6oFVyglNaXemQBn27 AtIS40fYzJNBg== To: Roman Perepelitsa From: Christopher Stead Cc: "zsh-workers@zsh.org" Reply-To: Christopher Stead Subject: Re: Bug report: Pasting content overwrites the current line and duplicates the text Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Seq: 49396 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: > What do you get if you execute the following command? > > typeset -p TERM I get the expected output: export TERM=3Dxterm-256color =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Wednesday, September 8th, 2021 at 8:56 PM, Roman Perepelitsa wrote: > On Wed, Sep 8, 2021 at 12:58 AM Christopher Stead crstead@pm.me wrote: > > > Pasting text into the terminal results in the current line between > > > > wiped and replaced with the copied contents duplicated. > > > > I have tried this on two separate Zsh installations, one using Ubuntu > > > > in Windows Terminal, the other on an Ubuntu OS terminal - both to same = effect. > > This usually happens when the value of TERM environment variable is > > incorrect. What do you get if you execute the following command? > > typeset -p TERM > > In Windows Terminal and GNOME Terminal the correct output is this: > > export TERM=3Dxterm-256color > > If you are getting any other output, that's the problem. > > Roman.