[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tput broken at ncurses-5.6-20070714.patch
From: |
Thomas Dickey |
Subject: |
Re: tput broken at ncurses-5.6-20070714.patch |
Date: |
Mon, 10 Sep 2007 17:47:46 -0400 (EDT) |
On Mon, 10 Sep 2007, Christian Ebert wrote:
Hello,
First post here. And thanks for keeping the curse alive!
Recently I finally compiled ncurses to get a more recent version
on MacOS 10.4.10.
So far everything looks fine, the only thing that made me sweat
was that I first tried the most recent patch script, and with
ncurses-5.6-20070714-patch.sh tput lines or tput cols only
returned the entries from terminfo, not the actual terminal size.
That could be
20070716
+ restore a call to obtain screen-size in _nc_setupterm(), which
is used in tput and other non-screen applications via setupterm()
(Debian #433357, reported by Florent Bayle, Christian Ohm,
cf: 20070310).
(the breakage was because I've been moving internal data around, to
work on a more-thread-safe configuration...)
After repatching with ncurses-5.6-20070303-patch.sh the behaviour
reverted to normal. So perhaps somewhere in between tput was
broken.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net