bug-oleo
[Top][All Lists]
Advanced

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

Re: curses winsize bug


From: Danny Backx
Subject: Re: curses winsize bug
Date: Wed, 10 Jan 2001 21:18:32 +0100

Thanks for the pointer. It looks like I needed to leave LINES
and COLS in exactly one place : the call to io_init_windows().

        Danny

Pete Wyckoff wrote:
> 
> I added these lines just above _io_open_display in src/io-curses.h
> 
> /*
>  * defined in window.h to be scr_lines, but actually want curses value
>  * here --pw
>  */
> #undef LINES
> 
> Otherwise I always get 80x24 regardless of the size of my window
> (xterm, that is).  curses maintains "extern int LINES".
> 
> Recommend you remove the #define of LINES in window.h and put scr_lines
> everwhere that needs it directly.
> 
>                 -- Pete

-- 
Danny Backx (address@hidden address@hidden)
Home page :     http://users.skynet.be/danny.backx
Projects:       LessTif (http://www.lesstif.org)
                Oleo    (http://www.gnu.org/software/oleo/oleo.html)



reply via email to

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