Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
cbTerminal plugin to access terminal from the bottom panel for Linux ( wxGtk )
christo:
https://github.com/josephch/cbTerminal is a small plugin to show bash terminal using VTE Gtk widget. It might be useful for Linux users.
ollydbg:
Nice work.
My question is that can you bring such feature to Windows OS?
Thanks.
christo:
--- Quote from: ollydbg on January 01, 2025, 02:47:18 am ---Nice work.
My question is that can you bring such feature to Windows OS?
Thanks.
--- End quote ---
@ollydbg, I've tried TerminalWx, which I believe is cross-platform. I decided to go with VTE because it appears better in my Ubuntu. My work to integrate TerminalWx is available in https://github.com/josephch/cb-TerminalWx . For Windows, you can try changing cbTerminalView_TerminalWx.cpp to use the correct terminal.
Edit : Following link describes a psuedoterminal i think that can be used for windows https://devblogs.microsoft.com/commandline/windows-command-line-introducing-the-windows-pseudo-console-conpty/
ollydbg:
Hi, sorry for the late reply, I'm busy these days.
I have made a new fork of your repo: asmwarrior/TerminalWx: WxWidgets Terminal Widget, and try to build this library with the C::B and msys2.
I see some link errors
--- Code: ---[100.0%] g++.exe -o bin\Debug\TestApp.exe obj\Debug\src\GTerm\actions.o obj\Debug\src\GTerm\gterm.o obj\Debug\src\GTerm\keytrans.o obj\Debug\src\GTerm\states.o obj\Debug\src\GTerm\utils.o obj\Debug\src\GTerm\vt52_states.o obj\Debug\src\taTelnet\wxterm.o obj\Debug\src\terminalinputevent.o obj\Debug\src\terminalwx.o obj\Debug\TestApp.o obj\Debug\TestMain.o -LF:/code/msys2-64/mingw64/lib -pipe -lwx_mswu_xrc-3.2 -lwx_mswu_webview-3.2 -lwx_mswu_html-3.2 -lwx_mswu_qa-3.2 -lwx_mswu_adv-3.2 -lwx_mswu_core-3.2 -lwx_baseu_xml-3.2 -lwx_baseu_net-3.2 -lwx_baseu-3.2 -mwindows
F:/code/msys2-64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: obj\Debug\src\terminalwx.o: in function `__static_initialization_and_destruction_0':
F:\code\TerminalWx/src/terminalwx.cpp:76:(.text+0x518): undefined reference to `__imp_chEVT_TERMINAL_INPUT'
F:/code/msys2-64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: F:\code\TerminalWx/src/terminalwx.cpp:78:(.text+0x52a): undefined reference to `__imp_chEVT_TERMINAL_INPUT'
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 8 second(s))
3 error(s), 101 warning(s) (0 minute(s), 8 second(s))
--- End code ---
see the attachment txt log file for more details.
EDIT:
--- Quote ---Edit : Following link describes a psuedoterminal i think that can be used for windows https://devblogs.microsoft.com/commandline/windows-command-line-introducing-the-windows-pseudo-console-conpty/
--- End quote ---
I'm not sure how difficult the windows conpty API is. I haven't tried it yet.
ollydbg:
OK, the linker error issue is fixed, I have pushed to my git fork.
Now, when I run the program, I see below screen shot, but I can't enter any chars to the terminal window.
Navigation
[0] Message Index
[#] Next page
Go to full version