Recent

Author Topic: Odd question re use of FPC RTL source  (Read 3434 times)

imperiusdamian

  • New Member
  • *
  • Posts: 14
Odd question re use of FPC RTL source
« on: October 28, 2023, 05:33:18 am »
Good evening all!

So I have a little console mode project that for various obscure and arcane reasons, cannot use the CRT unit. HOWEVER, I DO need to be able to use the readKey() function as defined in the FPC RTL.

Is it permissible under the FPC licence to copy the RTL readkey() and the code it depends on, IF that source is properly attributed and made available on request per the GPL? I would not be modifying the code at all, merely copying and pasting whole cloth, probably into a separate unit so it wouldn't be mixed with any of my own code.
« Last Edit: October 28, 2023, 06:08:35 am by imperiusdamian »

bracara

  • New Member
  • *
  • Posts: 20
Re: Odd question re use of FPC RTL source
« Reply #1 on: October 28, 2023, 07:00:54 pm »
Unless I have totally misunderstood something, this is what the GPL is designed for. You can reuse any code licenced this way as you think fit, as long as you acknowledge it (and make your code available if the product is distributed)

imperiusdamian

  • New Member
  • *
  • Posts: 14
Re: Odd question re use of FPC RTL source
« Reply #2 on: October 29, 2023, 01:04:02 am »
Unless I have totally misunderstood something, this is what the GPL is designed for. You can reuse any code licenced this way as you think fit, as long as you acknowledge it (and make your code available if the product is distributed)

I was hoping that was the case but I wanted to be certain. Thank you! :D

 

TinyPortal © 2005-2018