Sponsored Content
Top Forums UNIX for Dummies Questions & Answers HoHow to compile Linux dialog - "curses.h" missing ? Post 302275427 by darius2 on Saturday 10th of January 2009 12:23:41 PM
Old 01-10-2009
How to compile Linux dialog (curses.h - missing) ?

Hi,

looking for expert's opinion on how to compile Linux dialog for my embedded device (native compilation), as tried and get curses.h messing message.
ncurses-devel package has not been compiled either to provide me with
curses.h .

Dialog is already compiled for Debian as .deb package, I installed and worked smoothly.

curses.h header manual
<curses.h>

Google query for curses.h
curses.h - Google Search

Tried to compile the following ncurses.c code and curses.h header is missing.
Curses Example - ncurses Tutorial

Any idea, solution HowTo compile Linux dialog ?

Happy New Year

Darius
 

2 More Discussions You Might Find Interesting

1. Programming

do you believe X-application will "kill" the CDE and come back to login dialog

1 . Thanks you for reading the letter 2 . I have programe a X-application .Sometimes, I run it from terminal of CDE ,it "kill" the CDE and I meet the login dialog . I debug it . I find that the SIGHUP caused the X-app died .I do not run it from terminal of CDE ,I run it "click button" from panel ,... (3 Replies)
Discussion started by: chenhao_no1
3 Replies

2. Programming

compile fails in linux ... "No rule to make target" ... HELP

hello all, attached you can find a tool (written in C) that i really need to make it compile under linux i am able to compile and run it successfully in mac os x, but in linux the compilation fails the only thing that i did so far is to change the following #include <sys/malloc.h> to... (13 Replies)
Discussion started by: OneDreamCloser
13 Replies
getstring(n)					     A dialog which prompts for a string input					      getstring(n)

__________________________________________________________________________________________________________________________________________________

NAME
getstring - A string dialog SYNOPSIS
package require Tcl 8.4 package require getstring ?0.1? ::getstring::tk_getString pathName variable text ?options? _________________________________________________________________ DESCRIPTION
This package provides a dialog which consists of an Entry, OK, and Cancel buttons. ::getstring::tk_getString pathName variable text ?options? Creates a dialog which prompts the user with text to input a text string. The contents of the entry are put in the variable upon closure of the dialog. The command returns a boolean indicating if the user pressed OK or not. If -geometry is not specified, the dialog is centered in its parent toplevel unless its parent is . in which case the dialog is centered in the screen. Options: -title -allowempty a boolean argument indicating if the dialog should accept an empty entry -entryoptions simply passes its argu- ments through to the entry widget. This is valuble for performing extra validation using the Entry widget validation hooks. -geome- try specifies the geometry of the window EXAMPLE
package require getstring namespace import getstring::* if {[tk_getString .gs text "Feed me a string please:"]} { puts "user entered: $text" } KEYWORDS
dialog, entry, string getstring 0.1 getstring(n)
All times are GMT -4. The time now is 03:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy