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,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 2414 invoked from network); 8 Sep 2021 08:58:25 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 8 Sep 2021 08:58:25 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1631091505; b=BZn3k562tvX8wRCT4HANDQywtgwZfdDev2PPHq7ejxQMPQlPA4n74Z5LGz7aULEdUB6NZCLI5v dubzExtIUewaW+Ib7sn9bKTyGLH3Sc/Rdk2Xz4wGEpL9MlAtGPUJF3cWAig+OjEi25hjjpwzIP losu02oiQ9cHwM61SF0ARd/4kbz5wR4fTSSYal6Nkdnden+nw/YVju/o/DvgKLNRxSbRaD6Tf5 NtiL9ztiQ1yLrpmWdrCmmLgQXvOt3/f14OSUWdVHe1OKT1YKwWRw2+nBlZchJ+K3wG1/RsQtRd DufsBg9UZ5plQHf5kgWIWcS+B4d5QpXp8oLhoSWveACspg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-qt1-f169.google.com) smtp.remote-ip=209.85.160.169; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1631091505; bh=7w8TBCIuSQWSLB24UomVyePvoiy7twN6yn6odHwDrRM=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=LMlLDBSEh2SQxH3P2a9dwCtc5FLbpgw7Xj3BQSDLlqC1RdRBy2JGFKtoTse0efn+AlXGoN6Iw9 0KbWrxblvLwtk8OMxf/YvpOCFkaePzVux3P7VB92wP7WAH7p5CstBhkdQN/8Vt7/1MHwANhWEh AVgZLT/x35KIXYHGk63PZ8Z8RqHSBPG+JIcy9Kc6JxJ5wnB4FoJnw3prsMC1qjJkBUOxIFURpg LPkWAq6PtgjLuNii404GvlzcSN6g0i//1RkH2nnbgNvfjHnyka2+cp9quNY3DG2M9MBPq6hIO/ ypNJb87wUBmXc65oD4NOsAIFJ98KW5ULalMQ7b95vAsYTw==; 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-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=U32SeT1ToVLcOYvV8wv84UZm5o1P9M0pJImRrSaM4M4=; b=fbYgwPk/FrZBN3vvkOl4JF5XZE MmzGnOa/kXZIboLJVaWGqFWbAsBGpXI4uZ09YDahv9KHvhGr3T1ngahI5rSEurR0l4qOs8HuAX3VR dvTcTOnu+r4PNn87dXT/p7D9ErmDvJYh5QFGCSXN4TmIItWyokXqjpCWK4DkM+gXhjxALH8qFdD0m ES31OjGvy9OUVRA4VnYUSz4AmZcLaqYnRSMSqR8dhQBBhYcxOyMzryt+PCx+GZA4A5rzgmAU+Ly/0 hD5v6+UauTzQZ02z+RxdfwRvY4X4yQk7kWzpFLBuo+Q9rE2MQWagkgOKJ4YQX+UaLuTirR3Ijty3C ZgE7z6QQ==; Received: from authenticated user by zero.zsh.org with local id 1mNtPT-000Hoo-3B; Wed, 08 Sep 2021 08:58:23 +0000 Authentication-Results: zsh.org; iprev=pass (mail-qt1-f169.google.com) smtp.remote-ip=209.85.160.169; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-qt1-f169.google.com ([209.85.160.169]:45685) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1mNtNx-000HVL-Ad; Wed, 08 Sep 2021 08:56:49 +0000 Received: by mail-qt1-f169.google.com with SMTP id s32so1188053qtc.12 for ; Wed, 08 Sep 2021 01:56:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=U32SeT1ToVLcOYvV8wv84UZm5o1P9M0pJImRrSaM4M4=; b=CzToeE5BQ5iHZ6sbtVFPOIfkUy+VSWP0/08+uuRg0bh2tV/j3xmsVjUOAMVbryOgkU ksJJmeBdypjn2xDyO12RH49KxuXrByQnsmQmXClmIykZbAXgvgkoz9bNbkVAvfvxNKsh pyEs31YZCZRnf9TUqNRKSvk+zd310s68DSt2n+uZBPAtgdujUX6GEyunOdDEnBeKIG11 sBY8qrPfyW4BP2A6gctKPTHx/ZBzrLfvAO+gOLGUaKeRxWGXxjOUqKhI1YZb02uC4y0I ONnNMjv1qNla0NIrfRRvdGu+tIY3N0H6Aja9c6HehoUXaBShPbxsbzEzFZx4lKzFEg5q FTVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=U32SeT1ToVLcOYvV8wv84UZm5o1P9M0pJImRrSaM4M4=; b=DPfexSW9wh5bhWYAbYaaJVJu6QOjV9PA2HjzQmibz5rut9fdVfHvKL6uYQd4d7Uect 08p+vQvoQ+qUNdDpj/X7a6kuz4QipUdNuJjwNCkH3zKit0lQMMzoF6hqqsY1xmLKPa02 t12yE8J+iYRqKToLTrA5ASFCqWcL2GWE1vX2Xhi1yI+WJbnKo4cGzTWhf6lrqQ6XidaT axmYB5xOwwfF7ZxsG76XM5mM3bHLTDj2LbCui1swZjV93pA1gKj3HLKokoekwrcWeQkI 2oLMeHvZzdJQfuYPPk6ku75drijmWkIx52f9qzssqU7l3E6lLgpiRKdC8Akc98vAqsun LUvw== X-Gm-Message-State: AOAM532ED5Y92tRayRJLTE9WmzFZQTNf8elJgP77owN8hNtPwSS4qrRB 1tAXsvIYbpQ+i64y9nLua6AP/Hzl4lX9YZOhsAo= X-Google-Smtp-Source: ABdhPJxsT6J0pR4719IXO0DrbKhjCBDyuq0eEFiXHXAkUSiY8UAzIc+g79s0Q+mou2wHkiglS8VpltchIyDPm8XujNQ= X-Received: by 2002:ac8:7154:: with SMTP id h20mr2557747qtp.251.1631091407641; Wed, 08 Sep 2021 01:56:47 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Roman Perepelitsa Date: Wed, 8 Sep 2021 10:56:41 +0200 Message-ID: Subject: Re: Bug report: Pasting content overwrites the current line and duplicates the text To: Christopher Stead Cc: "zsh-workers@zsh.org" Content-Type: text/plain; charset="UTF-8" X-Seq: 49395 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: On Wed, Sep 8, 2021 at 12:58 AM Christopher Stead 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=xterm-256color If you are getting any other output, that's the problem. Roman.