From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9645 invoked by alias); 10 Jan 2014 12:48:53 -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: 18301 Received: (qmail 7107 invoked from network); 10 Jan 2014 12:48:46 -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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_PASS autolearn=ham version=3.3.2 X-AuditID: cbfec7f4-b7f796d000005a13-11-52cfec2b1792 Date: Fri, 10 Jan 2014 12:48:41 +0000 From: Peter Stephenson To: Ivan Brkanac , zsh-users@zsh.org Subject: Re: $terminfo for up and down arow Message-id: <20140110124841.2feaa7e3@pwslap01u.europe.root.pri> In-reply-to: References: <874n5eyhrn.fsf@ft.bewatermyfriend.org> <87zjn6x17n.fsf@ft.bewatermyfriend.org> Organization: Samsung Cambridge Solution Centre X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprBLMWRmVeSWpSXmKPExsVy+t/xK7rab84HGdxbwWyxef9VdosdJ1cy OjB57Jx1l91j1cEPTAFMUVw2Kak5mWWpRfp2CVwZs7ofsxU8YK/4eOMXSwPjFLYuRk4OCQET iXU7W5kgbDGJC/fWA8W5OIQEljJKnGydDuX0M0ms6G1kAaliEVCVmD//Mlg3m4ChxNRNsxlB bBEBC4lvsw6DxYUFtCV2HzkJZvMK2EvsOtYL1sspECwx9+E3qKFvGSV+TO8DW80voC9x9e8n qDPsJWZeOcMI0Swo8WPyPbBmZgEtic3bmlghbHmJzWveMk9gFJiFpGwWkrJZSMoWMDKvYhRN LU0uKE5KzzXUK07MLS7NS9dLzs/dxAgJzS87GBcfszrEKMDBqMTDWzDrfJAQa2JZcWXuIUYJ DmYlEV77V0Ah3pTEyqrUovz4otKc1OJDjEwcnFINjIIM/upGJaU/dI4k6qhve9dkU7pc7OcP zt85KkvuRvocrZrz2HKtnxbH8wa719sS1NsbxIo23tjxWHnCJP+rH1Ifr6nwXv43ryiuL011 TgY/h17dmZvFT2w1leVOPQpUlRZ4xGji06S5YdOjk06CVY03FD30JE4ce9omGbJBNP1QkH9X 1bt0JZbijERDLeai4kQAiz6HkCsCAAA= On Fri, 10 Jan 2014 13:38:40 +0100 Ivan Brkanac wrote: > I have found the problem. It's an upstream bug, as I have suspected, > but I have also found the way to get around it. > > I am defining three functions with the same function body to not > repeat myself. Even though I have verified that the functions have > been defined properly, they exist, my zle-line-init and > zle-line-finish are not being called. Something must have changed in > recent Zsh versions that affects this. > > When I split that code into three distinct function definitions, it works. Please could you supply the code you're using to set this up? It's not clear whether you're using zle-line-init zle-line-finish() { ... } zle -N zle-line-init zle -N zle-line-finish or zle-line-base-function() { ... } zle -N zle-line-init zle-line-base-function zle -N zle-line-end zle-line-base-function both of which would have the effect you say. Thanks pws