Recent

Author Topic: Tito's Terminal, a New Terminal  (Read 9352 times)

Edson

  • Hero Member
  • *****
  • Posts: 1125
Tito's Terminal, a New Terminal
« on: October 20, 2014, 07:41:12 pm »
What do you get if you mix a Syntax highlighter with a Terminal in Lazarus?  :)

I have mixed and get this little monster:

https://github.com/t-edson/Tito-s-Terminal

This is a terminal for using with telnet, SSH or any console program. It has a special panel for commands, with several highlighters, folding and completion code. It can emulate a file explorer and a Text editor using telnet/SSH connections. Moreover, it support automation.

I have recently ported it from VB, and it is still at a Beta Level.
Lazarus 2.0.10 - FPC 3.2.0 - x86_64-win64 on Windows 8

Mike.Cornflake

  • Hero Member
  • *****
  • Posts: 1251
Re: Tito's Terminal, a New Terminal
« Reply #1 on: October 21, 2014, 03:13:20 am »
Like the idea  :)  Thanks for sharing   :)
Lazarus Trunk/FPC Trunk on Windows [7, 10]
  Have you tried searching this forum or the wiki?:   http://wiki.lazarus.freepascal.org/Alternative_Main_Page
  BOOKS! (Free and otherwise): http://wiki.lazarus.freepascal.org/Pascal_and_Lazarus_Books_and_Magazines

Edson

  • Hero Member
  • *****
  • Posts: 1125
Re: Tito's Terminal, a New Terminal
« Reply #2 on: January 23, 2015, 05:16:29 pm »
New version is available.

One of the news is that in can use serial connections.
Some libraries has been updated and the translation has been improved.

Lazarus 2.0.10 - FPC 3.2.0 - x86_64-win64 on Windows 8

nomorelogic

  • Full Member
  • ***
  • Posts: 131
Re: Tito's Terminal, a New Terminal
« Reply #3 on: January 24, 2015, 03:14:11 pm »
Hi
I tried to test your terminal but I need some help.

I'm working on linux 64bit and once downloaded the project I've needed to solve some dependencies:
- Unterminal
- MisUtils
- SynFacilCompletion
- SynFacilSyn

Now I get this error:
SynFacilCompletion.pas(71,29) Error: Identifier not found "TFaSynBlock"

Now, I've some questions:
1) can you include all dependencies in your terminal main project?
2) where can I find TFaSynBlock?

Edit:
thanks in advantage :)
« Last Edit: January 24, 2015, 03:15:51 pm by nomorelogic »

Edson

  • Hero Member
  • *****
  • Posts: 1125
Re: Tito's Terminal, a New Terminal
« Reply #4 on: January 24, 2015, 07:11:46 pm »
Hi,

In "Project Options" menu, you can see the dependencies:

..\_Librerias\MisUtils 0.2
..\_Librerias\UnTerminal 0.6
..\_Librerias\SynFacilUtils 0.3
..\_Librerias\SynFacilCompletion0.7
..\_Librerias\SynFacilSyn 09.5
..\_Librerias\ConfigFrame 0.4

You need to use these specific versions to compile. They are all in Github.

"TFaSynBlock" is a class defined in the library SynFacilSyn.

Important: This terminal use the program "Plink" for to make telnet, ssh and serial connections. "Plink" is a Window program. I haven't tested this Terminal in Linux. I think it can be adapted.

Can you tell me what are you thinking to achieve with this Terminal?

Thanks for testing.
Lazarus 2.0.10 - FPC 3.2.0 - x86_64-win64 on Windows 8

Basile B.

  • Guest
Re: Tito's Terminal, a New Terminal
« Reply #5 on: January 24, 2015, 09:03:31 pm »
With git you can add dependencies with git add submodule...this can be usefull for someone who want to build the software without manually cloning each of your other projects. However in this case the Laz lpr must also contains the right unit search paths.

nomorelogic

  • Full Member
  • ***
  • Posts: 131
Re: Tito's Terminal, a New Terminal
« Reply #6 on: January 25, 2015, 12:04:54 am »
All dependencies downloaded but to compile I had to make some adjustments (on filename case):
- formprincipal.pas renamed to FormPrincipal.pas
- in _Librerias, UnTerminal/termVT.pas renamed to UnTerminal/TermVT.pas

in TTerm.lpr source (uses):
- frameCfgDetPrompt renamed to FrameCfgDetPrompt

I had to commend uses of ShellApi, I'll try some alternative, but now compilation fails with message:
FormConfig.pas(15,3) Fatal: Can not find unit FrameCfgEdit used by FormConfig.
This isn't a case sensitive issue, I think this file is not into repository.

Quote
Can you tell me what are you thinking to achieve with this Terminal?
I would like to create a program that, through ssh, let run commands on a remote machine. I would not make a bash script and I like to work with a component terminal. I hope it can handle both std output and input.

