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) with ESMTP id KAA17179 for ; Thu, 9 May 1996 10:29:08 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id UAA21236; Wed, 8 May 1996 20:21:47 -0400 (EDT) Resent-Date: Wed, 8 May 1996 20:21:47 -0400 (EDT) From: Zoltan Hidvegi Message-Id: <199605090021.CAA29799@bolyai.cs.elte.hu> Subject: Re: echotc To: A.Main@dcs.warwick.ac.uk (Zefram) Date: Thu, 9 May 1996 02:21:57 +0200 (MET DST) Cc: zsh-workers@math.gatech.edu In-Reply-To: <28623.199605082113@stone.dcs.warwick.ac.uk> from Zefram at "May 8, 96 10:13:30 pm" Organization: Dept. of Comp. Sci., Eotvos University, Budapest, Hungary Phone: (36 1)2669833 ext: 2667, home phone: (36 1) 2752368 X-Mailer: ELM [version 2.4ME+ PL16 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"cIfj42.0.kB5.RgJan"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1025 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu > In 2.6-beta17, echotc doesn't work properly on string properties. It > outputs "no", as if the property didn't exist. Numeric and boolean > properties work correctly, and the strings are used correctly in prompt > sequences such as %s. beta16 works correctly. This is on SunOS 4. This can only happen if NCURSES_VERSION but you do not link zsh with ncurses or if your ncurses behaves differently than mine. I use 1.9.8a and it the tgetflags function there returns 1 if a boolean capability is on, 0 if it is off and -1 if there is no boolean capability with that name. We can add checks for older ncurses'es if necessary. Zoltan