From owner-freebsd-questions Mon Oct 14 21:54:11 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 8C7A737B404 for ; Mon, 14 Oct 2002 21:54:10 -0700 (PDT) Received: from nic.upatras.gr (nic.upatras.gr [150.140.129.30]) by mx1.FreeBSD.org (Postfix) with SMTP id 925B943EB1 for ; Mon, 14 Oct 2002 21:54:08 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: (qmail 18338 invoked from network); 15 Oct 2002 04:47:07 -0000 Received: from upnet-dialinpool-85.upnet.gr (HELO hades.hell.gr) (@150.140.128.169) by nic.upatras.gr with SMTP; 15 Oct 2002 04:47:07 -0000 Received: by hades.hell.gr (Postfix, from userid 1001) id 96A83B60D; Tue, 15 Oct 2002 07:54:14 +0300 (EEST) Date: Tue, 15 Oct 2002 07:54:14 +0300 From: Giorgos Keramidas To: John Bleichert Cc: Kris Kennaway , freebsd-questions@FreeBSD.ORG Subject: Re: one-line curses-type lib? (somewhat OT) Message-ID: <20021015045413.GC14604@hades.hell.gr> References: <20021015002959.GB57721@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-PGP-Fingerprint: C1EB 0653 DB8B A557 3829 00F9 D60F 941A 3186 03B6 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 2002-10-14 21:10, John Bleichert 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