From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-users-return-23631-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.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, 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 bc21a200 for ; Fri, 14 Sep 2018 13:20:45 +0000 (UTC) Received: (qmail 19028 invoked by alias); 14 Sep 2018 13:20:33 -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: 23631 Received: (qmail 24034 invoked by uid 1010); 14 Sep 2018 13:20:33 -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(-1.9/5.0):. Processed in 1.503477 secs); 14 Sep 2018 13:20:33 -0000 X-Envelope-From: danielsh@apache.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | 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=4qhq2O H7UG7PVrIiKqHTlYZ1T7NqAcboo2K+FoBK1rY=; b=F3jIJgltLqzTheVYizoiPz qpMjFWApsLQjRCeUG11l6MEQgdXasdcdzuw1BDLlI1Wx/Zq6ixNH44MGykePCbXf IwH78fG1fmH0nzZSpYC9WSbJxlrYHCqPE9SxrWnTaFE5kBdS6iFUl6w+KZtYq8MF h1SgB1XZqq/Xs+K2ALzJfcma22j+dTOpzjIGGHsisNFoRXiP6RXwUUlGRWa6W0PB 3b7WR+WPvL21bcFuq6uGXgWysR896GgT7HzF9aJPF2G4+9mSAGjPy5Rl/yJqGVCw SF2YaTyqtcNPIt9K6v05Llzd9TSnVwZDiD3J9qhASCyfQLxlPrXSz7UV13HPyMYg == X-ME-Proxy: X-ME-Sender: Message-Id: <1536931228.240676.1508108056.79A20999@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 Date: Fri, 14 Sep 2018 13:20:28 +0000 References: <20180914113841.GA7435@blackswan> <1536929025.231006.1508067968.578CE203@webmail.messagingengine.com> <1536929114.231186.1508076776.2D392EA0@webmail.messagingengine.com> <20180914131315.GE20615@blackswan> In-Reply-To: <20180914131315.GE20615@blackswan> Subject: Re: Strange problem with bindkey keys passing through to apps David Woodfall wrote on Fri, 14 Sep 2018 14:13 +0100: > I guess I was expecting something like in urxvt, when it grabs keys > and stops them reaching any applications. Screen does that too, even > in a plain console it grabs ctrl-a away from applications. > urxvt and screen are exactly the same thing, as far as zsh is concerned: they are an app that runs *outside* zsh and creates a pseudo-terminal for zsh to use. That's why they're able to intercept keys before they get to zsh. > It's strange that it happens even when the applications don't have > binds for those keys though. I've now set one up in weechat for it, > but it will be annoying to have to do that for everything, that's if > they even do allow custom keybinds. It'll probably be easier to just always use screen when logging in to a console, and to configure that bind in screen. (There's a way to configure screen as one's login shell, even.) Or you might look into configuring a keybind at the console level. Cheers, Daniel