Using penguins-eggs console program for demonstration. It only took me 24 hours to build it. Another 24 hours to debug it. I want to thank Victor A. who is yad GUI program Author. He has spent the last 8 years making an awesome windowing program. Testing system is Linux Mint Debian Edition 6.
Requirements to make this happen:
yad gui 10+ compiled with --enable-html --enable-sourceview
gnome-terminal --window | gnome-terminal --tab
Window Design:
Parent: yad --paned tab1 = image | tab2 = html
Child: yad --html
The page with click images is pure html & a little css for click images. The click html page is parent bash screen (yad GUI) and the terminal window to the right is its child process.
I print the commands from the child back to the parent go_command function where I use grep, sed on links then assign variable; then echo these variables to files, sed read from same files to new variables and depending on link type: http, program, txt, bash; bitcoin; :) the command is assembled; executed and stdout (command output) is displayed in child process terminal.
So, basically, there is nothing this configuration can not do. From a html page I can execute bash commands, execute web calls both via terminal and this webpage using both bash commands and html calls to the internet simultaneously. The slowness is sleep commands (for now) as I still need to establish safe time delay for file in/outs.
The purpose for the child process is to allow feedback to a user from the terminal window.