Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 01-12-2008, 01:21 AM   #1
Registered: Jul 2006
Location: Sault Ste. Marie, Ontario
Distribution: RedHat, CentOS, Fedora Core, Gentoo, Slackware
Posts: 63

Rep: Reputation: 16
Linux Dialog Utility


I'm just wondering if anyone knows of any good tutorials on the linux dialog utility for creating interactive shell menus.

I've been through the man page, and some other documents I found on the Internet, but those documents were demonstrating really basic examples.

I'm looking for a more advanced/complex tutorial, howto with some elaborate examples if possible.

Specifically how others are setting up checklist forms, if it's possible to change the default margins for select options within a normal checklists so they appear as sub options.


Old 01-12-2008, 01:46 AM   #2
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,855

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
Slackware installation disks use dialog extensively. I'd suggest you grab the initrd it uses here:

Then uzip it:
mv initrd.img initrd.gz
gunzip initrd.gz
then unarchive it since it's a cpio archive
cpio -i < initrd

in the fuiles structure you'll find the setup scripts under /usr/lib/setup

It makes extensive use of dialog. You can find them quickest with the commands:
cd usr/lib/setup
grep -nrH dialog
Also, the dialog yources contain many examples. if you have just installed a pre-compiled binary, grab the sources from somewhere and unpack them to see the examples.


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
Linux Utility s0n|k Linux - Newbie 4 02-26-2006 02:08 PM
opening new by clicking pushbutton dialog box in qt for linux nbb Programming 3 08-09-2004 03:58 AM
Is their a Nvidia Card display-settings dialog or utility somewhere (fedora) FocusedWolf Linux - Newbie 4 02-25-2004 12:13 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:27 PM.

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