Joseph,
I've never used it myself, but you might try a project called PDCurses
( http://sourceforge.net/project/showfiles.php?group_id=30480 )
It compiles for Win32, DOS and OS/2 as well as most *N?xs. The source
tarball is ~350K. You can of course trim this back as well to include
only those functions you want. It is generally unneccesary tio compile
an entire library if you use only a small part. You could probably do
that with NCurses as well.
-mike
On Sat, 2005-12-31 at 23:36 -0800, T. Joseph CARTER wrote:
> I have been somewhat unsuccessful with googlebait trying to find the
> answer to this, so I figured I would just post the question and wait for
> someone who would know (ie, Mike Cherba probably) to answer. =)
>
> I'm looking for something smaller and more sane than ncurses. I use such
> a small part of ncurses that the full curses library is just plain
> ridiculous for something that will go into a fixed RAM environment.
>
> So far my screen usage consists of:
>
> - a varargs printf
> - setting the color of things about to be printf'd (VGA colors)
> - clear to end of line/screen with current color/background
> - move to screen location
> - how big is my screen?
> - has the size of my screen changed?
> - read a key
> - is there a key to read?
> - the fact that the screen is buffered
>
> I don't use any of the windowing and very few of the macro functions. In
> fact, as it is, for the sake of being able to implement this on non-UNIX
> systems (read: windows) at some point, what I actually do use is wrapped
> by my own rather generic API.
>
> Any thoughts? =)
>
--
Mike Cherba
Cavium Networks
883 Brookside Dr
Eugene, OR 97405
phone: (541) 684-3820
Cell: (541) 914-2188
[EMAIL PROTECTED]
www.caviumnetworks.com
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug