[Bug 1334858] Re: histreduceblanks can corrupt history

andrew bezella abezella at archive.org
Wed Dec 10 22:51:38 UTC 2014


fwiw zsh 5.0.5-4ubuntu1~ubuntu14.04.1 from backports does not have this
bug.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to zsh in Ubuntu.
https://bugs.launchpad.net/bugs/1334858

Title:
  histreduceblanks can corrupt history

Status in zsh package in Ubuntu:
  Confirmed

Bug description:
  since upgrading to trusty, I have occasionally found strangely garbled
  commands in my zsh command history. I believe I've narrowed it down to
  the 'histreduceblanks' option. I'm not sure exactly what the trigger
  is, but the following has been a reliable repro for me (cut and paste
  is not strictly required, but it's where I get leading spaces from
  most often.

  
  Start a new zsh -f
  use a web browser to navigate to http://launchpad.net
  select/copy the sentence "Learn more about Launchpad in the user guide or try it for yourself in our sandbox environment." by triple clicking.

  in the zsh window, 
  set the histreduceblanks option
  start an echo command with a trailing space, paste the text, and press return
  hit the up arrow to view the previous command in history. note it's garbled.
  press return, note that the actual output is wrong, not just the displayed command

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: zsh 5.0.2-3ubuntu6
  ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2
  Uname: Linux 3.13.0-29-generic x86_64
  NonfreeKernelModules: openafs
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Thu Jun 26 17:11:39 2014
  SourcePackage: zsh
  UpgradeStatus: Upgraded to trusty on 2014-06-16 (10 days ago)
  mtime.conffile..etc.zsh.zshrc: 2013-08-02T12:59:03

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zsh/+bug/1334858/+subscriptions



More information about the foundations-bugs mailing list