|
|
Home » Developing U++ » UppHub » A terminal emulator widget for U++
Re: A terminal emulator widget for U++ [message #56368 is a reply to message #51415] |
Sat, 27 February 2021 22:07 |
Oblivion
Messages: 1092 Registered: August 2007
|
Senior Contributor |
|
|
Hello,
tldlr:
In the following weeks TerminalCtrl will finally gain winpty support.
This means that it will be able to run as a local terminal ("natively") on Windows XP/Vista/7/8/10, without requiring Cygwin, Msys2 or Win10 pseudoconsole api.
This idea was brewing for some time as I was investigating the possibility of embedding native windows console support in PtyProcess class.
As it turned out, it was suprisingly trivial, thanks to winpty.
Pros:
1. TerminalCtrl does not require any specific hack or intervention to run on Windows as a local (=not remote) console, thanks to its design and WinPty.
2. Cygwin or MSYS2 are not required. Only the libwinpty (winpty.lib or winpty.dll) and winpty-agent is required and they compile on native CLANG compiler and Windows environment.
3. WinPty's API seamlessly integrates with PtyProcess class and it api. As a result, the existing terminal examples or code using PtyProcess class do not require any modification. A simple compiler flag (flagWINPTY) will be enough to switch it on.
4. This means it is possible run cmd.exe, bash.exe, powershell.exe, or any Windows-native console application (such as FAR file manager - see screenshot below) directly on TerminalCtrl/PtyProcess.
5. This also means that TerminalCtrl can be set to run in CygWin and Msys2 environments, and it can easily replace Mintty, which is, AFAIK, bound to Cygwin or Msys2 subsystem.
6. winpty has MIT license. You can freely supply the winpty.lib and winpty-agent with your application.
Cons:
- Nothing much at the moment, really. Winpty has some small quirks but they arent specific to our terminal emulator widget.
Below screenshot is from the Far file manager. It is running natively on the stock TerminalExample, on Windows 7.
If you have any questions, bug reports, suggestions criticism, etc. let me know.
Best regards,
Oblivion
Github page: https://github.com/ismail-yilmaz
upp-components: https://github.com/ismail-yilmaz/upp-components
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
[Updated on: Sat, 27 February 2021 22:23] Report message to a moderator
|
|
|
|
|
A terminal emulator widget for U++
By: Oblivion on Sat, 23 March 2019 22:31
|
|
|
Re: A terminal emulator widget for U++
By: koldo on Sun, 24 March 2019 16:15
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Tue, 26 March 2019 10:02
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Tue, 26 March 2019 13:11
|
|
|
Re: A terminal emulator widget for U++
By: koldo on Tue, 26 March 2019 13:21
|
|
|
Re: A terminal emulator widget for U++
By: Novo on Wed, 27 March 2019 23:14
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Thu, 28 March 2019 08:01
|
|
|
Re: A terminal emulator widget for U++
By: Novo on Thu, 28 March 2019 16:57
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Thu, 28 March 2019 19:21
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Mon, 08 April 2019 11:45
|
|
|
Re: A terminal emulator widget for U++
By: Xemuth on Mon, 13 May 2019 13:47
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
By: Xemuth on Tue, 16 July 2019 09:34
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
By: koldo on Fri, 26 July 2019 08:18
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Fri, 02 August 2019 13:54
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Wed, 07 August 2019 21:24
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Mon, 12 August 2019 11:39
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Fri, 16 August 2019 14:29
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Sun, 22 September 2019 12:01
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Sat, 28 September 2019 22:00
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Sun, 03 November 2019 15:03
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Sun, 10 November 2019 21:49
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Tue, 12 November 2019 16:36
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Tue, 12 November 2019 20:08
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Wed, 25 March 2020 14:20
|
|
|
Re: A terminal emulator widget for U++
By: deep on Wed, 25 March 2020 19:12
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Thu, 26 March 2020 16:54
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Fri, 10 April 2020 02:17
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Sat, 11 April 2020 00:30
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Fri, 17 April 2020 22:30
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Tue, 21 April 2020 18:35
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Wed, 22 April 2020 18:51
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Sat, 25 April 2020 00:36
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
By: Zbych on Thu, 11 June 2020 00:13
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
By: Zbych on Sun, 21 June 2020 22:16
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
By: Zbych on Sun, 21 June 2020 22:47
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
By: Zbych on Thu, 25 June 2020 20:40
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Sat, 01 August 2020 20:48
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Fri, 21 August 2020 13:29
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Sat, 05 September 2020 16:45
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Thu, 01 October 2020 18:11
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Tue, 13 October 2020 12:41
|
|
|
Re: A terminal emulator widget for U++
By: Klugier on Tue, 13 October 2020 20:41
|
|
|
Re: A terminal emulator widget for U++
By: hongnod on Thu, 03 December 2020 15:05
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Thu, 03 December 2020 16:25
|
|
|
Re: A terminal emulator widget for U++
By: hongnod on Fri, 04 December 2020 06:58
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Sat, 05 December 2020 16:21
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Wed, 09 December 2020 00:54
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Sat, 23 January 2021 01:25
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Mon, 01 February 2021 21:18
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Wed, 03 February 2021 17:12
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Fri, 12 February 2021 17:42
|
|
|
Re: A terminal emulator widget for U++
By: Klugier on Fri, 12 February 2021 21:58
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Fri, 12 February 2021 22:26
|
|
|
Re: A terminal emulator widget for U++
By: Klugier on Fri, 12 February 2021 23:00
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Fri, 12 February 2021 23:14
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Tue, 23 February 2021 22:57
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Sat, 27 February 2021 22:07
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Mon, 01 March 2021 23:49
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Wed, 03 March 2021 20:45
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Sun, 07 March 2021 14:42
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
By: Novo on Tue, 15 June 2021 16:41
|
|
|
Re: A terminal emulator widget for U++
By: Klugier on Fri, 26 November 2021 23:19
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Sat, 27 November 2021 07:51
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Sat, 27 November 2021 10:47
|
|
|
Re: A terminal emulator widget for U++
By: slashupp on Tue, 21 December 2021 07:39
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Tue, 21 December 2021 09:40
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Sat, 12 February 2022 19:16
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Compile problem on WIN10
By: peterh on Tue, 13 September 2022 15:15
|
|
|
Re: Compile problem on WIN10
By: Oblivion on Tue, 13 September 2022 21:39
|
|
|
Re: Compile problem on WIN10
By: peterh on Wed, 14 September 2022 03:48
|
|
|
Re: Compile problem on WIN10
By: Oblivion on Thu, 15 September 2022 00:31
|
|
|
Re: Compile problem on WIN10
By: peterh on Thu, 15 September 2022 06:54
|
|
|
Re: Compile problem on WIN10
By: Oblivion on Thu, 15 September 2022 07:14
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Thu, 15 September 2022 07:25
|
|
|
Re: A terminal emulator widget for U++
By: peterh on Thu, 15 September 2022 07:58
|
|
|
Re: A terminal emulator widget for U++
By: peterh on Thu, 15 September 2022 09:03
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Thu, 15 September 2022 19:09
|
|
|
Re: A terminal emulator widget for U++
By: peterh on Fri, 16 September 2022 06:10
|
|
|
Re: A terminal emulator widget for U++
By: peterh on Fri, 16 September 2022 07:41
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Sat, 17 September 2022 18:40
|
|
|
Re: A terminal emulator widget for U++
By: peterh on Sat, 17 September 2022 20:58
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Sun, 20 November 2022 21:11
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Sat, 31 December 2022 11:19
|
|
|
Re: A terminal emulator widget for U++
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Sun, 17 December 2023 15:04
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Fri, 22 December 2023 00:23
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Sat, 06 January 2024 21:45
|
|
|
Re: A terminal emulator widget for U++
By: Oblivion on Sat, 13 April 2024 10:42
|
Goto Forum:
Current Time: Sat Apr 27 09:40:43 CEST 2024
Total time taken to generate the page: 0.04271 seconds
|
|
|