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 23631
- From: Daniel Shahaf <danielsh@xxxxxxxxxx>
- 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 13:20:28 +0000
- 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 ==
- In-reply-to: <20180914131315.GE20615@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> <1536929025.231006.1508067968.578CE203@webmail.messagingengine.com> <1536929114.231186.1508076776.2D392EA0@webmail.messagingengine.com> <20180914131315.GE20615@blackswan>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author