LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 08-13-2006, 09:07 PM   #1
twilliampowell
LQ Newbie
 
Registered: Jan 2006
Posts: 1

Rep: Reputation: 0
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.
 
Old 08-15-2006, 12:16 PM   #2
soggycornflake
Member
 
Registered: May 2006
Location: England
Distribution: Slackware 10.2, Slamd64
Posts: 249

Rep: Reputation: 31
The standard curses implementation on Linux is ncurses

Quote:
-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.
 
  


Reply

Tags
linux


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing Library-Curses Absent darthbob88 Ubuntu 2 04-15-2006 07:32 PM
Drop connections to port 80 at firewall machine also drop at protected network? Niceman2005 Linux - Security 2 10-27-2005 08:21 AM
iptables - drop all -> allow needed OR allow all -> drop specific lucastic Linux - Security 5 12-21-2004 02:07 AM
Curses library trouble! (\r\n) Skute Programming 6 10-24-2003 10:31 AM
Curses nitinkatageri Linux - General 2 08-18-2003 04:58 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration