On Sun, 17 Nov 2019 23:35:34 +0100 (CET), Michael Van Canneyt
wrote:
>I will of course need to update the database when we release 3.2 and I update
>the
>docs.
>
I had a look at it too and searched for baseunix fpopen etc.
Found this:
https://www.freepascal.org/docs-html/rtl/baseunix/fpopen.htm
On Thu, 21 Nov 2019 01:16:16 -0500, Brian
wrote:
>Hi all,
>
>Running Ubuntu 18 LTS, I have a console-mode number-cruncher which
>writes occasional output files. It works just fine if the output is
>directed to a drive which is permanently spun up, but can fail if the
>output is directed to a USB
On Thu, 13 Feb 2020 09:36:46 -0700 (MST), jollytall
wrote:
>I have just completed the first release of such an interface for TensorFlow.
>You can check it at github.com/tensorflowforpascal.
Did you notice the date of the previous post in this thread?
It was done 2017-12-07
--
Bo Berglund
Deve
On Sun, 16 Feb 2020 23:36:09 -0300, Fabio Luis Girardi via fpc-pascal
wrote:
>I'll test it tomorrow.
>
>Em Dom, 16 de fev de 2020 18:32, Florian Klämpfl
>escreveu:
>
>> Am 01.02.20 um 18:13 schrieb je...@j-software.dk:
>> > Agreed, the rtl should definitely divide by pagesize if MMAP2 is
>> > de
On Sun, 15 Mar 2020 08:58:36 -0700 (PDT), geneb
wrote:
>Use NNTP. I think the fpc lists are mirrored here at news.gmane.io.
Exactly!
This is what I have done since I began following FPC/Lazarus (using
the GMane mirror of the mail list) and now I have a local searchable
threaded archive of it a
On Fri, 10 Apr 2020 13:44:17 -0700 (MST), fredvs via fpc-pascal
wrote:
>2)Your home directory, it looks for .fpc.cfg.
This is something I have been wondering about for a while..
When I install FPC from sources I have to create a config file by
using this command:
/home/user/lib/fpc/$FPCVER/
On Sun, 12 Apr 2020 12:16:20 +0200 (CEST), Michael Van Canneyt
wrote:
>You can hardly blame us for you not remembering things... :-)
>
>> Why does fpc look for .fpc.cfg in the user home dir when it is
>> otherwise looking for fpc.cfg?
>
>Because the naming convention on unixes is like that for co
On Mon, 13 Apr 2020 21:41:31 +0200, Joost van der Sluis
wrote:
>Op 12-04-2020 om 12:01 schreef Bo Berglund via fpc-pascal:
>> This is something I have been wondering about for a while..
>> When I install FPC from sources I have to create a config file by
>> using this comma
I have this old (dev 2004-2008) service application for Win32, which I
hope to migrate/port to Linux.
It was written in Delphi7 on WinXP at the time and I want to move it
to a Debian based Linux.
Obviously stuff like handling control data via Windows Registry etc
has to be rewritten as well as im
On Wed, 22 Apr 2020 07:56:38 +0200, Sven Barth via fpc-pascal
wrote:
>Bo Berglund via fpc-pascal schrieb am
>Mi., 22. Apr. 2020, 05:33:
>
>> But what about the general service framework?
>> The existing code uses a class inherited from TService, does this
>> exist o
On Thu, 14 May 2020 18:21:36 +0200, Giuliano Colla
wrote:
>I see that fpc provides a Socket unit in rtl-extra and a fpSock unit in
>fcl-net. At first glance they both appear to provide what I need.
LNet is a package that contains useful socket classes and refer back
to sockets. Can be installed
On Thu, 14 May 2020 22:02:01 +0100, Graeme Geldenhuys
wrote:
>On 14/05/2020 5:21 pm, Giuliano Colla wrote:
>> I need to implement a simple dedicated TCP/IP connection between a
>> client and a server.
>
>You can always use the Indy TCP components too. I've used them for years
>under Delphi and
On Sat, 16 May 2020 23:24:34 +0100, Graeme Geldenhuys
wrote:
>> Well the simplest way to get Indy10 into Lazarus is via Online Package
>> Manager!
>
>Do they (whoever it might be) keep it up to date with the lastest Indy?
I believe that it is actually Remy Lebeau who is doing that (I might
be wr
Maybe a stupid question, but...
I am struggling with porting a Windows service application written
with D7/D2007 back in 2004-2006 or so. I need to get it moved to Linux
because of Windows 10 issues.
Now I am handling a lot of errors from a "CommonFuncs" unit that is
used in many different applic
On Sun, 17 May 2020 11:15:17 +0200, Bo Berglund via fpc-pascal
wrote:
Maybe a stupid question, but...
I am struggling with porting a Windows service application written
with D7/D2007 back in 2004-2006 or so. I need to get it moved to Linux
because of Windows 10 issues.
Now I am handling a lot
On Tue, 19 May 2020 18:25:54 +0200, Giuliano Colla
wrote:
>Now I'm planning to look in more detail the old Delphi implementation,
>in order to see how they were tacking advantage of Libc. If you're
>interested I'll let you know my results.
>
Yes, please!
--
Bo Berglund
Developer in Sweden
On Wed, 20 May 2020 11:15:59 +0200 (CEST), Michael Van Canneyt
wrote:
>
>
>On Wed, 20 May 2020, Marco van de Voort wrote:
>
>>
>> Does somebody have a compatible TService somewhere for dual compilation
>> Delphi/Lazarus purposes? There is daemonapp, but that seems to be
>> incompatible, but may
On Tue, 19 May 2020 19:22:55 +0200, Luca Olivetti
wrote:
>Move(Hello^,buffer,len)
or:
Move(Hello[0],buffer,len);
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/ma
I am writing a cross-platform program (console program, no GUI).
I am using Lazarus 2.0.8 and FPC 3.0.4 on both Linux and Windows.
During sebugging I have put numerous writeln commands in the code to
track what is happening.
I started on Windows and all worked just fine according to
expectations.
On Thu, 9 Jul 2020 16:25:50 +, Alexander Grotewohl
wrote:
>perhaps try 'reset' or 'stty sane' in the terminal before running your program?
reset in PuTTY gives me a new resized empty screen, but works exactly
the same afterwards.
>are you using the crt or video units at all?
Yes, see below.
On Thu, 09 Jul 2020 21:13:38 +0200, Rainer Stratmann
wrote:
>I had exactly the same behaviour.
>
>Some setterm commands solved it, if I remember correct.
>
>setterm -blank 0
Response was:
setterm: terminal xterm-256color does not support --blank
>setterm -powersave off
Power save is not involv
On Thu, 9 Jul 2020 19:36:31 +0200 (CEST), Michael Van Canneyt
wrote:
>Is this done in a thread ? Since you're using indy, I suppose so.
>
>The crt unit is not thread safe. The implementation on Windows and Linux is
>totally different, which may explain the difference you see.
Is there a way to c
On Thu, 09 Jul 2020 23:11:34 +0200, Tomas Hajny
wrote:
>You can use the unit Keyboard as well, which is cross-platform.
I did as follows:
uses
...
Keyboard,
...
begin
...
repeat
//ch := ReadKey; //ReadKey is not supported by Keyboard...
Read(ch);
until ch='q'; {q}
On Fri, 10 Jul 2020 01:26:24 +0200, Tomas Hajny
wrote:
Well I do not believe the problem I am seeing is because of thread
safe or not.
This test server is just running the main thread (the program itself)
where the detection of keyboard entry q is in a loop to make it
possible to end execution i
I am porting an old application from Delphi to Lazarus and Windows to
Linux.
This application has a unit ExecWait, which was created to simplify
running tool programs from the main program, so it supplies two
procedures as:
function ExecAndWait(Cmdline: string; Hide: boolean = false; MaxWait:
DWOR
On Sun, 19 Jul 2020 08:46:14 +0200 (CEST), Michael Van Canneyt
wrote:
>
>
>On Sun, 19 Jul 2020, Bo Berglund via fpc-pascal wrote:
>
>> I am porting an old application from Delphi to Lazarus and Windows to
>> Linux.
>> This application has a unit ExecWait, which was
On Sun, 19 Jul 2020 10:55:56 +0200 (CEST), Michael Van Canneyt
wrote:
>> These are used exactly 1 time each in the full application...
>
>All the more reason to dispense with the unit.
>Less code to maintain.
>
Seems like RunCommandInDir or simply RunCommand can do what the
ExecWait with all its
On Sun, 19 Jul 2020 08:46:14 +0200 (CEST), Michael Van Canneyt
wrote:
>Various RunCommand procedures in process unit:
>https://www.freepascal.org/docs-html/current/fcl/process/runcommand.html
>
But it looks like it hangs around until the started process exits...
How can I set a timeout on the ex
On Sun, 19 Jul 2020 17:51:59 +0200 (CEST), Michael Van Canneyt
wrote:
>
>
>On Sun, 19 Jul 2020, Bo Berglund via fpc-pascal wrote:
>
>> On Sun, 19 Jul 2020 08:46:14 +0200 (CEST), Michael Van Canneyt
>> wrote:
>>
>>> Various RunCommand procedures in proce
I am using FindAllFiles in order to list the files in a directory and
it works fine.
But I also need the size and timestamp of the file so I searched the
net for it.
What I found was:
var T: TDateTime;
T := FileDateTodateTime(FileAge(filename));
But FileSize() needs a file argument to an open f
On Fri, 24 Jul 2020 00:29:10 +0200 (CEST), Michael Van Canneyt
wrote:
>
>
>On Fri, 24 Jul 2020, Bo Berglund via fpc-pascal wrote:
>
>> I am using FindAllFiles in order to list the files in a directory and
>> it works fine.
>>
>> But I also need the size and
I am using FindAllFiles() in order to enumerate the files of a certain
name pattern in a FPC application on Linux.
I am using Fpc 3.0.4 and Lazarus 2.0.8.
FindAllFiles() has a switch to search the files in subdirectories and
this works fine.
But I would like to enumerate the subdirectories themse
On Sat, 25 Jul 2020 10:51:37 +0200, Bart via fpc-pascal
wrote:
>On Sat, Jul 25, 2020 at 12:24 AM Bo Berglund via fpc-pascal
> wrote:
>
>> But I would like to enumerate the subdirectories themselves (without
>> the content).
>
>Take a look at how FindAllFiles is
On Sat, 25 Jul 2020 00:08:01 +0200, Bo Berglund via fpc-pascal
wrote:
>But I would like to enumerate the subdirectories themselves (without
>the content).
Turns out that there is a procedure FindAllDirectories() in
fileutil...
It does exactly what I need. :)
I wonder why Google failed to
On Thu, 13 Aug 2020 12:07:10 +0200, "Carsten Bager"
wrote:
>The links to download the Raspberry PI version, is not working.
>Does anyone know if there will be a PI version in the future
Why not simply check out the fpc sources via svn to the RPi and build
it yourself there?
You will need the see
I am working on the conversion of a service application from
Windows/Delphi to Linux/FPC.
When going through the code I found this procedure, which I do not
quite understand the workings of, can someone please explain how it
operates?
procedure Swap2(var Source);
var
H, L: word;
begin
H := Hi
On Fri, 14 Aug 2020 11:55:14 +0100, John Lee via fpc-pascal
wrote:
>Bo, don't think suggesting people should do it themselves (not very easy)
>is v helpful.- Carsten clearly wanted a precompiled version so just tell
>him where there is one! j.
A precompiled compiler is not really helpful either
What is the advantage of using synaser over serial in a simple non-gui
program running in the console in Linux?
I have been struggling making LazSerial work in a console app and been
adviced to instead use synaser (which is what lazserial is built on).
A few months back it seemingly started to wor
On Fri, 21 Aug 2020 20:06:04 +0200, Christo Crause via fpc-pascal
wrote:
>In my limited experience the FPC serial unit is a bit more low level than
>the components such as synaser etc. There is a bit more of a learning
>curve and one needs to decide whether to go blocking or not and how to
>hand
Tonight there was a power outage in my home where I have a RaspberryPi
4B development system with Lazarus 2.0.8 and Fpc 3.0.4.
When it happened the system was running including Lazarus.
Now when I start Lazarus I get to a dialog saying:
On Mon, 24 Aug 2020 09:59:19 +0200, Mattias Gaertner via fpc-pascal
wrote:
>> Can I copy this file from an RPi3B where I have installed the same
>> versions of Lazarus and Fpc in the same file locations (I use the same
>> install scripts on all RPi:s)?
>
>Yes.
>After start fix the paths in Tools
On Fri, 21 Aug 2020 21:03:31 +0200, Bo Berglund via fpc-pascal
wrote:
>Instead I need to add a thread for reading data so I can have an event
>driven reception of data. It would read available data and fire off a
>NotifyEvent to handle the incoming data in the main application.
I
On Mon, 31 Aug 2020 11:15:10 +0200 (CEST), Michael Van Canneyt via
fpc-pascal
wrote:
>
>
>On Mon, 31 Aug 2020, Bo Berglund via fpc-pascal wrote:
>
>> On Fri, 21 Aug 2020 21:03:31 +0200, Bo Berglund via fpc-pascal
>> wrote:
>>
>> But when doing this I have
On Mon, 31 Aug 2020 12:01:33 +0200, Bo Berglund via fpc-pascal
wrote:
>Thanks, I was worried about reading more data than specified.
>Now I can let the loop in Execute read say 10 bytes or so with timeout
>ane process these, then loop back after firing off the event.
Just a foll
On Tue, 01 Sep 2020 10:22:08 +0200, Bo Berglund via fpc-pascal
wrote:
>Maybe I could tie the timeout to the actual baud used? Slower speeds
>use longer timeout etc? Timeout could be set to the time it takes to
>transfer the number of bytes to read?
>
>And both arguments could be
On Tue, 1 Sep 2020 14:21:44 +0200 (CEST), Michael Van Canneyt via
fpc-pascal
wrote:
>You must still set the default value in the constructor.
>
>>
>> Note that the thread itself has no idea what is the baudrate in use so
>> it cannot calculate the proper value at the start of Execute...
>> And th
I get an error message when building a project after updating from SVN
to get the sources that build fine on another RPi4 identical in
configuration.
"Fatal: Cannot find LazSerial used by RemoteIO. Check if package
LazSerialPort is in the dependencies."
The LazSerial dependency has been *removed*
On Tue, 01 Sep 2020 21:07:56 +0200, Bo Berglund via fpc-pascal
wrote:
>I get an error message when building a project after updating from SVN
>to get the sources that build fine on another RPi4 identical in
>configuration.
>
>"Fatal: Cannot find LazSerial used by Remote
On Tue, 01 Sep 2020 22:46:55 +0200, Bo Berglund via fpc-pascal
wrote:
>STRANGE "SOLUTION", BUT WHY?
>
>So even though I am not really using *anything* in LazSerial I added
>LazSerialPort back to the dependencies and rebuilt the application.
&g
On Tue, 01 Sep 2020 23:55:08 +0200, Tomas Hajny via fpc-pascal
wrote:
>Well, I believe that this supposed mystery may be resolved easily. ;-)
>First of all - have you tried to find out what does the displayed error
>number (232) mean? Quick searching reveals that runtime error 232 may
>signali
On Wed, 02 Sep 2020 00:34:23 +0200, Tomas Hajny via fpc-pascal
wrote:
>On 2020-09-02 00:21, Bo Berglund via fpc-pascal wrote:
>
> .
> .
>> Strange because I have read that cthreads must be first in uses in the
>> lpr program files in order to make threads work.
>&
On Tue, 1 Sep 2020 20:31:57 +0200 (CEST), Michael Van Canneyt via
fpc-pascal
wrote:
>Yes, but you can only override a virtual constructor. The TThread
>constructor is not virtual.
I am doing the setup in a different way so I don't have to use Create.
My new FpSerialPort works fine now with the
I would like to create a buffer into which a thread can push incoming
data and the main thread can extract it for processing.
Data are coming from the serial port in a worker thread and should be
consumed by the main thread. The data is a byte stream.
Are there any good examples available?
I have
On Thu, 3 Sep 2020 10:22:17 +0200, Martin Frb via fpc-pascal
wrote:
>On 03/09/2020 10:09, Bo Berglund via fpc-pascal wrote:
>> I would like to create a buffer into which a thread can push incoming
>> data and the main thread can extract it for processing.
>> Data are coming
On Thu, 3 Sep 2020 15:47:53 +0200, Martin Frb via fpc-pascal
wrote:
>On 03/09/2020 14:54, Bo Berglund via fpc-pascal wrote:
>> Now to my question:
>> Is there some *example* around for using TLazThreadedQueue as a
>> circular buffer?
>> In the examples dir are only
Ì have a problem using TFpTimer on Linux (FPC 3.0.4, Lazarus 2.0.8 on
Raspbian).
The application is a small GUI test app where I have added a timer in
order to update the display with incoming data.
So I have it set up like this:
{$mode Delphi}
interface
uses
...
fptimer,
...
type
TfrmMa
On Mon, 7 Sep 2020 12:40:07 +0200 (CEST), Michael Van Canneyt via
fpc-pascal
wrote:
>> Why does the FpTimer event not fire?
>
>Do you call checksynchronize at regular intervals ? The default timer is
>threaded, and the OnTimer event is called in the main thread. For this to
>work, you need to cal
I have a script I use all the time to install FPC/Lazarus on Raspberry
Pi units when I configure for development.
Today when I was setting up a Raspberry PiZero I was hit with this
message when I was going to build fpc 3.0.4 (sources checked out from
svn):
Makefile:2790: *** The only supported
On Tue, 08 Sep 2020 00:59:51 +0200, Bo Berglund via fpc-pascal
wrote:
>Today when I was setting up a Raspberry PiZero I was hit with this
>message when I was going to build fpc 3.0.4 (sources checked out from
>svn):
>
>Makefile:2790: *** The only supported starting compiler ve
I am using RPi3 and RPi4 platforms when working on RPi projects with
Lazarus 2.0.8 and Fpc 3.0.4.
Now I realized that the binaries I create will probably not work on
PiZero and RPi2 devices because these are Arm6 and the dev platform is
Arm7.
Is there some project setting I can activate in order t
On Tue, 08 Sep 2020 15:11:07 +0200, Bo Berglund via fpc-pascal
wrote:
>Is there some project setting I can activate in order to build for
>*all* RPi devices by only using ARMv6 instructions?
I used Project/ProjectOptions/ConfigAndTarget and:
set Target CPU family = arm
set Target pro
On Mon, 7 Sep 2020 14:45:31 -0700 (MST), Brian via fpc-pascal
wrote:
>Bo,
>
>Most of the users on this forum have never interfaced with hardware , as you
>can see from the responses. Those who have interfaced with hardware have
>developed circular buffers which they know work , and they reuse th
On Tue, 8 Sep 2020 20:09:53 +0200, Jonas Maebe via fpc-pascal
wrote:
>On 08/09/2020 16:13, Bo Berglund via fpc-pascal wrote:
>> This happened also after I ran a Run/CleanUpAndBuild operation, so
>> clearly there is something I am missing here.
>
>Is your FPC installation
On Wed, 09 Sep 2020 00:03:29 +0200, Bo Berglund via fpc-pascal
wrote:
>No, it is on an RPi4 so it is ArmV7.
In fact I have been told on the RPi forum RPi4 is Armv8
Armv6: Pi0, PiB, PiA+
Armv7: Pi2Bv1.1
Armv8: Pi2Bv1.2, Pi3, Pi4
But they could not advice how to use a newer RPi (higher numbe
On Wed, 09 Sep 2020 17:34:14 +0200, Tomas Hajny via fpc-pascal
wrote:
>> Question:
>> Can I make a parallel installation of FPC and Lazarus on my RPi4 which
>> is using the Armv6 settings during the make and thus get a system that
>> will produce compatible programs?
>>
>> Or do I have to scrap
I am not very informed about how make works when building fpc
installations, I have just used commands I have gathered online and it
has worked...
Now I would like to know:
1) Does make clean inside the fpc source dir erase ALL of the binaries
produced by an earlier build inside that source tree?
On Fri, 11 Sep 2020 16:58:50 -0400, James Richters via fpc-pascal
wrote:
>I'm trying to figure out how to send and receive Arrays of Bytes or perhaps a
>buffer of hex codes over TCP/IP, but everything I find seems to want to send
>and receive strings. Can someone please point me in the right
On Sat, 12 Sep 2020 01:54:20 +0200, Tomas Hajny via fpc-pascal
wrote:
>> 3) Does the following command overwrite existing files from an earlier
>> attempt so the CPU target can be replaced?
>> For ARMv7:
>> make install OPT="-dFPC_ARMHF" PREFIX=/home/pi
>> FPC="/home/pi/dev/ppcarm"
>> For ARMv6:
On Sat, 12 Sep 2020 01:54:20 +0200, Tomas Hajny via fpc-pascal
wrote:
>> Hopefully
>>
>> make clean
>> make all
>> make install
>>
>> with the proper options will do the trick
>> TIA..
>
>They should.
Progress update:
I proceeded to create a script that rebuilds fpc using
On Wed, 09 Sep 2020 23:47:28 +0200, Bo Berglund via fpc-pascal
wrote:
>OK, I conducted an experiment tonight, it took a while:
>
>1) Grabbed a new SDcard and wrote PiOS Lite on it.
>
>2) Configured the SDcard in another RPi4 where I can access all of the
>new SD and put my fav
On Wed, 23 Sep 2020 08:28:20 -0700, Ralf Quint via fpc-pascal
wrote:
>Similar like moving code blocks around in
>Python with a one-off indentation and all the sudden the flow of that
>code changes, without complaining...
This use of whitespace as block delimiter is why I never could cope
with
I am trying to find the cause of a linker error when building my
application on Linux.
While doing this I looked in the project file projname.lpi and found
this strange entry:
Why is the path delimiter defined inside the project information file?
And what are th consequences when m
On Sun, 27 Sep 2020 19:44:36 +0200, Sven Barth via fpc-pascal
wrote:
>> I am not using wsmenus...
>>
>
>Yes, you are, even if it is indirectly. Otherwise the compiler or linker
>wouldn't complain about it.
>
It would be very good if the linker could be told to show a message
saying from where th
On Sun, 27 Sep 2020 22:07:16 +0200, Bo Berglund via fpc-pascal
wrote:
>The only required packages for my application now are:
>LCLBase and indylaz. And if I remove LCLBase it still compiles OK but
>also still fails the link step.
I finally got it to compile!
What I did was to add Inte
On Sun, 27 Sep 2020 23:40:09 +0200, Bo Berglund via fpc-pascal
wrote:
>On Sun, 27 Sep 2020 22:07:16 +0200, Bo Berglund via fpc-pascal
> wrote:
>
>>The only required packages for my application now are:
>>LCLBase and indylaz. And if I remove LCLBase it still compiles OK but
&
I would like to know if data containers of type packed record are
zeroed when the item is declared?
type
TMyRecord = packed record
AField1: byte;
AField2: word;
AField3: single;
AField4: boolean;
AField5: array[0..15] of Cardinal;
end;
procedure SomeProc;
var
myRec: TMyR
On Thu, 8 Oct 2020 10:47:52 +0200 (CEST), Michael Van Canneyt via
fpc-pascal
wrote:
>
>
>On Thu, 8 Oct 2020, Bo Berglund via fpc-pascal wrote:
>
>> I would like to know if data containers of type packed record are
>> zeroed when the item is declared?
>>
>>
On Thu, 8 Oct 2020 13:04:43 +0200 (CEST), Michael Van Canneyt via
fpc-pascal
wrote:
>> OK,
>> is it possible to define the TMyRecord with default values so that
>> when I do Default(TMyRecord) it will be non-zero defaults written
>> instead of zeros?
>
>No. You will always need code for that.
OK
On Thu, 8 Oct 2020 23:00:32 +0200 (CEST), Michael Van Canneyt via
fpc-pascal
wrote:
>
>
>On Thu, 8 Oct 2020, Ryan Joseph via fpc-pascal wrote:
>
>>
>>
>>> On Oct 8, 2020, at 5:14 AM, gabor via fpc-pascal
>>> wrote:
>>>
>>> You can define typed constant and assign it to variable.
>>>
>>> type
I have not gotten any new posts on the Lazarus list since 2 weeks now
(last seen was Oct 8th).
Has it been stopped or is there a Gmane connectivity issue?
I am communicating with the free-pascal.general list and lazarus via
Gmane news interface.
--
Bo Berglund
Developer in Sweden
_
On Thu, 22 Oct 2020 18:26:22 +0200, Winfried Bartnick via fpc-pascal
wrote:
>
>Am 22.10.20 um 16:17 schrieb Bo Berglund via fpc-pascal:
>> I have not gotten any new posts on the Lazarus list since 2 weeks now
>> (last seen was Oct 8th).
>> Has it been stopped or is th
On Tue, 8 Dec 2020 06:37:56 -0500, James Richters via fpc-pascal
wrote:
>Great idea! Thank you for the suggestion, that sould make it very easy to
>track down.
>
>> Separate your big one line into a lot of lines like
>
>James
>
The suggestion was to make *your post* readable...
As it is it con
On Sun, 27 Dec 2020 21:15:03 +0100, Jean SUZINEAU via fpc-pascal
wrote:
>I think TBlockSerial can work in your console program context. May be
>TLazSerial can be more tricky to use in your context, you'll need to use
>events/callbacks and FCL.
I have struggled with LazSerial in a console prog
On Sun, 27 Dec 2020 10:47:59 -0500, James Richters via fpc-pascal
wrote:
>I'm trying to figure out how to read a packet of HEX Bytes of an unknown
>length that have no specific termination character over a serial port as
>efficiently as practical.
What exactly do you mean by HEX Bytes?
Hex trans
On Sun, 27 Dec 2020 18:20:32 -0500, James Richters via fpc-pascal
wrote:
>>On Sun, 27 Dec 2020 10:47:59 -0500, James Richters via fpc-pascal
>> wrote:
>>
>>>I'm trying to figure out how to read a packet of HEX Bytes of an
>>>unknown length that have no specific termination character over a
>>>s
On Mon, 28 Dec 2020 14:12:02 +0100, Jean SUZINEAU via fpc-pascal
wrote:
>Le 28/12/2020 à 13:16, Bo Berglund via fpc-pascal a écrit :
>> Synchronize(CallEvent); //Supply received data in FBuffer to
>> caller
>
>You are using TThread.Synchronize.
>
>In a co
On Sat, 2 Jan 2021 15:31:11 +0100 (CET), Michael Van Canneyt via
fpc-pascal
wrote:
>
>Hello !
>
>I didn't make it quite in time for the new year, but still:
>
>The fpdoc engine (what is used to document the FPC & Lazarus units)
>is now capable of outputting the documentation in markdown.
>
Ques
On Mon, 4 Jan 2021 11:38:09 +0100 (CET), Michael Van Canneyt via
fpc-pascal
wrote:
>> Is there an MD renderer created with free pascal that can be plugged
>> into Apache webserver so that the MD files are rendered correctly in
>> any browser?
>
>You can use for example this one to translate markd
I have an Ubuntu 18.04 laptop on which I have installed fpc 3.0.4/Lazarus 2.0.8
from sources via svn almost a year back into *my home dir*. No system-wide
install.
Now I am in the process of also installing fpc 3.2.0 from sources.
I have a script for installing on a clean machine that I am reading
On Sat, 6 Feb 2021 01:15:46 +, Graeme Geldenhuys via fpc-pascal
wrote:
>On 05/02/2021 11:18 pm, Bo Berglund via fpc-pascal wrote:
>> Can they share the same fpc.cfg file (or rather .fpc.cfg)?
>
>Yes, I've been doing so for probably the last 10 years. I have
>7
On Sat, 06 Feb 2021 10:53:51 +0100, Bo Berglund via fpc-pascal
wrote:
FOLLOW-UP:
>BTW, my installs sit in:
>fpc: $HOME/dev/fpc/$fpcversion
>lazarus: $HOME/dev/lazarus/$lazversion
>
I have symlinked the compiler as follows:
ll ~/bin/pp*
lrwxrwxrwx 1 bosse bosse 32 2020-04-
On Mon, 8 Feb 2021 17:20:12 +, Graeme Geldenhuys via fpc-pascal
wrote:
>On 06/02/2021 10:07 am, Bo Berglund via fpc-pascal wrote:
>> How do you manage different versions of the compiler in Lazarus?
>
>This is where I believe MSEide does things much better that Lazarus,
On Sat, 20 Feb 2021 13:49:26 +0100, Sven Barth via fpc-pascal
wrote:
>Lazarus is nothing new. It's around 20 years old as well and is a very
>stable and comfortable IDE for Free Pascal. You can use it for both GUI and
>console development and especially the code utilities and the debugger
>integr
I am installing fpc 3.2.0 on a notebook running Ubuntu 20.04 LTS
When I execute make clean and make sourceinstall I get this strange output
message:
:~/dev/fpc/3.2.0$ time make sourceinstall PREFIX=$HOME
make: -iVSPTPSOTO: Command not found
What does it mean? What have I missed to prepare?
I h
On Thu, 25 Feb 2021 10:59:14 +0100, Marco van de Voort via fpc-pascal
wrote:
>
>Op 2021-02-25 om 10:12 schreef Bo Berglund via fpc-pascal:
>> I am installing fpc 3.2.0 on a notebook running Ubuntu 20.04 LTS
>> When I execute make clean and make sourceinstall I get this strange
On Thu, 25 Feb 2021 13:38:30 +0100, Bo Berglund via fpc-pascal
wrote:
>>Missing FPC install. It can't find a "fpc" binary
>
>Is this a hen-and-egg situation?
>
>I am installing fpc/lazarus for the first time on this computer and I am doing
>it from sourc
On Thu, 25 Feb 2021 14:15:12 +0100, Mattias Gaertner via fpc-pascal
wrote:
>The Lazarus team is glad to announce the release of Lazarus 2.0.12.
>
HELP!
I just installed 2.0.12 on an Ubuntu Mate 20.04 and when I use the form designer
the Object Inspector dropdown lists where one selects among fixe
I have a control application that uses GPIO pins to switch ON/OFF power feed to
a data collection system and to start it using a trigger pulse.
Now I am trying to remotely debug this system and I have trouble knowing in
which power state it is actually in...
I am using the "driver" PiGpio.pas by
On Mon, 22 Mar 2021 11:25:04 +0100, Bo Berglund via fpc-pascal
wrote:
>Question:
>-
>Can two different applications access the (same) GPIO pins without permission
>problems?
>
>In my case I only need read access to the active pins so I can display the
>state
>in
On Tue, 27 Apr 2021 10:52:28 -0600, Ryan Joseph via fpc-pascal
wrote:
>
>
>> On Apr 27, 2021, at 9:58 AM, Michael Van Canneyt
>> wrote:
>>
>> Wait.
Is this thread intentionally moved from fpc-devel?
Seems to have started there but suddenly moved to general
--
Bo Berglund
Developer in S
1 - 100 of 251 matches
Mail list logo