Two dialog boxes at once in bash script
I have my bash dialog --menu box acting nicely, but i do need second one when i choose particular option like "change user". I want that "user list" --menu dialog box to open on top of开发者_如何学编程 the first one(which will be in background, but won't disappear completely) with specific coordinates.
Is that possible?
regards kasper
Chain the two with --and-widget
:
dialog --menu "menu 1" ........ --and-widget --begin $x $y --menu "menu 2" .......
Menu 1 will show and once you press enter it will remain in place while menu 2 will show and take control (like a new "popup window").
精彩评论