From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27377 invoked by alias); 9 Jun 2014 13:19:46 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 32758 Received: (qmail 28520 invoked from network); 9 Jun 2014 13:19:34 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 From: Frank Terbeck To: S M Cc: zsh-workers@zsh.org Subject: Re: Live Clock Causes Directory Flashing In URxvt & XTerm In-Reply-To: (S. M.'s message of "Mon, 9 Jun 2014 02:50:06 -1000") References: User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) Date: Mon, 09 Jun 2014 15:19:09 +0200 Message-ID: <8761kadxv6.fsf@ft.bewatermyfriend.org> MIME-Version: 1.0 Content-Type: text/plain X-Df-Sender: NDMwNDQ0 Hi, I can't say much about the problem you're describing, but I've spotting something in your setup, that I thought I might mention: S. M. wrote: [...] You do this for keyboard setup: > typeset -A key > key[Home]=${terminfo[khome]} [...] > [[ -n "${key[Home]}" ]] && bindkey "${key[Home]}" beginning-of-line [...] That will only work reliably, if you also put the terminal you're using into keyboard-transmit mode while the line editor (ZLE) is active. You can do that like this: #+BEGIN_SRC shell if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then # If these entries are not available for a given terminal, then # that terminal is in keyboard-transmit mode by default. That # means, everything is well without any additional action. If # not, this can do the trick: function zle-line-init () { echoti smkx } function zle-line-finish () { echoti rmkx } zle -N zle-line-init zle -N zle-line-finish fi #+END_SRC Regards, Frank -- In protocol design, perfection has been reached not when there is nothing left to add, but when there is nothing left to take away. -- RFC 1925