bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BUG ncurses with use kdbg


From: Thomas Dickey
Subject: Re: BUG ncurses with use kdbg
Date: Mon, 29 Mar 2010 20:13:55 -0400 (EDT)

On Tue, 30 Mar 2010, address@hidden wrote:

Perhaps kdbg is setting LINES/COLUMNS

I see that it is setting xterm's -geometry option.
Do the values for that correspond to the LINES/COLUMNS values?

This is problem, xterm has properly size as you can see on picture kdbg-ncurses-BAD.jpg in my first post. But ncurses get this COLS=80 & LINES=24. When i try debug, this values is receiving via _nc_getenv_num() for LINES and COLUMNS. There is problem. In getting this enviroment values. If I read values from ioctl there is every OK.

Then you're working around a bug in kdbg.  You could add these calls to
unset the values:

        unsetenv("LINES");
        unsetenv("COLUMNS");

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]