LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   BASH: dialog menu with descriptions (https://www.linuxquestions.org/questions/programming-9/bash-dialog-menu-with-descriptions-806080/)

worm5252 05-05-2010 08:35 AM

BASH: dialog menu with descriptions
 
I am envisioning a dialog menu with 2 sections, the top 2/3 a menu, then the bottom 1/3 is a message box. When you highlight a menu item it gives you a description of what it does in the message box.

However I am not sure it is possible. Can this be done in BASH?

druuna 05-05-2010 08:47 AM

Hi,

Have a look at tput:

- tput (man page)
- HowTo: Use tput in a shell data entry system
- 6.5. Colours and Cursor Movement With tput

Hope this helps.

worm5252 05-05-2010 09:02 AM

Nevermind. I had a lapse in thinking. When you create a menu item you create a description as well.


All times are GMT -5. The time now is 10:25 AM.