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

Refresh problem (Was: BUG? in histreduceblanks in 3.1.2-beta)



On Fri, 13 Jun 1997, Andrej Borsenkow wrote:

I think, Zefram is right - te problem has something to do with "am"
capability. Here is the example of input and what ZSH outputs (catched
with truss):

the input:

bor@itsrm1:~%> aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaa '
quote> bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbbbbbbbbbbbbbbb '

I do return and then recall previous command. ZSH outputs:

write(10, 0x082FA92C, 212)                      = 212
   a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
   a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
   a a a a a a a a a a a a a a a a a a a a a a a a   '1B [ 0 K1B [
   0 m\r\n b b b b b b b b b b b b b b b b b b b b b b b b b b b b
   b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b
   b b b b b b b b b b b b b b b b b b b b\n b b b b b b b b b b b
   b b b b b b b b b b   '1B [ 0 K1B [ 0 m

Note, that the first line is output _without_ \n; but on the second line
ZSH outputs exactly 80 characters and then \n - if terminal really
implements "am", it gives you one more empty line.

The escapes output are (sorry, terminfo): "el" and "rmso"

It seems to be terminal-dependent, wether this effect happens. I tested on
4 terminal(emulations) - two vt-like,one ansi-like and xterm. Two have
this problem, two (including xterm) not.

hope it helps


-------------------------------------------------------------------------
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