Re: [Lazarus] Terminal Component Available

2018-04-14 Thread Anthony Walter via Lazarus
Maybe someone can clarify the Dynlibs unit issue, because I'm on the same toolkit, platform, and compiler, yet there is no need to include Dynlibs. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Terminal Component Available

2018-04-14 Thread Graeme Geldenhuys via Lazarus
On 2018-04-11 09:40, Michael Van Canneyt via Lazarus wrote: > I cannot speak for others, but I read your statement as stating that the idea > of an embedded terminal comes from VSC. That is how I read his message as well. And I fully agree Michael - I think Linux editors beat Visual Studio on th

Re: [Lazarus] Terminal Component Available

2018-04-14 Thread John Landmesser via Lazarus
for Lazarus 1.9.0 r57653 FPC 3.0.4 x86_64-linux-gtk2 you need also dynlibs in gtk2term: uses   GLib2, Gtk2, dynlibs; Am 11.04.2018 um 05:12 schrieb Anthony Walter via Lazarus: I'm am starting a new thread because I've completed my task. Here is a terminal component for Lazarus that is easy

Re: [Lazarus] Terminal Component Available

2018-04-13 Thread Anthony Walter via Lazarus
This was just posted on reddit: https://www.reddit.com/r/linux/comments/8bz9p4/a_look_at_terminal_emulators_part_1/ https://anarc.at/blog/2018-04-12-terminal-emulators-1/ A comparison of terminal emulators. Most are using VTE. -- ___ Lazarus mailing l

Re: [Lazarus] Terminal Component Available

2018-04-13 Thread Anthony Walter via Lazarus
I've posted this project to github: https://github.com/sysrpl/Lazarus.Terminal Enhancements now include custom colors and fonts. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Terminal Component Available

2018-04-12 Thread R0b0t1 via Lazarus
There is a bit more to adapt all features of cmd.exe, especially colors. The interface is handled by a windows DLL and kind of clunky, so you need to hook functions. That is why I was wondering if it had already been done. On Thu, Apr 12, 2018 at 1:50 PM, Mark Morgan Lloyd via Lazarus wrote: > On

Re: [Lazarus] Terminal Component Available

2018-04-12 Thread Mark Morgan Lloyd via Lazarus
On 12/04/18 05:45, R0b0t1 via Lazarus wrote: Did you ever try to make it cross platform? I only ask as I have notfound a good way to embed either PowerShell or cmd.exe. I did it years ago for cmd.exe on Delphi, I think it used pipes in some form. -- Mark Morgan Lloyd markMLl .AT. telemetry

Re: [Lazarus] Terminal Component Available

2018-04-12 Thread Anthony Walter via Lazarus
R0b0t1, If you look at the sources you'll see I simply wrapped some of the functionality of gnome's terminal component inside a LCL TCustomControl class. Two function calls actually, vte_terminal_new and vte_terminal_fork_command_full. The gnome tool kit, or gtk for short, takes care of the rest.

Re: [Lazarus] Terminal Component Available

2018-04-11 Thread R0b0t1 via Lazarus
On Tue, Apr 10, 2018 at 10:12 PM, Anthony Walter via Lazarus wrote: > I'm am starting a new thread because I've completed my task. > > Here is a terminal component for Lazarus that is easy to reuse. > > https://cache.getlazarus.org/archives/terminal.7z > > To install, make sure you're on Linux wit

Re: [Lazarus] Terminal Component Available

2018-04-11 Thread Michael Van Canneyt via Lazarus
On Wed, 11 Apr 2018, Maciej Izak via Lazarus wrote: 2018-04-11 9:18 GMT+02:00 Michael Van Canneyt via Lazarus < lazarus@lists.lazarus-ide.org>: Huh ? Slight historical misinformation here. Linux editors had this decennia before Visual Studio came up with it. Huh? What is wrong with you?

Re: [Lazarus] Terminal Component Available

2018-04-11 Thread Maciej Izak via Lazarus
2018-04-11 9:18 GMT+02:00 Michael Van Canneyt via Lazarus < lazarus@lists.lazarus-ide.org>: > > Huh ? Slight historical misinformation here. > > Linux editors had this decennia before Visual Studio came up with it. > Huh? What is wrong with you? Where you have historical misinformation? It is per

Re: [Lazarus] Terminal Component Available

2018-04-11 Thread Anthony Walter via Lazarus
By the way, there is a small bug with the IDE I discovered while making this. If you dock a window, then right click and close it, or undock it, window cannot be docked again. You have to restart the IDE to be able to dock that window type. Here is a screen capture of the issue: https://cache.getl

Re: [Lazarus] Terminal Component Available

2018-04-11 Thread Michael Van Canneyt via Lazarus
On Wed, 11 Apr 2018, Maciej Izak via Lazarus wrote: Very good initiative (Visual Studio Code inspired) . I wish to had this for Windows too :) Huh ? Slight historical misinformation here. Linux editors had this decennia before Visual Studio came up with it. Michael. --

Re: [Lazarus] Terminal Component Available

2018-04-11 Thread Maciej Izak via Lazarus
Very good initiative (Visual Studio Code inspired) . I wish to had this for Windows too :) 2018-04-11 8:43 GMT+02:00 Anthony Walter via Lazarus < lazarus@lists.lazarus-ide.org>: > I updated my archive to include support for a dockable window inside the > Lazarus IDE. > > https://cache.getlazarus.

Re: [Lazarus] Terminal Component Available

2018-04-10 Thread Anthony Walter via Lazarus
I updated my archive to include support for a dockable window inside the Lazarus IDE. https://cache.getlazarus.org/videos/vte-embedded.mp4 -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus