zsh-users
 help / color / mirror / code / Atom feed
From: Thorsten Kampe <thorsten@thorstenkampe.de>
To: zsh-users@zsh.org
Subject: Re: Zsh changes on Ubuntu
Date: Mon, 19 May 2014 12:57:08 +0200	[thread overview]
Message-ID: <llco20$8fh$1@ger.gmane.org> (raw)
In-Reply-To: <87iop4zoih.fsf@ft.bewatermyfriend.org>

* Frank Terbeck (Sat, 17 May 2014 12:29:58 +0200)
> 
> Since ubuntu is debian's downstream, I'm pretty sure this may be tied to
> a change in debian's global zshrc: In pre-5.x packages, debian used a
> rather broken approach trying to read escape sequences for special keys
> from the terminfo database.
> 
> Starting with the package for 5.0.0 and onward¹, that was fixed by
> setting the terminal zsh is running in into the correct mode for the
> values from terminfo to be applicable while zsh's line editor (ZLE) is
> running. This was done to make the setup work across as many different
> terminals as possible.
> 
> If you had bound keys to hard-coded escape sequences that worked outside
> of that mode, those may be invalid with that mode active. To bind
> something to - say - the Up-Cursor key, you'd do this:
> 
>   bindkey "${key[Up]}" some-widgets-name
> 
> To get a list of valid keys for the ‘$key[]’ map:
> 
>   print ${(k)key}
> 
> We also added an entry to the package's NEWS file about this change².
> The file also mentions a "Get out of my way, I know what I'm doing!"
> variable, that serves as a way to disable the package's keyboard setup,
> should you want to go a different route.

"export DEBIAN_PREVENT_KEYBOARD_CHANGES=yes" in .zshenv did the 
trick.

Thanks, Thorsten


  reply	other threads:[~2014-05-19 10:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-17  9:47 Thorsten Kampe
2014-05-17 10:29 ` Frank Terbeck
2014-05-19 10:57   ` Thorsten Kampe [this message]
2014-05-19 12:03     ` Frank Terbeck
2014-05-19 20:32       ` Thorsten Kampe
2014-05-19 21:15         ` Frank Terbeck
2014-05-22 16:57         ` Axel Beckert
2014-05-23  7:59           ` Guido van Steen
2014-05-23 10:49             ` Axel Beckert
2014-05-23 13:00               ` Guido van Steen
2014-05-23 13:45                 ` Frank Terbeck
2014-06-08  9:07                   ` Guido van Steen

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='llco20$8fh$1@ger.gmane.org' \
    --to=thorsten@thorstenkampe.de \
    --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).