[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unable to switch to plain text mode
From: |
Thomas Dickey |
Subject: |
Re: unable to switch to plain text mode |
Date: |
Fri, 19 Oct 2001 05:18:11 -0400 |
User-agent: |
Mutt/1.3.21i |
On Thu, Oct 18, 2001 at 10:21:45PM -0400, address@hidden wrote:
> I'm writing a shell that uses curses, but programs like ps that only use
> printf() don't work properly, they display stair-stepping text. I've
> tried using endwin(); refresh(), but that didn't work right, it quit
> completely, then reset the whole window....I tried nl() and nonl(), but
> those didn't work either. How can I do this?
it's complicated to do properly (and hard to make portable). I do something
like that in my directory editory (normally the top half of the file-list
screen is managed by curses, and the bottom half is available for shell
output). See
http://invisible-island.net/ded
ftp://invisible-island.net/ded
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net