Date: Tue, 15 Oct 2002 07:54:14 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: John Bleichert <syborg@stny.rr.com> Cc: Kris Kennaway <kris@obsecurity.org>, freebsd-questions@FreeBSD.ORG Subject: Re: one-line curses-type lib? (somewhat OT) Message-ID: <20021015045413.GC14604@hades.hell.gr> In-Reply-To: <Pine.LNX.4.44.0210142107590.15791-100000@janeway.vonbek.dhs.org> References: <20021015002959.GB57721@xor.obsecurity.org> <Pine.LNX.4.44.0210142107590.15791-100000@janeway.vonbek.dhs.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-10-14 21:10, John Bleichert <syborg@stny.rr.com> wrote: > On Mon, 14 Oct 2002, Kris Kennaway wrote: > > On Mon, Oct 14, 2002 at 04:42:03PM -0400, John Bleichert wrote: > > > 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, [...] > > > > Well, curses will let you do this too. > > 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. You might also want to check the libedit of readline libraries. -- keramida@FreeBSD.org FreeBSD: The Power to Serve FreeBSD 5.0-CURRENT #12: Thu Oct 10 21:08:38 EEST 2002 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?20021015045413.GC14604>