From owner-freebsd-questions Mon Oct 14 18:13:49 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F27F37B404 for ; Mon, 14 Oct 2002 18:13:48 -0700 (PDT) Received: from janeway.vonbek.dhs.org (bgm-24-94-58-56.stny.rr.com [24.94.58.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53DBC43EB3 for ; Mon, 14 Oct 2002 18:13:47 -0700 (PDT) (envelope-from syborg@stny.rr.com) Received: by janeway.vonbek.dhs.org (Postfix, from userid 507) id D89944FC9F; Mon, 14 Oct 2002 21:10:37 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by janeway.vonbek.dhs.org (Postfix) with ESMTP id D34144A0D; Mon, 14 Oct 2002 21:10:37 -0400 (EDT) Date: Mon, 14 Oct 2002 21:10:37 -0400 (EDT) From: John Bleichert X-X-Sender: syborg@janeway.vonbek.dhs.org Reply-To: John Bleichert To: Kris Kennaway Cc: freebsd-questions@FreeBSD.ORG Subject: Re: one-line curses-type lib? (somewhat OT) In-Reply-To: <20021015002959.GB57721@xor.obsecurity.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 14 Oct 2002, Kris Kennaway wrote: > Date: Mon, 14 Oct 2002 17:29:59 -0700 > From: Kris Kennaway > To: John Bleichert > Cc: freebsd-questions@FreeBSD.ORG > Subject: Re: one-line curses-type lib? (somewhat OT) > > On Mon, Oct 14, 2002 at 04:42:03PM -0400, John Bleichert wrote: > > Hello All > > > > I've been fiddling with ncurses for a while and it doesn't seem to provide > > what I need right now. I need a method for writing positionally to one > > line, and one line only, sort of like a curses for one terminal line, not > > the whole screen, a la the progress line in cdparanaoia ans rpm. Can > > anybody tell me which lib facilitates this? Is there one? > > Well, curses will let you do this too. > > Kris I have a full-term curses interface, but I couldn't get curses to provide just a one-line terminal interface, leaving the rest uneffected. Proper use of '\r' and fflush did the trick. Thanks - JB # John Bleichert # http://vonbek.dhs.org/latest.jpg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message