linux - How to display a long text file whiptail -


this code open whiptail message box based on content of file in file variable. file has many lines.

$(whiptail --title "opening file" --yesno "$(cat $file)" 78 78 3>&1 1>&2 2>&3) 

now box fixed in width , height. how show scrolling text box can see of text in file?

the option --scrolltext supposed this, , reading source code, applies textbox , messagebox (yesno special case of latter), in quick check, see no scrollbar. perhaps work version of newt using.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -