Dialog (command)

From Christoph's Personal Wiki
Jump to: navigation, search
The correct title of this article is dialog. The initial letter is capitalized due to technical restrictions.

dialog is a command utility to create nice user interfaces from shell scripts, or other scripting languages, such as Perl. It is non-graphical (it uses curses) so it can be run in the console or an xterm. There are also graphical Xwindows versions.

Example

% dialog --backtitle "My Shell Script - v1.0" \
         --title "Press Up/Down Keys to move" \
         --textbox /home/foo 21 70

See also

  • curses / ncurses

External links