I want my function to implement a dialog with an editable text box using a shiny app. I.e. calling the function should open a shiny app displaying some text for the user to edit, then press the ‘Ok’ button to close the app and return the edited text or the ‘Cancel’ button to close the app and return an empty
Tag: dialog
bash: Create a ncurses dialog radiolist from a dynamic file and output selection to variable
I am working on building a ncurses/dialog driven interactive shell script to Clonezilla to simplify the creation and restoration of images passed with very specific settings that we use each time. Part of the script asks the user to select an image for restoration and I have hit a wall. I want to use a dialog radiolist for this part
Split lines from a file into variables (accepting spaces) BASH
I need a script in bash that reads a file and recognize an delimiter (“;”) and store the values between the delimiters into variables to build a dialog menu later. What i’ve done: the file that it reads is : And the output: Answer With a while you can split a line into a lot of vars in 1 call.
Linux whiptail or dialog with menu and input together
I want to use the ‘whiptail’ package to generate a menu box and input box simultaneously on screen. Is this possible? Or maybe with dialog? I can’t find any example of this. I want something like this: Menu item 1 Menu item 2 menu item 3 if none of the above, type your own: Inputbox: The user could either select
bash scripting: how to get item name on a radiolist using dialog
I need to make a radiolist in bash script using dialog interface, for example if I have the following list: I need when the user chooses an option and presses “ok”, my script could read the item’s name and not the item’s number. It is possible? Thanks! Answer You can put your expected results in an array: