Re: one-line curses-type lib? (somewhat OT)

2002-10-14 Thread John Bleichert

On Mon, 14 Oct 2002, Kris Kennaway wrote:

 Date: Mon, 14 Oct 2002 17:29:59 -0700
 From: Kris Kennaway [EMAIL PROTECTED]
 To: John Bleichert [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 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 [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: one-line curses-type lib? (somewhat OT)

2002-10-14 Thread Giorgos Keramidas

On 2002-10-14 21:10, John Bleichert [EMAIL PROTECTED] 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.

-- 
[EMAIL PROTECTED]   FreeBSD: The Power to Serve
FreeBSD 5.0-CURRENT #12: Thu Oct 10 21:08:38 EEST 2002

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message