Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2001 17:59:59 -0700
From:      Mark Peek <mark@whistle.com>
To:        Hans Zaunere <zaunere@yahoo.com>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: ncurses
Message-ID:  <p05100316b7a0cb4067c6@[207.76.207.129]>
In-Reply-To: <20010816004554.96396.qmail@web12807.mail.yahoo.com>
References:  <20010816004554.96396.qmail@web12807.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 5:45 PM -0700 8/15/01, Hans Zaunere wrote:
>Once a program does initscr(), is it possible to
>printf()?  I can printf() stuff without a problem, but
>it doesn't get to the screen until the program exits?

It is best not to mix printf and curses.

>I've done every ncurses function I can think of,
>endwin(), etc.  However if there is a printf()
>anywhere after ncurses stuff has happened, nothing is
>printed to the screen until the program exits.  What
>am I missing?  Is there a trick to this, as it must be
>possible, right?

Try printw instead or check out the printw man page for the other 
variations. Also, in order to see results on the screen, refresh() is 
good function to call.

Mark

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05100316b7a0cb4067c6>