Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Strange problem with bindkey keys passing through to apps
- X-seq: zsh-users 23628
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: David Woodfall <dave@xxxxxxxxxxxxxx>, Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Strange problem with bindkey keys passing through to apps
- Date: Fri, 14 Sep 2018 12:43:45 +0000
- 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 ==
- In-reply-to: <20180914113841.GA7435@blackswan>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20180914113841.GA7435@blackswan>
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".
Messages sorted by:
Reverse Date,
Date,
Thread,
Author