Dialog

From Sy

Jump to: navigation, search

Linux software > Dialog

http://invisible-island.net/dialog/

[edit] Variants

  • [1] DSL includes the Whiptail program, which is basically a smaller version of Dialog with fewer features. This provides a way to create a keyboard-driven interface within shell scripts that can be used either in the Linux console or an x terminal. An example of its use in DSL is xsetup.sh
    • I can't find a homepage for it..

[2]

Most of the DSL-specific gui tools were created by Robert using murgaLua. This is essentially a version of Lua which includes FLTK widgets and a few other features. With murgaLua you can create "normal" text-based Lua scripts, as well as X-based FLTK interfaces that are controlled by Lua.

The official murgaLua release includes Fluid, which is a graphical tool used to create FLTK interfaces, and a lua script that converts the C++ output of Fluid into a Lua script that can be interpreted by murgaLua. < http://www.murga-projects.com/murgaLua/index.html >

[edit] GUI Variants


dialog --title "Dialog message box" \
       --msgbox "\n Hello world !" 6 25    


dialog --title "Dialog input box" \
   --inputbox "Text" 8 20\
   2>/tmp/dialog.ans
if [ $? = 1 ]; then
   clear
   exit 0
fi
ANS=`cat /tmp/dialog.ans`

echo "testing:"
echo $ANS

rm -f /tmp/dialog.ans
exit 0

[edit] Resources

Personal tools
Navigation
About This Place
communicate
How did I do this?
[?]
Google ads
[?]