R0b0t1, If you look at the sources you'll see I simply wrapped some of the functionality of gnome's terminal component inside a LCL TCustomControl class. Two function calls actually, vte_terminal_new and vte_terminal_fork_command_full. The gnome tool kit, or gtk for short, takes care of the rest. Its functionality includes text styles (bold, underline), colors, keyboard accelerators, hyperlinks, command history, variable expansion, among other things. But as this is implemented by the gnome tool kit for Linux, sorry it's not portable.
However, if you just want to embed a text terminal with no features other than typing text and executing command, and have those results shown in the same window, it can be easily done on any platform with a TMemo control and TProcess class using pipes to redirect stdin, stdout, and stderr.
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus