Date: Mon, 14 Oct 2002 21:10:37 -0400 (EDT) From: John Bleichert <syborg@stny.rr.com> To: Kris Kennaway <kris@obsecurity.org> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: one-line curses-type lib? (somewhat OT) Message-ID: <Pine.LNX.4.44.0210142107590.15791-100000@janeway.vonbek.dhs.org> In-Reply-To: <20021015002959.GB57721@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 14 Oct 2002, Kris Kennaway wrote: > Date: Mon, 14 Oct 2002 17:29:59 -0700 > From: Kris Kennaway <kris@obsecurity.org> > To: John Bleichert <syborg@stny.rr.com> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0210142107590.15791-100000>