Whiptail interfaces add menus and information pages to your Raspberry Pi projects.
Text interfaces can be extremely useful for Windows or secure shell (SSH) clients that need to connect to your Linux or Raspberry Pi systems. One of the simplest options for creating text interfaces is Whiptail , which comes preinstalled on Raspbian and many Linux systems. The Raspberry Pi configuration tool,
raspi-config (Figure 1), is a good illustration of how Whiptail can be used.
In this article, I introduce Whiptail with three small projects. The first creates a menu interface for some common Linux diagnostic tools, the second controls Raspberry Pi output pins, and the final uses Python to display Pi sensor data.
If your system does not have Whiptail, you can install it on Raspbian/Debian/Ubuntu machines with the command:
Use Express-Checkout link below to read the full article (PDF).