Recent

Author Topic: Are there any Lazarus terminal components based on TMemo?  (Read 523 times)

vfclists

  • Hero Member
  • *****
  • Posts: 1152
    • HowTos Considered Harmful?
Are there any Lazarus terminal components based on TMemo?
« on: September 27, 2024, 08:30:10 pm »
Are there any Lazarus Terminal components based on TMemo, or its ancestors?

Is it possible for a terminal component to be created from a TMemo assuming there is none like that in existence?
Lazarus 3.0/FPC 3.2.2

MarkMLl

  • Hero Member
  • *****
  • Posts: 8525
Re: Are there any Lazarus terminal components based on TMemo?
« Reply #1 on: September 27, 2024, 11:34:16 pm »
Depends what you want to do. I use TMemo/TRichMemo for output (status windows etc.) https://forum.lazarus.freepascal.org/index.php/topic,67337.msg517995.html with the line count curtailed to some maximum, but if you want something interactive (i.e. like a classical terminal emulator in which a unix shell would run) I think other people have posted "properly written" components.

There's an interesting difference between (some versions of) Delphi and (some versions of) Lazarus here: in Delphi the main program unit carried on running after the GUI was started up (which allowed a terminal to be animated fairly simply) but try the same with Lazarus and one gets into very deep water particularly if using dialog(ue)s etc.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018