Bug#433357: some clues perhaps

2007-07-16 Thread Thomas Dickey
On Mon, Jul 16, 2007 at 06:39:49PM +0200, Christian Ohm wrote:
> 
> I've also encountered this problem (not even having usplash installed
> anymore, just a leftover /etc/lsb-base-logging.sh - that's what you get
> for not purging packages...). In lsb-base-logging.sh, there are some
> tests for terminal width via "tput cols". For some reason, the result of
> that is "-1", from which stuff gets substracted. This is then given to
> "tput hpa" (like "tput hpa -9") as an argument, which in result
> complains about an invalid option.

See

ftp://invisible-island.net/ncurses/5.6/ncurses-5.6-20070716.patch.gz

In restructuring things to make it simpler to support reentrant code,
I got to one of those cases where it was awkward and did not appear
needed.  Since it is needed, I repaired it...

-- 
Thomas E. Dickey <[EMAIL PROTECTED]>
http://invisible-island.net
ftp://invisible-island.net


signature.asc
Description: Digital signature


Bug#433357: some clues perhaps

2007-07-16 Thread Thomas Dickey

On Mon, 16 Jul 2007, Christian Ohm wrote:



I've also encountered this problem (not even having usplash installed
anymore, just a leftover /etc/lsb-base-logging.sh - that's what you get
for not purging packages...). In lsb-base-logging.sh, there are some
tests for terminal width via "tput cols". For some reason, the result of
that is "-1", from which stuff gets substracted. This is then given to
"tput hpa" (like "tput hpa -9") as an argument, which in result
complains about an invalid option.


That could be a "-1" for a couple of reasons - I'll check to see if I 
introduced an initialization bug in the restructuring changes to the

ncurses library (the most likely problem that comes to mind).


I got rid of the problem purging usplash, but it's quite annoying. I
don't really know where the problem is (perhaps the terminfo data got
some faulty update), but one problem is definitely that usplash doesn't
handle the unexpected "tput cols" output well.

Hope that helps,


it sounds useful (thanks)

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#433357: some clues perhaps

2007-07-16 Thread Christian Ohm

I've also encountered this problem (not even having usplash installed
anymore, just a leftover /etc/lsb-base-logging.sh - that's what you get
for not purging packages...). In lsb-base-logging.sh, there are some
tests for terminal width via "tput cols". For some reason, the result of
that is "-1", from which stuff gets substracted. This is then given to
"tput hpa" (like "tput hpa -9") as an argument, which in result
complains about an invalid option.

I got rid of the problem purging usplash, but it's quite annoying. I
don't really know where the problem is (perhaps the terminfo data got
some faulty update), but one problem is definitely that usplash doesn't
handle the unexpected "tput cols" output well.

Hope that helps,
Christian Ohm

-- 
I always turn to the sports pages first, which record people's accomplishments.
The front page has nothing but man's failures.
-- Chief Justice Earl Warren


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]