[Top][All Lists]

[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 19:20:06 -0400 (EDT)

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

now i try to use konsole instead of xterm and i get same problem :(

Does konsole set LINES/COLUMNS?

Setting LINES/COLUMNS explicitly to override curses's notion of screensize
is long-established.

Setting those by the terminal emulator itself is long-depcrecated.
In xterm it only happens if the configure script is unable to find
a workable (compile-time) definition for TIOCSWINSZ.

------------ Původní zpráva ------------
Od: Thomas Dickey <address@hidden>
Předmět: Re: BUG ncurses with use kdbg
Datum: 30.3.2010 00:55:41
On Mon, 29 Mar 2010, address@hidden wrote:

> Good morning,
> I use ncurses with my aplication. I found bug with i want debug this ncurses
program with kdbg. I use CentOS 5.4 and I try this program with old or new
ncurses. Problem is in function _nc_get_screensize() in file
ncurses/tinfo/lib_setup.c. When I try run program with kdbg, then i make new size of screen(for example 110x36 on picture kdbg-xterm-settings.jpg), there xterm has new size, but program stil use standart size 80x24 as you can view on
picture kdbg-ncurses-BAD.jpg.
> Problem is where xterm put to enviroment COLUMNS and LINES bad value.

xterm will do that on Linux only if it's misconfigured (incorrectly

Thomas E. Dickey

Bug-ncurses mailing list

Thomas E. Dickey

reply via email to

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