From owner-freebsd-hackers Wed Aug 15 18: 0: 9 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from alpo.whistle.com (s206m1.whistle.com [207.76.206.1]) by hub.freebsd.org (Postfix) with ESMTP id 8C76337B403 for ; Wed, 15 Aug 2001 18:00:05 -0700 (PDT) (envelope-from mark@whistle.com) Received: from [207.76.207.129] (PBG4.whistle.com [207.76.207.129]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id RAA62838; Wed, 15 Aug 2001 17:59:22 -0700 (PDT) Mime-Version: 1.0 X-Sender: mark-ml@207.76.206.1 Message-Id: In-Reply-To: <20010816004554.96396.qmail@web12807.mail.yahoo.com> References: <20010816004554.96396.qmail@web12807.mail.yahoo.com> Date: Wed, 15 Aug 2001 17:59:59 -0700 To: Hans Zaunere , freebsd-hackers@FreeBSD.ORG From: Mark Peek Subject: Re: ncurses Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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