err the better way to get it is:

#include <ncurses.h>

    setupterm((char *)0, 1, (int *)0);
    x=tgetnum("co");
    y=tgetnum("li");
    /* printf("%dx%d\n\r",x,y); */

yours,
guerkan



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

Reply via email to