From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3843 invoked by alias); 18 Sep 2013 20:12: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: 17981 Received: (qmail 2303 invoked from network); 18 Sep 2013 20:12:37 -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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 Received-SPF: neutral (ns1.primenet.com.au: 209.85.215.173 is neither permitted nor denied by SPF record at ntlworld.com) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=Yoe+qUdiHFDCY+yRAPWTUyupyZ9qltLx+re1OcwqwE4=; b=POl5tbc9inQH/gFNy25JbboQWrxJ/3QRFB0ps6m9kMtAE/OfhZWfazxE40h/P6rLWd Eb+9hAMI6n0Rdr0a2fM1+qfI3KX4Kfb7yEVuTPTiRjC9uDmcjDU3ceQrCyUEWc1lya1e mhwGN37pYFkdcEm/LtNSRzP98Wlt6/0x66ER5dwdp2YuiSDwNZxoTxegKiIlDoJGk4nX S1RQKFkemiFJzfKbIQg+dBIxp1TJwyZmYzIK3pL0Zl11/ek2ca82+f/Qa7FLth6HC8KL Z7NheHn7pwDz5C6x7tsanUI9tjJY3TzrOrEeTBPPP7enNUC1XoxBiON2YGhYEz2Ez8hH 1yoA== X-Gm-Message-State: ALoCoQkt7DUF1Tx9VAwaSGkxxfMbCPARzq5Dql+4txDoLfaoYXS/wiwHTVFhb5cRAxkNrkdp1EJw X-Received: by 10.14.246.197 with SMTP id q45mr30279eer.120.1379535150275; Wed, 18 Sep 2013 13:12:30 -0700 (PDT) X-ProxyUser-IP: 86.6.30.159 Date: Wed, 18 Sep 2013 21:12:27 +0100 From: Peter Stephenson To: Zsh Users Subject: Re: Issue with histreduceblanks Message-ID: <20130918211227.51cdbd0f@pws-pc.ntlworld.com> In-Reply-To: <20130918185058.GA19235@Archie> References: <20130918185058.GA19235@Archie> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.7; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 19 Sep 2013 00:20:58 +0530 Raghavendra D Prabhu wrote: > I have been noticing an issue with mangling of history (randomly) from a few > weeks, today I decided to check which option may have been > causing that. It seems to be histreduceblanks >... > I got this thread - http://www.zsh.org/mla/workers/1997/msg00542.html > from search, but it looks like it turned out to be an issue with > terminal capabilities. >... > I use rxvt-unicode normally and noticed the issue on that first. > However, as you can see above, I can reproduce this with xterm as > well. It's probably worth making sure whether this is a shell issue or a terminal issue. Recall the line, then (regardless of it being mangled) go to the start of it and enter "print ", then hit return. If it's a terminal issue the line you see will be correct. It seems a bit unlikely that that's the problem if it's associated with the option, though. Are there any non-ASCII characters on the line that might be confusing the algorithm (the option pre-dates handling of multibyte characters)? -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/