zsh-users
 help / color / mirror / code / Atom feed
From: Daniel Shahaf <danielsh@apache.org>
To: David Woodfall <dave@dawoodfall.net>, Zsh Users <zsh-users@zsh.org>
Subject: Re: Strange problem with bindkey keys passing through to apps
Date: Fri, 14 Sep 2018 13:20:28 +0000	[thread overview]
Message-ID: <1536931228.240676.1508108056.79A20999@webmail.messagingengine.com> (raw)
In-Reply-To: <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

  parent reply	other threads:[~2018-09-14 13:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-14 11:38 David Woodfall
2018-09-14 12:43 ` Daniel Shahaf
     [not found]   ` <1536929114.231186.1508076776.2D392EA0@webmail.messagingengine.com>
2018-09-14 13:13     ` David Woodfall
2018-09-14 13:19       ` David Woodfall
2018-09-14 13:20       ` Daniel Shahaf [this message]
2018-09-14 13:23         ` David Woodfall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1536931228.240676.1508108056.79A20999@webmail.messagingengine.com \
    --to=danielsh@apache.org \
    --cc=dave@dawoodfall.net \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).