zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@sunsite.dk
Subject: Re: The opposite of bindkey -m
Date: Sat, 02 Sep 2006 11:21:43 -0700	[thread overview]
Message-ID: <060902112143.ZM17880@torch.brasslantern.com> (raw)
In-Reply-To: <20060902.174651.74747463.Meino.Cramer@gmx.de>

On Sep 2,  5:46pm, Meino Christian Cramer wrote:
> 
>  Is there any way to "disable" bindkey -m without restarting zsh ?

I think you're confused about something here.

Vim, zsh, and mc are all just programs getting their input from a
terminal or terminal emulator.  The key bindings in zsh do not affect
what is sent by the terminal to any of the other programs; they only
affect how zsh interprets the input that is sent to it.  When zsh runs
an external program like vim or mc, it steps completely aside, so those
programs are getting input directly from the terminal, not "mediated"
through zsh's key bindings.

Thus "bindkey -m" is not what causes the terminal to send what you're
calling "binary" to zsh or to vim, it's only telling zsh what to do
when it receives binary.  Control of what is sent is somewhere else,
probably in a terminfo definition.  In other words, you must have
changed something other than just bindkey, and you may have changed
it somewhere external to zsh (such as in your terminal emulator's
configuration file).

If it's the terminfo, the setting of the TERM variable can change to
an alternate definition, and you might "fix" mc by something like

	alias mc='TERM=vt100 mc'

(choose a more appropriate value for TERM than vt100, that's just an
example).  If instead it's the emulator's configuration, the TERM
setting might also help if you can find one that matches what the
emulator is sending -- but if that doesn't work, you may not be able
to get both vim and mc to receive the input they expect.  Either way
the solution won't have anything to do with zsh key bindings.


  reply	other threads:[~2006-09-02 18:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-02 15:46 Meino Christian Cramer
2006-09-02 18:21 ` Bart Schaefer [this message]
2006-09-03  1:12   ` Meino Christian Cramer
2006-09-03  5:24     ` Bart Schaefer

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=060902112143.ZM17880@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-users@sunsite.dk \
    /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).