Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: BUG? in histreduceblanks in 3.1.2-beta



It is even worse - it happens also in vanilla zsh -f (and probably has
nothing to do with histreduceblanks - or these are two different
problems).

So, here follows:

bor@itsrm1:~/tmp%> zsh -f

Contents of history (three events):
                    [1] =>
bor@itsrm1:~/tmp%> gzcat /muenchen/packages/tcl/tcl7.6p2.patch.gz | sed -e 'y/a/
a/' | pg
                    [2] =>
bor@itsrm1:~/tmp%> gzcat /muenchen/packages/tcl/tcl7.6p2.patch.gz | sed -e 'y/a/
a/' -e 'y/b/b/'
                    [3] =>
bor@itsrm1:~/tmp%> gzcat /muenchen/packages/tcl/tcl7.6p2.patch.gz | sed -e 'y/a/
a/' -e 'y/b/b/' -e 'y/c/c/'

Now I press ^R (inclremental-search backward) and 'gzca':

bor@itsrm1:~/tmp%> gzcat /muenchen/packages/tcl/tcl7.6p2.patch.gz | sed -e 'y/a/
a/' -e 'y/b/b/' -e 'y/c/c/'
                   ^ <= cursor is here on the above line; this line is blank
bck-i-search: gzca_

Now I press ^R once more (while in incremental search) - so far nothing
happens; I press onse more:

bor@itsrm1:~/tmp%> gzcat /muenchen/packages/tcl/tcl7.6p2.patch.gz | sed -e 'y/a/
a/' -e 'y/b/b/' -e 'y/c/c/'
    | pg
bck-i-search: gzca_

Cursor is still on the second line. 

I am pretty shure, it didn't happen before 3.1.2 - I use search every now
and then. 

Thanks in advance

-------------------------------------------------------------------------
Andrej Borsenkow 		Fax:   +7 (095) 252 01 05
SNI ITS Moscow			Tel:   +7 (095) 252 13 88

NERV:  borsenkow.msk		E-Mail: borsenkow.msk@xxxxxx
-------------------------------------------------------------------------




Messages sorted by: Reverse Date, Date, Thread, Author