From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by melb.werple.net.au (8.7.5/8.7.3/2) with ESMTP id VAA13824 for ; Fri, 12 Jul 1996 21:59:40 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id HAA08435; Fri, 12 Jul 1996 07:41:14 -0400 (EDT) Resent-Date: Fri, 12 Jul 1996 07:41:14 -0400 (EDT) From: Geoff Wing Message-Id: <199607121140.LAA13529@werple.net.au> Subject: Re: Zle display bug with LONG expansions To: zsh-workers@math.gatech.edu (zsh-list) Date: Fri, 12 Jul 1996 21:40:17 +1000 (EST) X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"hb77T1.0.g32.PdZvn"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1618 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu :On Jul 11, 8:32pm, Zoltan Hidvegi wrote: :} Subject: Re: Zle display bug with LONG expansions :} > In an 80x32 (or smaller?) xterm, do the following: :} > zagzig[38] echo **/* :} zle doen not handle the case when a line does not fit onto the screen. It used to work though there were one or two bugs. I'll be fixing it. :Well, I know it doesn't handle it the way it does when a line does fit, :but it's obviously trying to do *something*. :} Geoff told me that for some reason zsh have to know in advance wether the :} current terminal automatically wraps the line. He is probably right since :} some terminals start a new line when a character is printed in the last :} column while most terminals start a new line only is a character is printed :} after the last column. I used to have it so automargin didn't matter but it didn't work on about one out of hundreds of terminal types (some type of xterm, SGI I think(?)). And it simplified the code by an enormous amount. However, you can now use COLUMNS to fake/force column width (what a bonus :-) -- Mason [G.C.W] mason@werple.mira.net.au "Hurt...Agony...Pain...LOVE-IT"