From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8561 invoked from network); 6 Mar 1997 04:14:34 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by coral.primenet.com.au with SMTP; 6 Mar 1997 04:14:34 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id WAA10023; Wed, 5 Mar 1997 22:53:42 -0500 (EST) Resent-Date: Wed, 5 Mar 1997 22:53:42 -0500 (EST) From: gwing@primenet.com.au Message-ID: <19970306035603.7956.qmail@primenet.com.au> Subject: Re: zle_refresh patch 2 In-Reply-To: <970305165110.ZM7569@candle.brasslantern.com> from Bart Schaefer at "Mar 5, 97 04:51:10 pm" To: zsh-workers@math.gatech.edu (zsh-workers) Date: Thu, 6 Mar 1997 14:56:03 +1100 (EST) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: application/pgp; format=text; x-action=sign Content-Transfer-Encoding: 7bit Resent-Message-ID: <"E9mEp1.0.YS2.5_Z7p"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/2960 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu -----BEGIN PGP SIGNED MESSAGE----- Heyla, sorry, I haven't had much time up until now. I'm going to have to look at the way 3.1.* handles the Zle module before I can send a patch for all the problems - previously I've been sending patches to 3.0.* The reason that the zle went into singlelinemode style when the terminal went down to 1 or 2 lines is because it was simpler. I seem to remember, it avoided *lots* of conditionals all the way through the code. I can change this and I would also probably have to change quite a bit of the prompt code to count number of lines, etc. There are a couple of choices here; when a terminal decreases number of lines to 1 or 2: 1) it goes into singlelinemode style (without setting SINGLE_LINE_ZLE) until the terminal increases its lines above 2. 2) it acts as it did previously - however the mini-buffer won't be available. Also, only the last line of the prompt would be printed. To print the last two lines would require another variable for the prompt - is it worth it? The first was the current choice - my opinion on this was people shrinking their terminal down that much don't seriously use it like this. Anyone seriously use a (x-)terminal at 1 or 2 lines? There are also a couple of bugs which won't show up until the terminal goes down to < 5 or so columns. I think I kept getting destroyed memory structs so I didn't work out what buffers were being overflowed. I'll go over this (with a fine toothed comb) in a couple of days. - -- Geoff Wing [mason@primenet.com.au] Technical Manager Phone : +61-3-9818 2977 PrimeNet - Internet Consultancy Facsimile: +61-3-9819 3788 Web : Mobile : 0412 162 441 -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: noconv iQCVAwUBMx5ATekZdFsUTaLFAQGuxQP+JNmdNMxQ6bUctKzC5KaAuiSdIKc+LEVX jz0L+apxIZP6uU/pqHy/FcxSzsHb6uVDTceWLkAepoVKBGJSiE52uGVKUIRRwpcr jvkzyNrVsnZ19JWigf3j/OG+dchbglOeD+Ac3/QqXEeAefyoiJyL0QDIybukgAWL IfX3/okm5Xk= =ioy1 -----END PGP SIGNATURE-----