From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: zsh-workers@sunsite.auc.dk (Zsh hackers list)
Subject: Re: PATCH: termcap/terminfo support in modules
Date: Mon, 4 Dec 2000 17:27:18 +0000 [thread overview]
Message-ID: <1001204172718.ZM19960@candle.brasslantern.com> (raw)
In-Reply-To: <0G5100AE1ZGG5J@la-la.cambridgesiliconradio.com>
On Dec 4, 5:05pm, Peter Stephenson wrote:
} Subject: Re: PATCH: termcap/terminfo support in modules
}
} > We could just make the terminfo module not be built if tiget* are undefined.
It's not that they're not defined, they're just not in a library that
configure is testing for. Or rather, configure is not testing for those
functions in particular, even though it does test for -lcurses.
Other random things I noticed:
Indentation is really messed up in terminfo.c, starting at about line 52.
`man curs_terminfo' on my system says that strings returned by tigetstr()
et al. should always be output using tputs(), but terminfo.c outputs them
with printf().
`man curs_terminfo' also implies that setupterm() must be called before
using any of the other terminfo functions. THere also may be a conflict
on global variables named `lines' and `columns' but maybe that's already
been dealt with as I know zsh does link with curses on some OSs.
} Add a configure test and test it in the `link=...' line in terminfo.mdd.
}
} link='if test "x$ac_cv_have_tiget" = xyes; then echo either; else echo no; fi'
That's pretty spiffy.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
next prev parent reply other threads:[~2000-12-04 17:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-03 20:48 Clint Adams
2000-12-04 16:38 ` Bart Schaefer
2000-12-04 16:46 ` Clint Adams
2000-12-04 17:05 ` Peter Stephenson
2000-12-04 17:27 ` Bart Schaefer [this message]
2000-12-05 0:23 ` Clint Adams
2000-12-05 2:17 ` Vin Shelton
2000-12-05 4:21 ` PATCH: texinfo (Re: PATCH: termcap/terminfo support in modules) Bart Schaefer
2000-12-05 10:04 ` PATCH: termcap/terminfo support in modules Peter Stephenson
2000-12-05 10:42 ` Peter Stephenson
2000-12-05 10:55 ` Peter Stephenson
2000-12-06 1:11 ` Clint Adams
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=1001204172718.ZM19960@candle.brasslantern.com \
--to=schaefer@candle.brasslantern.com \
--cc=zsh-workers@sunsite.auc.dk \
/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).