[Pkg-zsh-devel] [PATCH 0/6] Proposed changes to /etc/zsh/zshrc
Frank Terbeck
ft at bewatermyfriend.org
Mon Mar 5 23:02:06 UTC 2012
Hey list,
This series is pretty much a complete rewrite of the package's `zshrc'.
The fundamental change is to make zle put the terminal zsh is running in into
application mode while it (zle) is running. That is the *only* way to make sure
the values from `$terminfo' are valid.
No rewriting of values (`O' -> `[') from that hash anymore. (That was only
whishful thinking anyway and the right terminal would barf - and that not just
theoretical, I had that happening with a combination of xterm and tmux for no
good reason at all.)
Otherwise these are minor fixes and cleanups. Make sure to take a look at the
serie's commit messages for details.
I'm convinced, we do want the first 5 commits of this series. I'm undecided
about the last one. It's an attempt at a best effort at supporting
"<modifier>-<cursor-key>" bindings. The *correct* way would be to use the
values I'm trying to extract as S-Up, C-Up etc. into the `$key[]' hash. The
problem with that is that almost no terminal has those capabilities exposed in
their terminfo entry. `xterm' does. Most others don't. So if those entries are
empty, I'm binding a number of sequences other terminals use (which are often
the sequences xterm uses).
Anyway, comments welcome.
Regards, Frank
Frank Terbeck (6):
Rewrite keyboard handling in zshrc
Add debian/NEWS to document the keyboard changes
Un-tabified and rearranged zstyle call
Only unalias `run-help' if the alias actually exists
Use stricter options with autoload
Try to bind <mod>-<cursor>
debian/NEWS | 24 +++++++++
debian/zshrc | 148 +++++++++++++++++++++++++++++++++++++++++++++-------------
2 files changed, 139 insertions(+), 33 deletions(-)
create mode 100755 debian/NEWS
--
1.7.9.188.g12766
More information about the Pkg-zsh-devel
mailing list