Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Trying to native compile Linux Dialog Post 302301984 by jack2 on Sunday 29th of March 2009 04:42:40 PM
Old 03-29-2009
Quote:
Originally Posted by mgessner
It looks like it's not in your shell's search path.

Go to the directory where the dialog binary is and do

./dialog

To make sure the file is there, do

ls ./dialog

HTH
I have added path, exported path and it worked as in your example only.
My friend helped me a lot and now I can run
dialog from a command line from any directory.

It works really excellent as I try some examples from the next
and changing directory each time was a nightmare.

thanks

Jack

[admin@oo bin]$ dialog
cdialog (ComeOn Dialog!) version 1.1-20080819

[admin@oo /]$ dialog
cdialog (ComeOn Dialog!) version 1.1-20080819

[admin@oo /tmp]$ dialog
cdialog (ComeOn Dialog!) version 1.1-20080819
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

format to linux native?

hi again all, i am still trying to get my old win95 pc to become a unix/linux pc, running with redhat. i managed to install it on my old win32/fat partition (which is the whole hdd), but when i did this it said it may result in lower operating speed, but i couldn't manage to create a linux native... (2 Replies)
Discussion started by: gan
2 Replies

2. Programming

compile C under linux?

hi everyone, i am a beginner of C and doing a subject which involved c programming under unix. i tried compile the c program under linux. but i can only get the a.out file in /usr/bin, not in the current dir. can anyone know how to change the sys. configration. Please help. thanks (2 Replies)
Discussion started by: ctchung
2 Replies

3. UNIX for Dummies Questions & Answers

Compile C++ under linux, need help

I am a Linux noob, and have been trying to compile some source in Linux and I am lost. I am a game modder and I have some open source code which I have compiled in windows a million times but now I need to compile in Linux. If this thread fails to help me, I will credit anyone who can... (4 Replies)
Discussion started by: fire_noob
4 Replies

4. UNIX for Dummies Questions & Answers

HoHow to compile Linux dialog - "curses.h" missing ?

Hi, I tried native compile Linux dialog for Linux embedded device and got "curses.h" error message. As Linux dialog is already compiled and working as Debian .deb package (installed it). What is a way to import curses.h from other package sources to work for dialog sources compilation in my... (2 Replies)
Discussion started by: darius2
2 Replies

5. Debian

Trying to native compile Debian Dialog

Hi, tried to native compile Debian Dialog as ncurses-dev is available. I am trying native compile Debian Dialog using gcc on Linux embedded router. What's wrong, as running than make I get errors. Mayby this line in the log file is an exaplanation to a problem ? " checking if we have... (1 Reply)
Discussion started by: jack2
1 Replies

6. Shell Programming and Scripting

Unix / Linux Dialog Utility - how to open 2+ more dialog windows ?

Hi, example of Unix / Linux dialog utility is below. I am going to use dialog as simple GUI for testing of a modem. So I need to combine some dialog boxes into one. I need to have input box, output box, info box, dialog box, radiobox as in any standard program with graphical user... (2 Replies)
Discussion started by: jack2
2 Replies

7. Linux

GUI for a Linux router - WWW or ncurses Dialog ?

Hi, Linux router is my only "full" Linux application. I native compiled and installed Linux Unix dialog utility. Dialog comes with a limited set of objects, called widgets. Some work fine, some need improvements. But what I really need is graphical interface to shell scripts run on my... (0 Replies)
Discussion started by: jack2
0 Replies

8. UNIX for Beginners Questions & Answers

Keep Linux in english while windows in native language

hi, I want that a language change in windows won't effect Linux language (which should be always English). I had that feature but A Windows update changed it. How can I fix it? (7 Replies)
Discussion started by: daivon
7 Replies

9. UNIX for Beginners Questions & Answers

Wanna learn native GUI programming in UNIX - Linux ?

Hi , wanna learn native GUI programming in Unix-Linux instead of Gtk and Qt. No problem. You don't need a cross platform Gui toolkit like Gtk and Qt. And the code and syntax is also not more or less than others. Check out this code for a simple mainwindow for your application that is openend in... (0 Replies)
Discussion started by: Sennenmut
0 Replies
Dialog(3)						User Contributed Perl Documentation						 Dialog(3)

NAME
Tk::Dialog - Create modal dialog and wait for a response. SYNOPSIS
$dialog = $parent->Dialog(-option => value, ... ); DESCRIPTION
This procedure is part of the Tk script library - its arguments describe a dialog box. After creating a dialog box, Dialog waits for the user to select one of the Buttons either by clicking on the Button with the mouse or by typing return to invoke the default Button (if any). Then it returns the text string of the selected Button. While waiting for the user to respond, Dialog sets a local grab. This prevents the user from interacting with the application in any way except to invoke the dialog box. See the Show() method. OPTIONS
The following option/value pairs are supported: -title Text to appear in the window manager's title bar for the dialog. -text Message to appear in the top portion of the Dialog. -bitmap If non-empty, specifies a bitmap to display in the top portion of the Dialog, to the left of the text. If this is an empty string then no bitmap is displayed in the Dialog. -default_button Text label string of the Button that displays the default ring. -buttons A reference to a list of Button label strings. Each string specifies text to display in a Button, in order from left to right. METHODS
$answer = $dialog->Show(?-global?); This method displays the Dialog, waits for the user's response, and stores the text string of the selected Button in $answer. If -global is specified a global (rather than local) grab is performed. The actual Dialog is shown using the Popup method. Any other options supplied to Show are passed to Popup, and can be used to position the Dialog on the screen. Please read Tk::Popup for details. ADVERTISED WIDGETS
Because Tk::Dialog is a subclass of Tk::DialogBox it inherits all the advertised subwidgets of its superclass: e.g. "B_button-text", where 'button-text' is a Button's -text value. Additionally, Tk::Dialog advertises: message The dialog's Label widget containing the message text. bitmap The dialog's Label widget containing the bitmap image. EXAMPLE
$dialog = $mw->Dialog(-text => 'Save File?', -bitmap => 'question', -title => 'Save File Dialog', -default_button => 'Yes', -buttons => [qw/Yes No Cancel/); KEYWORDS
bitmap, dialog, modal, messageBox perl v5.16.3 2014-06-10 Dialog(3)
All times are GMT -4. The time now is 01:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy