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,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 25182 invoked from network); 18 May 2022 19:41:37 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 18 May 2022 19:41:37 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1652902897; b=dNkdydvEZNVR8DPiody7+Ot86aH4SXdtUhOtciNZvDM5hZha37k1E7DLmuhnkciR+gi03VAXw+ 9jBkig+yLfk1U5YaIOUDK3//ADq34wviARDWjEqXWpZ2bVaT6WShAXAGCPv+yZ8EY9c4EEs8pr dBn3LrDxcldRG2GrZLg7QzPLvIBpQkTGRmeTD7y7KSlQRGYJGC+d87VLGr6825j6+LInN3d0X/ zctonSvMER862ezyrVvrtyMbgOeHBl7QtWXKqr+YFiJetsl77aSDB2sLBCmyZAHy23k2OA6wQh TukAmOCejnfuNBcna/TVkaBLIgNc5hcfO0Sf3/SDOW1mXg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-io1-f52.google.com) smtp.remote-ip=209.85.166.52; 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=1652902897; bh=+/dbPIiIowl4HKgk+7q2aC9r9DxC8b6sUxuLyNyfqTc=; 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=OV96gGYCg4GJTIsXnim+N/w2QNbEPNP1qW3wx2tyVg4PGn2xeWTkai8D22oARddESYgtvgD5Ot Kel5YZBw0ralS1QsfSg+lBGSpr3QrSpRY6D8B1qRwHryS3976dljdNpIk8YBz5cAdAe7ip0dhq ak2T87yVRpGenDQJXd/AwbQ7qb8hCmMXhN9OmwlydQ2crtgxzLWRlLW2L4Tbja83e7veMDtOfr RCgOmrpIlpvHv7z5sIz2iNEAEO1u7Qk5rMer6xKg7LzYoGUAy9etYlpTZY/o1gjzYzcEVzFV9Y yI5Bb9LJFjCQrbPAwasMEULQDPggDZ0M5Imi+OotTT5haA==; 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=qlZWGW7BRwMwRr6MFwLSVMhkVDXd9dJknysigBcQ0qc=; b=qjAdsD5wGwUSCJLy/G3aEz8kjW Mp8k49bkhRr/zrUslwrRwF+bVTffo55Ig1iIfiioWyhqpkx7ONyS7v+kDPMx+wF3dpCXFh78knx+z 04ijOkNOpDlc4bwBwdObcSLoOWlTdQXIXvmYuty3GyQAw7vX275doCTORKwIaUgxT1ICY1cH/M2Zw PpITcvWZVlD4RcwuKsXPNxRMVTsFTqzb/bhX5yAqegIL8FWerSz2Kjns5SoA/pAq5fjKSgbxQCqKk +AtCII4/8KGgZinAIsEvsIIUV3x8GOh12knro452dxtw5bIe+3eDc68oeKwEC8AvArP8jG//MP1ca +MD+sWqw==; Received: from authenticated user by zero.zsh.org with local id 1nrPY8-000JyB-MD; Wed, 18 May 2022 19:41:36 +0000 Authentication-Results: zsh.org; iprev=pass (mail-io1-f52.google.com) smtp.remote-ip=209.85.166.52; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-io1-f52.google.com ([209.85.166.52]:35654) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1nrPXD-000JGB-Sc; Wed, 18 May 2022 19:40:41 +0000 Received: by mail-io1-f52.google.com with SMTP id f4so3479985iov.2 for ; Wed, 18 May 2022 12:40:39 -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=qlZWGW7BRwMwRr6MFwLSVMhkVDXd9dJknysigBcQ0qc=; b=aem+x8BByVyEcuVWmEBphNSg0A1gaHCQ0aVxHgZwsCQjI9mRpQ8cl36heJNtgYE1gA JnidUoSkcwEn4Y0zN6LTCHPZuntFXUlsXezVrHTzQ935tNEtGV6LpQ2uzl/Ko+LmbfhF O98jynnoX/pJRu5uWWrsqUADXRhDodw54rPph7yw32TqDKxtXD2XYYO7dd/YYwWNBO02 qUs3m7FW/261fb3M3zwzE6mpBByF8/c4KoHufIa7P6e3ZPeWtLYTDm5bWQ2oJxIm2Gqp NuE1gpik63M2xQZvTJRXDK6C59M8L4PsjGD6IGrn4BxW5I+2AuDciMguRmg1BBPkt9LR 5A6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qlZWGW7BRwMwRr6MFwLSVMhkVDXd9dJknysigBcQ0qc=; b=TSGVDcQ4NrmI5BUyPaMP9T2rXGcvxa3SWoekuxMsfGDRWlb0zNNZ2RgHOf4zgPyDoS LTngLdVDnGY1UIXsSumdMYY3r5Pfbnt68U83K4QjDddi0IFT/M18bHf+cjuA26krCshf 0XprA5cTn8tAcdROytMRnkqBAstjtqohwiAtg/IzgXrBeKGBF+5clbNNegqd/SOXPkf5 /Yp3VlY70cyw+vZXKUvkY7byUryxoqh9rlEFeCsBQN0udINA1C9irFwmEnZKzcKE6c7o bwUmavB7KaKjdtYGn9Bg8YtJQxvhjj2j5GJIweH+oITtxsdiE67mVUOWBFeR9/eN4AB8 +lpw== X-Gm-Message-State: AOAM530F/h61+wxNnktcs5TSlBmghYtxBqKkxekx4foJDX4gnydvyDBm lV+k+I1+6QXHL7e9Px7QKDal977d2iIAQamSJNs= X-Google-Smtp-Source: ABdhPJz8MrE5ksf19e7OByVOHMWvPLEJDY9u6+itLEj47h2rn/3ACBiLens2n8jk/OBT2CVjD4BWq0kWgLoNYMm9dLg= X-Received: by 2002:a05:6638:35a2:b0:32b:87ee:1ede with SMTP id v34-20020a05663835a200b0032b87ee1edemr620761jal.243.1652902838338; Wed, 18 May 2022 12:40:38 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Pier Paolo Grassi Date: Wed, 18 May 2022 21:40:02 +0200 Message-ID: Subject: Re: problem with multi-byte character on command line (zsh v 5.8) To: Bart Schaefer Cc: Zsh-Users List Content-Type: multipart/alternative; boundary="000000000000870b4d05df4e6efc" X-Seq: 27762 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: --000000000000870b4d05df4e6efc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Bart, I normally use terminator as my terminal emulator. I have tried launching xterm and the result is the same. I use zsh 5.8 (x86_64-pc-linux-musl) (the hermetic version provided by Roman: https://github.com/romkatv/zsh-bin) which seems to be the culprit, since if I switch to the zsh 5.1.1 provided by the os of the vm where I am testing the problem does not manifests. By the way the problem happens only when the cursor is placed before the 4-bytes character. regards Pier Paolo Grassi Il giorno mer 18 mag 2022 alle ore 20:55 Bart Schaefer < schaefer@brasslantern.com> ha scritto: > On Wed, May 18, 2022 at 10:30 AM Pier Paolo Grassi > wrote: > > > > Hello, I have just found than having this character on command line: > > $'\xf0\x9f\x8d\xbe' (that would be a =F0=9F=8D=BE) > > makes the cursor unable to advance when inserting characters > > I'm unable to reproduce this in either 5.8 or 5.9. Is it possibly > specific to a terminal emulator or locale setting? > --000000000000870b4d05df4e6efc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Bart, I normally use terminator as my terminal emula= tor. I have tried launching=C2=A0xterm and the result is the same.
I us= e=C2=A0zsh 5.8 (x86_64-pc-linux-musl) (the hermetic version provided by Rom= an:=C2=A0https://github.com/= romkatv/zsh-bin)
which seems to be the culprit,= since if I switch to the zsh 5.1.1 provided by the os of the vm where I am= testing the problem does not manifests.
By the way the problem h= appens only when the cursor is placed before the 4-bytes character.
regards

Pier Paolo Grassi

Il giorno mer 18 mag 2022 alle ore 20:55 B= art Schaefer <schaefer@bras= slantern.com> ha scritto:
On Wed, May 18, 2022 at 10:30 AM Pier Paolo Grassi <pierpaolog@gmail.com= > wrote:
>
> Hello, I have just found than having this character on command line: > $'\xf0\x9f\x8d\xbe' (that would be a =F0=9F=8D=BE)
> makes the cursor unable to advance when inserting characters

I'm unable to reproduce this in either 5.8 or 5.9.=C2=A0 Is it possibly=
specific to a terminal emulator or locale setting?
--000000000000870b4d05df4e6efc--