VectorLinux
October 23, 2014, 10:46:40 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: ncusres cdk  (Read 512 times)
StrayBit
Vectorite
***
Posts: 373



« on: December 14, 2012, 02:48:22 pm »

I have ncurses on VL6 and DL'd curses cdk which has those wonderful gadgets to select files and (maybe?) select a calendar date, among others.  I have been unsuccessful finding how to use them - what they expect (aside from int, int, char *, Window *, etc.).  The links to the author's website and email no longer work.

Can anyone direct me to a tutorial on these?

Bruce
Logged

Dell GX280: [7.0-Gold-Final], 6.0-Gold-Final, 5.9-Gold
HP 670 Win7 & VL7.0
rbistolfi
Packager
Vectorian
****
Posts: 2288


« Reply #1 on: December 26, 2012, 11:18:32 am »

I looked around for a couple of days but I couldnt find anything useful.
Maybe the source code contains some examples. I will take a look there if I can find the time.

Good luck!

PS: There is a nice alternative for curses programming called "Urwid", which we use here for some stuff. It is written in Python so its not usable from C directly. I dont know your requirements, but writing the user interface in Python and communicating with it from your C backend through a pipe or some other artifact is possible. Let us know how it turns out.
Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!