I need a terminal Widget which is able to emulate a windows console and a simple VT100 terminal on Windows. Something like VTE for GTK or QConsole for QT.
Is it even possible to run a Windows Console like cmd.exe inside a child window?
I need a terminal Widget which is able to emulate a windows console and a simple VT100 terminal on Windows. Something like VTE for GTK or QConsole for QT.
Is it even possible to run a Windows Console like cmd.exe inside a child window?
Usually a "console" or Terminal hooks up at a rs-232 interface. cmd.exe is AFAIK a native application only acting like a command line interpreter. Therefor you will not be able to use it in an child window.
Do you need a terminal emulator that communicates with a VT100? If so, there are tons of out there. If you want to write your own Interface take a look at the Windows PowerShell API. Another great Open Source Project for achieving something you want is PuTTY for Windows under MIT License. You could communicate with the VT100 using Telnet. The Windows Telnet client should be accessible using PowerShell.
Just call AllocConsole to create your own console window. You can use the normal console mode CRT functions to read and write from/to it. A more GUI friendly approach would be to just create a window with a multi-line readonly Edit control with a fixed-pitch font.