From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18150 invoked from network); 23 Jul 2004 20:28:53 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 23 Jul 2004 20:28:53 -0000 Received: (qmail 18768 invoked from network); 23 Jul 2004 20:28:47 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 23 Jul 2004 20:28:47 -0000 Received: (qmail 18963 invoked by alias); 23 Jul 2004 20:28:05 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7746 Received: (qmail 18953 invoked from network); 23 Jul 2004 20:28:05 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by 130.225.247.90 with SMTP; 23 Jul 2004 20:28:05 -0000 Received: (qmail 14722 invoked from network); 23 Jul 2004 20:26:21 -0000 Received: from vinc17.net1.nerim.net (HELO ay.vinc17.org) (62.4.18.82) by a.mx.sunsite.dk with SMTP; 23 Jul 2004 20:26:20 -0000 Received: from lefevre by ay.vinc17.org with local (Exim 4.32) id 1Bo6cV-0007dy-FV; Fri, 23 Jul 2004 22:26:19 +0200 Date: Fri, 23 Jul 2004 22:26:19 +0200 From: Vincent Lefevre To: zsh-users@sunsite.dk Subject: Re: zsh tips plea (tip of the day) Message-ID: <20040723202619.GN7828@ay.vinc17.org> Mail-Followup-To: zsh-users@sunsite.dk References: <20040723125246.Y326@willy_wonka> <20040723200401.GL7828@ay.vinc17.org> <87llhatqua.fsf@ceramic.fifi.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87llhatqua.fsf@ceramic.fifi.org> X-Mailer-Info: http://www.vinc17.org/mutt/ User-Agent: Mutt/1.5.6i Sender: Vincent Lefevre X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 X-Spam-Hits: 0.0 On 2004-07-23 13:23:57 -0700, Philippe Troin wrote: > Vincent Lefevre writes: > > > On 2004-07-23 12:55:03 -0400, Atom 'Smasher' wrote: > > > in ~/.zshrc: > > > > > > precmd () { > > > print -n '\017' > > > } > > > > This is really nice! Why haven't I thought about that before? :) > > I wonder if this shouldn't be done by zsh in standard. > > How is that different from "setopt promptcr"? \017 is not a CR, but a ^O (the opposite of ^N). Cat a binary file and you would see that this is useful. :) -- Vincent Lefèvre - Web: 100% validated (X)HTML - Acorn / RISC OS / ARM, free software, YP17, Championnat International des Jeux Mathématiques et Logiques, etc. Work: CR INRIA - computer arithmetic / SPACES project at LORIA