Edson

  • Hero Member
  • *****
  • Posts: 1125
Re: Tito's Terminal, a New Terminal
« Reply #7 on: January 25, 2015, 08:48:25 pm »
All dependencies downloaded but to compile I had to make some adjustments (on filename case):
- formprincipal.pas renamed to FormPrincipal.pas
- in _Librerias, UnTerminal/termVT.pas renamed to UnTerminal/TermVT.pas
in TTerm.lpr source (uses):
- frameCfgDetPrompt renamed to FrameCfgDetPrompt

Sorry, I have corrected the name of the file before, but this is something that doesn't care for windows. I will fix the name for the next updates.

I had to commend uses of ShellApi, I'll try some alternative, but now compilation fails with message:
FormConfig.pas(15,3) Fatal: Can not find unit FrameCfgEdit used by FormConfig.
This isn't a case sensitive issue, I think this file is not into repository.

Actually, "ShellAPI" unit, is not used. You can ommit it.
About "FrameCfgEdit.lfm", I forgot to include it in "ConfigFrame 0.4". It's included now.

Lazarus 2.0.10 - FPC 3.2.0 - x86_64-win64 on Windows 8

nomorelogic

  • Full Member
  • ***
  • Posts: 131
Re: Tito's Terminal, a New Terminal
« Reply #8 on: January 28, 2015, 07:53:49 pm »
some steps forward :)

Now I get this error
interprete_bas.pas(452,53) Error: Incompatible type for arg no. 4: Got "TSynHighlighterAttributes", expected "Boolean"

Edson

  • Hero Member
  • *****
  • Posts: 1125
Re: Tito's Terminal, a New Terminal
« Reply #9 on: January 29, 2015, 02:38:49 am »
It's a problem of version. Use the versión 0.3 for SynFacilUtils: https://github.com/t-edson/SynFacilUtils/tree/0.3.

Make sure, you have deleted the old files. And are using the correct versions for all the libraries.

"Tito's Terminal" use some older versions of these libraries.

"SynFacilUtils" is a library who have some useful routines for implementing editors with SynEdit.
Lazarus 2.0.10 - FPC 3.2.0 - x86_64-win64 on Windows 8

Edson

  • Hero Member
  • *****
  • Posts: 1125
Re: Tito's Terminal, a New Terminal
« Reply #10 on: August 09, 2015, 09:40:42 pm »
Tito's terminal 0.2 is available :).
https://github.com/t-edson/Tito-s-Terminal
Changes:

* Updated to new version of libraries.
* Improved the macro language.
* Some bugs fixed.
Lazarus 2.0.10 - FPC 3.2.0 - x86_64-win64 on Windows 8

Edson

  • Hero Member
  • *****
  • Posts: 1125
Re: Tito's Terminal, a New Terminal
« Reply #11 on: December 28, 2016, 02:31:25 am »
Tito's Terminal has been updated to 0.5.

Main changes are done in the script macro language. Revised and new functions added.
Lazarus 2.0.10 - FPC 3.2.0 - x86_64-win64 on Windows 8

Edson

  • Hero Member
  • *****
  • Posts: 1125
Re: Tito's Terminal, a New Terminal
« Reply #12 on: November 29, 2020, 02:25:28 am »
Tito's Terminal version 0.8 has been released. A New interfaz with multiple pages has been designed.
 
Lazarus 2.0.10 - FPC 3.2.0 - x86_64-win64 on Windows 8

Roland57

  • Full Member
  • ***
  • Posts: 115
Re: Tito's Terminal, a New Terminal
« Reply #13 on: November 29, 2020, 06:56:27 am »
Hello! Thank you for the new version of Tito's Terminal.

I try to build it and I get an error because of two missing units: uPreProces and uPreBasicos. I don't know where to find them.

P.-S. OK, I see. The units are in the PreSQL repository. But now I get this error:

Quote
FrameTabSession.pas(566,8) Error: identifier idents no member "RefPanelEstado"
FrameTabSession.pas(1211,9) Error: identifier idents no member "OnMenLangSelected"

For the first error, I found how to fix it:
Code: Pascal  [Select][+][-]
  1.   //proc.RefPanelEstado;
  2.   proc.RefStatePanel;

But for the other one I don't see.

« Last Edit: November 29, 2020, 07:14:58 am by Roland57 »

Edson

  • Hero Member
  • *****
  • Posts: 1125
Re: Tito's Terminal, a New Terminal
« Reply #14 on: November 29, 2020, 05:30:04 pm »
Hi Roland57.

I've included the libraries in the project. You won't need to download any thing more.

Tell me if you have problems.



Lazarus 2.0.10 - FPC 3.2.0 - x86_64-win64 on Windows 8

 

TinyPortal © 2005-2018