[Top][All Lists]

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

Re: BUG ncurses with use kdbg

From: igor . bujna
Subject: Re: BUG ncurses with use kdbg
Date: Tue, 30 Mar 2010 02:53:48 +0200 (CEST)

------------ Původní zpráva ------------
Od: Thomas Dickey <address@hidden>
Předmět: Re: BUG ncurses with use kdbg
Datum: 30.3.2010 02:14:04
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:


In kdbg proces xterm is opening in fifo and i try too put yours lines and 
nothing changed.
Now i found, and problem is in xterm.
1) start xterm with this "xterm -geometry 130x30" in this opened xterm  i put "echo 
$LINES - $COLUMNS" and show properly values
2) now i start xterm with program "xterm -geometry 130x30 -e sh -c 'echo $LINES - $COLUMNS;sleep 
20'" and a i didn't get any values. Parameter LINES & COLUMNS now not setting. Same problem is 
in konsole with this "konsole -e sh -c 'echo $LINES - $COLUMNS;sleep 20'"

Thomas E. Dickey

reply via email to

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