From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-users-return-23628-ml=inbox.vuxu.org@zsh.org X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.1 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 12cb6c93 for ; Fri, 14 Sep 2018 12:44:08 +0000 (UTC) Received: (qmail 9563 invoked by alias); 14 Sep 2018 12:43:55 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 23628 Received: (qmail 14653 invoked by uid 1010); 14 Sep 2018 12:43:55 -0000 X-Qmail-Scanner-Diagnostics: from out1-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(66.111.4.25):SA:0(-2.6/5.0):. Processed in 6.03939 secs); 14 Sep 2018 12:43:55 -0000 X-Envelope-From: d.s@daniel.shahaf.name X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=gvw4Jw 7B6u+v+a7v4yqA78aOQ8Av5TaoiQcruibOQVk=; b=DqyTlyIJ7qVcIX0z3tLTwf E6OTLJbWTGhCTQIhjpuvx/ug8aLiUWY5J9EIhaE/yoERpLAD88p+dWuu40c+be4U zolx4Tiq4u78iU08coEzHJzE+zMrVYJlmkGR+0xyOw/KXMzFQ8eCh45Od2Cmxgqz RWF9/70QF26SsUfXUeiu8z1iNx1ZpM0s5dc89xf81DrN1BzLvOuV2o0mTYT7NctB YGtfwYvZRMVvKOpkf2BW8Vhgq+9/cl9NxR00uTnfp+gQcXq91cuoY/FJbDOwISya OWBe7uSoy3Sy9vxxgCSgYMVjbYn74nBd6H73jlgWGo0TuQnqIElx0RhbioBJW2bw == DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=gvw4Jw 7B6u+v+a7v4yqA78aOQ8Av5TaoiQcruibOQVk=; b=jxFYsnRyTN7E4RGEeCSm04 CuK+R8Up7avLgSNKeLoVGTetehxy93Y1uuv+7huQi18DNgGB/fBllEUmEhwIfO3H E8cXkqsG96RLVWjM5ApmeOyhfi3aUBlU7cmRzUxAyE0C3ecvy4O0K20vLSaSXU4J k1IGG/1wxmx/+g3C2cliT7a9QyvIhY5TSWY7nSAMaiO+i5dZmkOLa+4MIHFmCzzE WECQPYTRmPIBtLFgxj2oG+1Vudqa6WqAk/nGonnHMb+VTxrwpfOxpiSosTQFt5sm i1AEuw57JZ3mq/9R2q5xiJ6h/EydiMQOsyqulSrotE2J+lsQgH1VDkAStjs7sU4A == X-ME-Proxy: X-ME-Sender: Message-Id: <1536929025.231006.1508067968.578CE203@webmail.messagingengine.com> From: Daniel Shahaf To: David Woodfall , Zsh Users MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-e556cd15 References: <20180914113841.GA7435@blackswan> In-Reply-To: <20180914113841.GA7435@blackswan> Date: Fri, 14 Sep 2018 12:43:45 +0000 Subject: Re: Strange problem with bindkey keys passing through to apps David Woodfall wrote on Fri, 14 Sep 2018 12:38 +0100: > The binds work fine except when I try to use them while running an > app - e.g. weechat, mutt - they fail and e.g. mutt will see it as the > bind to save the mail. > > It seems that zsh isn't grabbing the keys for some reason and they > are falling through to the apps. > > Any ideas why these are passing through to apps and not grabbed by the shell? That's how terminals work: input is sent only to the foreground process. This is true not just for chorded keystrokes but for unchorded ones as well: it's why when you open zsh from mutt (in this order) you can type the command "mv" without composing a letter to somebody named "v".