Dialog is an application used in shell scripts that displays text user interface (TUI) widgets. It utilizes the curses or ncurses library; the latter enables mouse support, for example within an xterm.
History
Dialog was created by Savio Lam, with the first reported version (0.3) appearing in 1994. The software was subsequently modified by several contributors. Since 1999, it has been maintained and rewritten by Thomas Dickey.
Features
Dialog provides a variety of TUI widgets — such as input boxes, menus, checklists, radiolists, message boxes, yes/no prompts, file selection dialogs, and progress gauges — that can be called from shell scripts. This allows script authors to create interactive user interfaces without requiring a graphical desktop environment.
Forks and Derivatives
At least one fork existed: a FreeBSD-only split into an application and a library in late 1994. Another related project, lxdialog (part of the Linux kernel's menuconfig), has been reduced to fragments that are no longer compatible with dialog scripts.
Several programs inspired by dialog exist, though not all read the same scripts. The most well-known are Xdialog (which provides a graphical X11 interface) and whiptail (a lighter implementation using the newt library).
Technical Details
| Attribute | Detail |
|---|---|
| Original author | Savio Lam |
| Developer | Thomas Dickey |
| Initial release | 1994 |
| Stable release | 1.3-20260107 (January 7, 2026) |
| Operating system | Unix, Linux, POSIX |
| Type | Shell script utility |
| License | LGPL |
| Website | invisible-island.net/dialog/ |
See also
- CDK (programming library)
- Zenity
References
- "Index of /archives/dialog". Retrieved 3 March 2026.
- Phil Hughes (April 1994). "Interview with Patrick Volkerding". Linux Journal.
- Jeff Tranter (September 1994). "Dialog: An Introductory Tutorial". Linux Journal.
- "Dialog 0.3 manual page". 1994-01-10. Archived from the original on 2006-09-22.
- "Dialog Change Log".
- "FreeBSD CVS src/gnu/usr.bin/dialog/".
- "FreeBSD library manual for dialog".