From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21187 invoked from network); 2 Jul 1997 19:37:19 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 2 Jul 1997 19:37:19 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id PAA13224; Wed, 2 Jul 1997 15:05:28 -0400 (EDT) Resent-Date: Wed, 2 Jul 1997 15:05:28 -0400 (EDT) Date: Wed, 2 Jul 1997 23:09:59 +0400 (MSD) From: Andrej Borsenkow X-Sender: bor@itsrm1 Reply-To: borsenkow.msk@sni.de To: Zsh workers mailing list Subject: Refresh problem (Was: BUG? in histreduceblanks in 3.1.2-beta) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Resent-Message-ID: <"kEvHH2.0.WE3.tPgkp"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/3338 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 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@sni.de -------------------------------------------------------------------------