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_KAM_HTML_FONT_INVALID,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 27442 invoked from network); 22 Oct 2020 09:40:42 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 22 Oct 2020 09:40:42 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1603359642; b=NDiZmn/7+VZfZr6g9APyWhCFuQSsYRnhFrqqiBjz6PJKHjIj3XOy9i4b+IHkI/HuAYD2kHQKD8 ryi0heAwGivt4oy3JfhF8GkY9Wv/sDLGnEnTtNb9rjiY8Ri5pBFK3h6XfzgMso27RULAMKUovm 5hNTToHTvhjGd+a08ievFlS0+HcZ1oZvZNCYk+49Zmjx+kS3jFBNMC/ZpyDVMeSbayryqzZsRL NlQtb5j76OcNCb54R7/l0Vt71F0OCQRxJ8YbJc212dPI3GZhOMTjogpQ/CuqDaRfoCkv4sSrbq JwdwHsq2vKE3mj8xHKnkgeuQFNwEYY10XGTOftnIoApNXA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-oo1-f54.google.com) smtp.remote-ip=209.85.161.54; dkim=pass header.d=gmail.com header.s=20161025 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-20200801; t=1603359642; bh=AT3+KR51dMrm8t7ZPyOM12d6poylEAxAD7rhYLfD+1c=; 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=TLNNkTE6zoLQlGFb/dgAHp5cHZk51gwaDREIbgrEnYa2acN/pr80FOHxRHS8MOr5me3b1DdZ3/ RdQZorvF1lb2YTc8r6rzLVBB/WLNDksb6ZPY3aV69Y3RZqB5GMryx/4d2eve9Jx7QtsD+WI9NX F/t3t1cK2NlFkzTyEYpuWqpVYqVvarrPm1acWsJloj2cQdeqIiOHZLjEyxhiMQDNXC8khfcCED G6j8LZbJ56Ip4m8/FPh9+cxKFO+EuttI26piKp1EjG3W+gYxAsjw6j0aJVU6+galQN5whpZuBk bHAS9g0Zc9XLX/tYZmPxFV+C80FlUyT6/c+cBpwFfpf2ww==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; 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=zTKRVnYoXUKFrTpOLxSQSUPMg2iiMde+fDRyHsgSe6Y=; b=JxLseiX6y0ZlteT1iPd/c3LJGu 7c1Xt1DghCJzbh0Q6nRrks6V+ozR166pdcB3QeMPsbZFIU1ntD4SvgFobOd742xnTfgzxubf6uogo z5MZVbl8L+HTYK/Te5A1ggjJVKw8hcwJyh7VD5LqFbob763PbwFTq2k/EvBonq2D0l8A4SYcTxG7u 66eBiW84ILrHVCsGKDw7YJjQyXg2KoC+4wTocxMX9cV8Nt+vb9paNeZa5LgOoxbMbH1NmJYR5OqhH KtL+7Wls+84b0ba1Q9pxxxv/bV8ZW/STdDwwAOpWj8UPA1+aK7WLPrXzWE//Vy/UjaKFi9Hi0ZOJt Dl2aeVYA==; Received: from authenticated user by zero.zsh.org with local id 1kVX5I-0007u1-RB; Thu, 22 Oct 2020 09:40:36 +0000 Authentication-Results: zsh.org; iprev=pass (mail-oo1-f54.google.com) smtp.remote-ip=209.85.161.54; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-oo1-f54.google.com ([209.85.161.54]:34786) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1kVX4k-0007XX-Ue; Thu, 22 Oct 2020 09:40:06 +0000 Received: by mail-oo1-f54.google.com with SMTP id f1so205708oov.1 for ; Thu, 22 Oct 2020 02:40:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zTKRVnYoXUKFrTpOLxSQSUPMg2iiMde+fDRyHsgSe6Y=; b=gmIye7ZZ2W618sXbx927C8pe8Jw5n0GnagSk220bczcZZ6mO2UvefHh6av+PWuqFmt oRvcIKJZQ4sFrreOrnpZqIYiXrgTU//SxRnpzLA4w95X9cYd0ekJ8WnwVVT5hWITbKc4 klkQ/n2KGorZzU8mItvHYRLjxPMt2G3LQ358xBUrMs5zp83pqDTrDazTeG88qX8C0rgu satZeAtlYihhBCSmFQ/edoK9vcfl1Vyxg/FcRAVTSUwr5gelsOzNw5KVTI6UUIUNeLc3 0KWod00aKU29l6CswjeN1rQSOI9yOdyedLF6PD5pKQ7rVpNShy7YOz3BHDNYCkHp3cjW iH0A== 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=zTKRVnYoXUKFrTpOLxSQSUPMg2iiMde+fDRyHsgSe6Y=; b=l5FTjiIWIOJnp9wediikrbTm1D4566UilCq/dRy79TFSHuYXWh80TYmZw1DQ2fjPmu fhaGlxn624BGwwjr885xOJsTb+4EgDAn0Hn1fsyz8DOM1mbDwMagZg3ij4diCPjuyjpR 0a0tRqd0msai/9hHRP5h1XK4VMs9Nzcna/TWI5Lhd6QoAvOLaypNtkzwoFrpfFh6aORe Hm+8vs5yHF7ta4/5qvUUC1bpSrGyB7kmckL3h8NrNVKaStQPvUj+YkzD5GVbzOtoqw7D iWzs5Nag6PSK3RsLna7h64PbJpom7CNtSzueYI41xlkJi66FQUcjhMHjQDhI8cPZ9c0+ RB8A== X-Gm-Message-State: AOAM532t+s/stzfDMG2acw4x+EwCYIMQ7HIOyON86/SZB2z/SAVzwjT5 1ifPX2aANgxKITAQeaXcsCt6D8KT5+W2ZDoj4Jir1U6bOL/MJw== X-Google-Smtp-Source: ABdhPJy5vtU5WsVdanYSla5RLlZ5ycuqWrAj32tfbh8QV7m/V4o+foZN84vMe9oO9/mp9L5UkhQkm4Xnf1wr/4t/Kd4= X-Received: by 2002:a4a:e643:: with SMTP id q3mr1335436oot.22.1603359601866; Thu, 22 Oct 2020 02:40:01 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ahmad Ismail Date: Thu, 22 Oct 2020 15:39:50 +0600 Message-ID: Subject: Re: prints byte sequence when no key is bound to that key sequence To: Bart Schaefer Cc: Zsh Users Content-Type: multipart/alternative; boundary="00000000000084399005b23f3ffb" X-Seq: 26120 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: Archived-At: --00000000000084399005b23f3ffb Content-Type: text/plain; charset="UTF-8" Hi Bart Schaefer, After your suggestion, I found the main problem. It was: _escape-key () { zle autosuggest-clear # Escape To Clear Suggestion REGION_ACTIVE=0 # remove selection } zle -N _escape-key bindkey '\e' _escape-key *Thanks and Best Regards,Ahmad Ismail* On Thu, Oct 22, 2020 at 2:21 AM Bart Schaefer wrote: > On Wed, Oct 21, 2020 at 10:21 AM Ahmad Ismail wrote: > >> >> Key BindingsByte Sequence >> page up [5~ >> > > In every one of your examples, the "[" is supposed to be preceded by an > ESC ($'\e', ^[, whatever) character. I can't tell if you've omitted the > ESC from your original key binding or if it has been stripped out when you > tried to paste this table into your email, but that's where you should > start looking. > > --00000000000084399005b23f3ffb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Bart Schaefer,

After your= suggestion, I found the main problem. It was:

_escape-key () {
zle autosuggest-clear # Escape To Clear= Suggestion
REGIO= N_ACTIVE=3D0 # remove selection
}

zle -N _esc= ape-key
bindkey '\e' _escape-key

Thanks and Best Regar= ds,

Ahmad Ismail



On Thu, Oct 22, = 2020 at 2:21 AM Bart Schaefer <schaefer@brasslantern.com> wrote:
On Wed, Oct = 21, 2020 at 10:21 AM Ahmad Ismail <ismail783@gmail.com> wrote:
=
Key BindingsByte Sequence
page up[5~
=

In every one of your examples, the &= quot;[" is supposed to be preceded by an ESC ($'\e', ^[, whate= ver) character.=C2=A0 I can't tell if you've omitted the ESC from y= our original key binding or if it has been stripped out when you tried to p= aste this table into your email, but that's where you should start look= ing.

--00000000000084399005b23f3ffb--