LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 01-12-2008, 01:21 AM   #1
stlouis
Member
 
Registered: Jul 2006
Location: Sault Ste. Marie, Ontario
Distribution: RedHat, CentOS, Fedora Core, Gentoo, Slackware
Posts: 63

Rep: Reputation: 15
Linux Dialog Utility


Hi,

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.


Thanks,


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

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

ftp://ftp.slackware.at/slackware-cur...nux/initrd.img

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.
 
  


Reply


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


All times are GMT -5. The time now is 01:14 PM.

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