For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > June 2006 > Library to replace curses with X screen drawing









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Library to replace curses with X screen drawing
TWibbllibbabbmPobbwebbll at gmail.com (remove b's)

2006-06-27, 7:02 pm

I'm looking at a large application suite implemented using curses.
I've been asked to try locating a library that can be dropped in in
place of curses to draw to X, say, to replace the curses library with
calls in gtk, etc... ...something that would be the opposite of
"cursed gtk." This is a "temporary" solution used for show and tell,
with a prototype also being written (by someone else).

Any ideas? I've been through a few hundred search results, and I'm
convinced that such a library doesn't exist (probably with good
reason.)

Thanks for your time.

Pascal Bourguignon

2006-06-27, 7:02 pm

"TWibbllibbabbmPobbwebbll at gmail.com (remove b's)" <TWilliamPowell@gmail.com> writes:

> I'm looking at a large application suite implemented using curses.
> I've been asked to try locating a library that can be dropped in in
> place of curses to draw to X, say, to replace the curses library with
> calls in gtk, etc... ...something that would be the opposite of
> "cursed gtk." This is a "temporary" solution used for show and tell,
> with a prototype also being written (by someone else).
>
> Any ideas? I've been through a few hundred search results, and I'm
> convinced that such a library doesn't exist (probably with good
> reason.)


There's a standard library, available in all X server, nicely
packaged, under the name xterm(1).

Note that in X, you can embed any X window into another X window, even
if it's not the same process. (See XReparentWindow(3)).


--
__Pascal_Bourguignon__ _ Software patents are endangering
() ASCII ribbon against html email (o_ the computer industry all around
/\ 1962:DO20I=1.100 //\ the world http://lpf.ai.mit.edu/
2001:my($f)=`fortune`; V_/ http://petition.eurolinux.org/
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com