Sorry for consecutive posts, but I cannot find any starting point on how to do this. I would like the ability to basically have a fully functional terminal/shell in a Tk frame. In other words, the user should be able to type in a command, which would be executed and output displayed. I also need to have the ability to have my script "type" in a command to execute automatically.
Alternatively, I was thinking of having a Tk::Text widget, where the output would be displayed and new commands typed in, but I'm not sure how to trigger the execution of the command (ie, `doCmd` when <Enter> is pressed). However, I am afraid that even this method would not work. The output of the commands could get quite lengthy, creating a very large buffer for the widget.
Just to give this and my previous post some perspective: I need to write a GUI wrapper to a command lined interface program (kind of like Matlab). Where can I start searching? Thanks in advance.
In reply to tty in Tk app by gri6507
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |