From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4194 invoked by alias); 25 Feb 2011 16:56:40 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 15829 Received: (qmail 8561 invoked from network); 25 Feb 2011 16:56:37 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at m.gmane.org designates 80.91.229.12 as permitted sender) X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@zsh.org From: Thorsten Kampe Subject: Re: Key bindings not working under screen Date: Fri, 25 Feb 2011 17:56:10 +0100 Message-ID: References: <110215074453.ZM31765@torch.brasslantern.com> <110215195121.ZM32256@torch.brasslantern.com> <110216090123.ZM799@torch.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: nat.scz.novell.com User-Agent: MicroPlanet-Gravity/3.0.4 * Bart Schaefer (Wed, 16 Feb 2011 09:01:21 -0800) > > On Feb 16, 12:41pm, Thorsten Kampe wrote: > } Subject: Re: Key bindings not working under screen > } > } > # at the top of .zshrc > } > exec 2> /tmp/zshrc$$ > } > setopt xtrace > } > } It reaches the end ("setopt noxtrace") in both cases (screen call in > } .zlogin and without) and the generated log files in $TMP (zshrcnnnn) are > } exactly the same... > > Then it's time to look for something in /etc/zlogin or ~/.zlogin that > may be causing it (assuming screen starts zsh as a login shell). If > that's not the problem the only thing I could suggest is to create a > verbose shell function wrapper for bindkey, something like > > zmodload -i zsh/parameter > bindkey() { > print -u2 -- "$functrace[@]": bindkey "$@" > builtin bindkey "$@" > } > > and install that very early, perhaps in ~/.zshenv. I decided not to continue at this point since not setting EDITOR to vim fixes the issue. Thanks, Thorsten