From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10190 invoked by alias); 21 Dec 2011 06:34:00 -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: 16658 Received: (qmail 16914 invoked from network); 21 Dec 2011 06:33:57 -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.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW, T_DKIM_INVALID autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.215.43 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=entngfVFp05iSxAHHpapj60p7FurqtIBeEHlxQ9SP7g=; b=J4lul6xrPoUGE0Q0/BdcLeIt1DRwZAn6DnjcGLdZFgZPfiO4igG64YEfpj42B9lQYr qzpZMSy4+IL4jcwdMrxpKhsg5QumN/vvHA0EWW2Vf4IHSpmY/HAZ6m0NRjhi0AAeKXd6 +QNqbZfh9hNt6yrnHEKlJ7GUkaer+hPlLpepg= MIME-Version: 1.0 In-Reply-To: <111220082438.ZM10913@torch.brasslantern.com> References: <111219191758.ZM9817@torch.brasslantern.com> <111220082438.ZM10913@torch.brasslantern.com> Date: Wed, 21 Dec 2011 06:33:50 +0000 Message-ID: Subject: Re: Zle history feature like that of many IRC clients? From: milk To: Bart Schaefer Cc: zsh-users@zsh.org Content-Type: multipart/alternative; boundary=f46d0408d3c1ef88cf04b4945da7 --f46d0408d3c1ef88cf04b4945da7 Content-Type: text/plain; charset=ISO-8859-1 Bingo, thanks so much! The only change I have made is to comment out the "zle .send-break" in the fake-accept-line() so that the content of the line is not echoed back on hitting down. There are issues with slightly more complex management though. "test 111" "test 222" then there's no more "test 222" in the buffer. Also "test 123" "test 789" alter "test 123" to "test 123456" (on "test 789") gives "test 123" still. But still, the basics you have provided will be a great help to myself, my coming from a much longer history of IRC usage than bash/zsh usage :) P.S. I'm basing the behaviour on Irssi. P.P.S. I stuck this in the wiki - http://zshwiki.org/home/zle/ircclientlikeinput --f46d0408d3c1ef88cf04b4945da7--