|
|
Home » Developing U++ » UppHub » A terminal emulator widget for U++
Re: A terminal emulator widget for U++ [message #54061 is a reply to message #54059] |
Thu, 28 May 2020 11:36 |
Oblivion
Messages: 1092 Registered: August 2007
|
Senior Contributor |
|
|
Hello slashupp,
Quote:I want to test if Terminal fits the needs of my app, but fail to find
a HowTo on installing it in my upp-dev-environment (which is standard)
Yes, this is missing from the docs. I will update it next week. In the meantime,
How to get it:
Terminal is a regular ctrl. It does not require anything other than U++ (ver >= 2020.1, because I use some new color methods which simplified the color management code.)
If you want to try it out, you can:
a) Clone the upp-components git repository (This is the recommended way to get updates,etc.) and set up an assembly in TheIDE for upp-components/CtrlLib (It is no different than adding another "bazaar")
b) Simply download the repo, unzip it, and move the CtrlLib/Terminal folder to your preferred folder.
Now that you have the source code, It should compile out of the box. There should be no need for tweaking, etc.
How to use it:
Well, the upp-components/Examples section already contains example code for different, basic use cases, I suggest you check there and play with them first (if you haven't already).
They are pretty simple. A minimal example is here upp-components/Examples/TerminalExample
(That minimal example, by the way, can run almost anything, out of the box)
Steps to write your own code:
1) Check the API docs first. Terminal ctrl contains regular topic++ files for TheIDE. It should be available through TheIDE's help system.
2) Create a CtrlLib application (basic or with layout, it's up to you. Terminal ctrl contains a layout file, so you can use it in TheIDE's layout editor.)
3) Add Terminal ctrl to you app. As it is a regular ctrl, it can be added to your window or any other "parent" ctrl via Ctrl::Add() method.
4) If you are going to use it as a local terminal, using a pty (currently on POSIX only), then Terminal package contains a PtyProcess class.
Add #include <Terminal/PtyProcess.h> to your app. Then all you need to do is set up the events and loop.
Provided examples use a rudimentary loop which is sufficient for most cases but you can write much efficient loops that'll suit your personal need and use-case.
5) If you are going to use it as a GUI front end for, say, SSH shells, add uppsrc/Core/SSH package to you app, and connect the loop. See the rudimentary upp-components/Examples/SshTerminalExample
Again, this is just generic information on how to install and use it.
If you have any specific questions in the meanitme, I'll be happy to address them.
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: Thu, 28 May 2020 11:57] 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: Fri Apr 26 02:20:42 CEST 2024
Total time taken to generate the page: 0.05995 seconds
|
|
|