From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18191 invoked from network); 6 Feb 2008 02:37:38 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 6 Feb 2008 02:37:38 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 59421 invoked from network); 6 Feb 2008 02:37:35 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 6 Feb 2008 02:37:35 -0000 Received: (qmail 3599 invoked by alias); 6 Feb 2008 02:37:31 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24538 Received: (qmail 3582 invoked from network); 6 Feb 2008 02:37:31 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 6 Feb 2008 02:37:31 -0000 Received: from uludag.org.tr (ns2.uludag.org.tr [193.140.100.220]) by bifrost.dotsrc.org (Postfix) with ESMTP id BF23E80482A1 for ; Wed, 6 Feb 2008 03:37:25 +0100 (CET) Received: from ninjamobile.local (unknown [85.102.222.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by uludag.org.tr (Postfix) with ESMTP id B480E6214B45; Wed, 6 Feb 2008 04:37:23 +0200 (EET) From: Ismail =?iso-8859-1?q?D=F6nmez?= Organization: Pardus / KDE To: Bart Schaefer Subject: Re: Interesting display corruption problem Date: Wed, 6 Feb 2008 04:37:39 +0200 User-Agent: KMail/1.9.8 References: <200802060303.18308.ismail@pardus.org.tr> <080205182617.ZM19691@torch.brasslantern.com> In-Reply-To: <080205182617.ZM19691@torch.brasslantern.com> Cc: zsh-workers@sunsite.dk MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802060437.39352.ismail@pardus.org.tr> X-Virus-Scanned: ClamAV 0.91.2/5703/Wed Feb 6 02:39:45 2008 on bifrost X-Virus-Status: Clean At Wednesday 06 February 2008 around 04:26:17 Bart Schaefer wrote: > On Feb 6, 3:03am, Ismail wrote: > } > } I am getting a weird display corruption problem, it looks like this : > } > } [/packages/python2.5]> cd .. > } c% > } > } Notice the c and % sign. > > Why do you think this is "corruption"? > > The mostly likely explanation is the PROMPT_SP option. Doc excerpt: > > When a partial line is preserved, you will see an inverse+bold > character at the end of the partial line: a "%" for a normal user > or a "#" for root. Because I have never seen this with bash, so I thought it might be a bug instead. Thanks for your explanation. I see the behavior easier now : [~]> echo -n foo foo% [~]> Is there a way to omit this % ? Because if I do setopt NOPROMPT_SP it got worse : [~]> echo -n foo [~]> Nothing is printed. Regards, ismail -- Never learn by your mistakes, if you do you may never dare to try again.