From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28147 invoked by alias); 16 Feb 2011 11:42:30 -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: 15808 Received: (qmail 8507 invoked from network); 16 Feb 2011 11:42:27 -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: Wed, 16 Feb 2011 12:41:57 +0100 Message-ID: References: <110215074453.ZM31765@torch.brasslantern.com> <110215195121.ZM32256@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 (Tue, 15 Feb 2011 19:51:21 -0800) > On Feb 15, 7:59pm, Thorsten Kampe wrote: > } > I further suspect that some of your bindkey settings are always > > } > ending > } > up in the emacs keymap, even when ZLE is in vi mode. Have you tried > } > capturing the bindkey output in a file in each case and diffing them? > } > } As far as I can see, these are all from my .zshrc (the deleted ones and > } the ones before the "->"): > > That would appear to mean that sourcing your .zshrc file is stopping > before reaching the end. Try something like > > # at the top of .zshrc > exec 2> /tmp/zshrc$$ > setopt xtrace > > # at the bottom of .zshrc > exec 2>&1 > setopt noxtrace > > See if it ever reaches that last, for one thing. Either way examine the > trace file to see if your bindkey commands are ever being executed. 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... Thorsten