-   Programming (
-   -   Drop-in curses to X library (

twilliampowell 08-13-2006 10:07 PM

Drop-in curses to X library
I understand the puzzling futility about which I am asking.

Is there a library, free or commercial, that:
-copies the interface of the curses API
-serves as a drop-in replacement for curses
-produces X widgets--Tk, Gtk, anything...

We are attempting to put a quick-and-dirty pretty face on console applications which have been written in curses, beyond putting them in an xterm with a bigger font.

Thanks for any suggestions.

soggycornflake 08-15-2006 01:16 PM

The standard curses implementation on Linux is ncurses


-produces X widgets--Tk, Gtk, anything...
For Tk widgets, use Tk. For gtk widgets, use gtk. Not sure what you're asking here?

The quickest and easiest way to implement X widgets is (IMO) to use Python's Tk module. (Or Python's gtk module).
Python can interface with C code without too much trouble.

All times are GMT -5. The time now is 01:41 AM.