zsh-workers
 help / color / mirror / code / Atom feed
From: Zoltan Hidvegi <hzoli@cs.elte.hu>
To: A.Main@dcs.warwick.ac.uk (Zefram)
Cc: A.Main@dcs.warwick.ac.uk, zsh-workers@math.gatech.edu
Subject: Re: echotc
Date: Thu, 9 May 1996 02:44:26 +0200 (MET DST)	[thread overview]
Message-ID: <199605090044.CAA29920@bolyai.cs.elte.hu> (raw)
In-Reply-To: <9906.199605090036@stone.dcs.warwick.ac.uk> from Zefram at "May 9, 96 01:36:41 am"

> >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.
> 
> It shouldn't be touching ncurses at all.  There is a termcap library
> that works, and a quick strings of the binary shows that it's linked
> with it.  The man page makes no mention of tgetflag() returning -1,
> however.

But look at the code in builtin.c.  puts("no"); near line 4193 is compiled
iff NCURSES_VERSION is defined.  I did compile zsh on SunOS 4 and echotc
works for me (without ncurses).  If one is not careful enough when
installing ncurses, ncurses installs termcap.h which will be used instead
of the system termcap.h which will cause problems with other applications
as well not only with zsh.  Are you sure that the included termcap.h does
not come from ncurses?

Zoltan



  reply	other threads:[~1996-05-09  0:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-05-08 21:13 echotc Zefram
1996-05-09  0:21 ` echotc Zoltan Hidvegi
1996-05-09  0:36   ` echotc Zefram
1996-05-09  0:44     ` Zoltan Hidvegi [this message]
1996-05-09  0:46       ` echotc Zefram

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199605090044.CAA29920@bolyai.cs.elte.hu \
    --to=hzoli@cs.elte.hu \
    --cc=A.Main@dcs.warwick.ac.uk \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).