On Tue, 25 Feb 2025 22:47:29 +0100, Tomas Hajny via fpc-pascal
wrote:
>On 2025-02-25 22:09, Jean SUZINEAU via fpc-pascal wrote:
>> I haven't done it recently but basically on Windows you have keys in
>> the registry under HKEY_CLASSES_ROOT to associate your program with a
>> specific file extensi
I have created a Video Player application to be used in order to create the
ffmpeg command to edit a video file according to cut points evaluated inside the
program. I have used the PasLibVLC library for the video handling.
But I have found that it is also useful as a regular video player where I
On Mon, 16 Dec 2024 15:06:45 +0100, Bo Berglund via fpc-pascal
wrote:
>On Mon, 16 Dec 2024 14:19:56 +0100 (CET), Michael Van Canneyt via fpc-pascal
> wrote:
>
>>
>>
>>On Mon, 16 Dec 2024, Bo Berglund via fpc-pascal wrote:
>>
>>> I have written a c
On Mon, 16 Dec 2024 14:19:56 +0100 (CET), Michael Van Canneyt via fpc-pascal
wrote:
>
>
>On Mon, 16 Dec 2024, Bo Berglund via fpc-pascal wrote:
>
>> I have written a command line utility program on Linux using Lazarus as the
>> IDE.
>> This was done a while
I have written a command line utility program on Linux using Lazarus as the IDE.
This was done a while ago on an Ubuntu Desktop 20.04 machine, which I normally
access using VNC when doing Lazarus work there.
Now since a few months the TigerVNC server on that machinbe won't start anymore
so I canno
On Sat, 10 Aug 2024 13:32:12 +0200, Luca Olivetti via fpc-pascal
wrote:
>El 10/8/24 a les 11:28, Jeppe Johansen via fpc-pascal ha escrit:
>
>> It's fairly straight-forward to use this on executables. You point it at
>> the EXE and the code signing certificate you will use.
>
>I guess you'll have
I have been using FreePascal (and before that Delphi) for many years and it has
worked fine. I am now retired and only perform maintenance work.
And now I am getting a request for "signing" the applications (and/or possibly
the installers made by InnoSetup) and I have no idea on how to do this.
I have been working on troubleshooting a command line FreePascal project for a
couple of weeks now and when I look in the project dir it is full of link files:
2021-09-12 10:2323 900 link.res
2024-01-15 00:3023 833 link11600.res
2024-01-13 10:3923 833 link172
On Thu, 16 Nov 2023 13:15:27 +0100, Bo Berglund via fpc-pascal
wrote:
>I tried to post this to the devel list but it seems to have failed so now
>trying
>the general list instead...
>
>See ticket:
>https://gitlab.com/freepascal.org/fpc/source/-/issues/39295
>
>It was
On Thu, 30 Nov 2023 10:50:02 +0100 (CET), Michael Van Canneyt via fpc-pascal
wrote:
>> Somewhere in the process above the newly built compiler/ppcarm disappears
>> from
>> the compiler dir
>>
>> Is this what should happen or is it an error?
>
>Because installing sources requires a 'clean' so
I have for many years been building my Linux versions of fpc and lazarus from
sources downloaded first from the svn repository and later from github.
When doing the build on a new Linux system I need a seed compiler for the
platform and I usually get that from earlier builds on other devices.
To si
On Tue, 21 Nov 2023 10:33:46 +0100, Tomas Hajny via fpc-pascal
wrote:
>On November 21, 2023 8:33:55 +0100, Bo Berglund via fpc-pascal
> wrote:
>>I did not know that there is a library of seed compilers available on
>>Sourceforge, I thought everything had moved over to GitLab
On Sat, 18 Nov 2023 13:31:51 +0100, Sven Barth via fpc-pascal
wrote:
>Bo Berglund via fpc-pascal schrieb am
>Sa., 18. Nov. 2023, 11:32:
>
>> Today after realizing that I did the following on an RPi4B where I have
>> used apt
>> to install the fpc compiler so I
On Fri, 17 Nov 2023 11:27:53 +0100, Sven Barth via fpc-pascal
wrote:
>Bo Berglund via fpc-pascal schrieb am
>Do., 16. Nov. 2023, 08:19:
>
>> From the Lazarus list:
>>
>> >Just a quick follow-up here:
>> >It seems like the fpc sources have not been
I tried to post this to the devel list but it seems to have failed so now trying
the general list instead...
See ticket:
https://gitlab.com/freepascal.org/fpc/source/-/issues/39295
It was closed a year ago being purportedly resolved...
But only for powerpc 64 bit...
It is still there for aarch6
On Thu, 16 Nov 2023 08:19:17 +0100, Bo Berglund via fpc-pascal
wrote:
>I have tried every fpc source release from 3.2.2 up to trunk with the exact
>same
>result (here from a build try on trunk)
Forgot to mention that I am using fpcupdeluxe when installing fpc/lazarus on my
RPi4B with
>From the Lazarus list:
>Just a quick follow-up here:
>It seems like the fpc sources have not been updated with the solution to the
>bug
>discussed here:
>
>https://gitlab.com/freepascal.org/fpc/source/-/issues/39295
>
>This causes the build of Lazarus using fpcupdeluxe with the latest fpc 3.2.2
On Sun, 5 Nov 2023 10:36:47 +0100 (CET), Michael Van Canneyt via fpc-pascal
wrote:
>> So my question is this:
>> Is there a difference in handling the arguments between string, AnsiString,
>> RawByteString and TBytes in a declaration like this:
>>
>> function TSSConnection.ParseCmdFileData(var SS
I am maintaining an old utility program that started out about 20+ years ago
using Delphi7.
The utility communicates via RS232 with a measuring system in order to retrieve
and process recorded data and at the time this was started I used strings as
buffers for the serial comm.
A string at the tim
On Fri, 03 Nov 2023 19:47:01 +0100, Bo Berglund via fpc-pascal
wrote:
>I have now found that there is a Linux utility named socat, which apparently is
>able to map a serial port to a network socket server:
>
>https://www.acmesystems.it/socat
>
>Here they actually use ser2net as
On Fri, 03 Nov 2023 17:34:09 +0100, Bo Berglund via fpc-pascal
wrote:
>So ser2net seems like a logical use given that the RPi3 is already there
>connected by wire to the serial line and is available via VPN on the network. I
>have just checked (using PuTTY via VPN) that the RPi3 doe
On Fri, 3 Nov 2023 06:47:30 -0700, Wayne Sherman via fpc-pascal
wrote:
>Yes, there is software that bridges a serial connection over a
>network. On Windows it is often called a "virtual com port" or
>"virtual serial port" or "com port redirector".
>
>Open Source Linux:
>ser2net
>https://github.c
I am wondering if there is already available what I am needing?
My situation is the following:
I have a remote installation of a measuring equipment, which communicates
through RS232 to an RPi3 interface unit. On that there is a service that handles
the data sent both ways. But it is geared toward
On Mon, 01 May 2023 11:00:56 -0400, Bo Berglund via fpc-pascal
wrote:
>I am trying to create a function to list the available serial ports on a Linux
>device. But I have trouble getting commands which work on a terminal to also
>work when run from my console program.
>
>When I ru
On Mon, 1 May 2023 14:25:28 -0400, Travis Siegel via fpc-pascal
wrote:
>You could just add the line:
>
>#!/bin/bash
>
>to the first line of your script, then just call the script from your
>program.
>
>Alternatively, you could call the bash command, and pass the command to
>it that way, either
I am trying to create a function to list the available serial ports on a Linux
device. But I have trouble getting commands which work on a terminal to also
work when run from my console program.
When I run this conmmand in the terminal I get the correct reply:
$ ls -l /sys/class/tty/*/device/driv
On Tue, 25 Apr 2023 08:25:01 +0200 (CEST), Michael Van Canneyt via fpc-pascal
wrote:
>
>
>On Mon, 24 Apr 2023, Thomas Kurz via fpc-pascal wrote:
>
>> I always use ScanDateTime for such purposes:
>>
>> https://www.freepascal.org/docs-html/rtl/dateutils/scandatetime.html
>>
>> You can explicitly de
I have a device that sends data over the serial port with a timestamp in this
format:
(230424194642W)
This is coded as yymmddhhnnss and the last char designates daylight savings
(S)ummer or normal (W)inter time. In the example above it is W for normal winter
time.
What I have done so far is:
- R
On Thu, 20 Apr 2023 08:40:48 +0200 (CEST), Michael Van Canneyt via fpc-pascal
wrote:
>> I found this page:
>> https://www.freepascal.org/docs-html/rtl/system/copy.html
>>
>> Here there is also reference to the other functions for strings:
>> Delete (string and dyn array)
>> Copy(string and d
I am transferring data via serial comm and they wind up inside a TBytes dyn
array.
Now I want to easily find a certain pattern of bytes inside that array, but how?
I have a cludge that does not feel right but works and I want to get it replaced
by the "correct" way of doing it.
So what I have don
On Thu, 13 Apr 2023 00:06:16 +0200, Sven Barth via fpc-pascal
wrote:
>Bo Berglund via fpc-pascal schrieb am
>Mi., 12. Apr. 2023, 21:17:
>
>> Now my question:
>>
>> Since I am modifying the WArgs variable inside the BuildArgumentsArray
>> f
I am wondering how to deal with this var or not in function calls:
In a processing program where I am building the command arguments for a write
operation by analyzing incoming commands and splitting the data such that the
write can be fully done by executing a series of smaller write commands for
On Mon, 23 Aug 2021 23:01:39 +0200, Bart via fpc-devel
wrote:
Replying here since my attempt at replying in the devel group failed...
>On Mon, Aug 23, 2021 at 8:04 PM Bart wrote:
>
>> And, of course, the guide on how to remove this utility
>> (https://www.intel.com/content/www/us/en/support/ar
On Wed, 5 Apr 2023 17:57:00 +0200, Christo Crause via fpc-pascal
wrote:
>The use of WriteBytesToReg in the TI2c_eeprom.WriteData method seems fine,
>perhaps retest with the updated WriteBytesToReg method.
I pulled the i2c.pas file from GitHub (actually downloaded the zip since I don't
really kno
On Wed, 5 Apr 2023 11:40:09 +0200, Christo Crause via fpc-pascal
wrote:
>Looking at the datasheet for CAT24C128, Fig. 6 Byte Write Sequence, shows
>no repeated start condition between register address and data bytes. I
>suspect that the second i2c message should contain the I2C_M_NOSTART flag,
>el
On Wed, 05 Apr 2023 00:33:50 +0200, Bo Berglund via fpc-pascal
wrote:
>On Tue, 4 Apr 2023 23:43:21 +0200, Christo Crause via fpc-pascal
> wrote:
>
>
>>Is your startaddress variable an unsigned 16 bit integer
>>(word/uint16)? If not, type cast this to a uint16 to ensure
On Tue, 4 Apr 2023 23:43:21 +0200, Christo Crause via fpc-pascal
wrote:
>> if not i2cMaster.WriteBytesToReg(FEEPROMAddr, startaddress, @source[0],
>> NumBytes) then
>>
>> Here the source argument is a TBytes array of bytes so I supply the
>> address of
>> element 0 as the data argument (expected
On Sun, 02 Apr 2023 23:21:38 +0200, Bo Berglund via fpc-pascal
wrote:
>On Sun, 2 Apr 2023 23:14:25 +0200, Christo Crause via fpc-pascal
> wrote:
>
>>On Sun, Apr 2, 2023 at 9:30?PM Bo Berglund via fpc-pascal <
>>fpc-pascal@lists.freepascal.org> wrote:
>>
>&
On Mon, 03 Apr 2023 15:09:38 -0400, Dennis Lee Bieber via fpc-pascal
wrote:
>On Mon, 03 Apr 2023 20:55:43 +0200, Bo Berglund via fpc-pascal
> declaimed
>the following:
>
>>I just tested by writing four 0x00 bytes in a row, then verifying that the
>>memory read shows t
On Mon, 3 Apr 2023 14:37:48 -0400, "Jeffrey A. Wormsley via fpc-pascal"
wrote:
>I noticed you put the part number in the original email.
>
>Interestingly, the data sheet mentions 64 byte pages, and 1,000,000 erase
>cycles, but does not mention the need to erase a page before writing. So
>perhaps
On Mon, 03 Apr 2023 20:55:43 +0200, Bo Berglund via fpc-pascal >On Mon, 3 Apr
2023 14:26:17 -0400, "Jeffrey A. Wormsley via fpc-pascal"
> wrote:
>
>>I've been using i2c and SPI eeproms for almost two decades. All of them
>>can read/write a single byte if
>On Mon, Apr 3, 2023 at 10:53?AM Bo Berglund via fpc-pascal <
>fpc-pascal@lists.freepascal.org> wrote:
>
>> On Mon, 3 Apr 2023 08:42:12 -0400, "Jeffrey A. Wormsley via fpc-pascal"
>> wrote:
>>
>> >>
>> >> i2c_read_re
On Mon, 3 Apr 2023 08:42:12 -0400, "Jeffrey A. Wormsley via fpc-pascal"
wrote:
>>
>> i2c_read_reg works too inasmuch as it does not error out, but it returns FF
>> whatever addres I read like the i2c-tools command does.
>> I am not sure that it is correct though...
>>
>
>Yes this is expected, as
On Sun, 2 Apr 2023 23:14:25 +0200, Christo Crause via fpc-pascal
wrote:
>On Sun, Apr 2, 2023 at 9:30?PM Bo Berglund via fpc-pascal <
>fpc-pascal@lists.freepascal.org> wrote:
>
>> Is there a reason that there is no i2c_write_reg demo in the github
>> package?
>>
On Sun, 02 Apr 2023 15:07:48 -0400, Dennis Lee Bieber via fpc-pascal
wrote:
>On Sun, 02 Apr 2023 16:16:46 +0200, Bo Berglund via fpc-pascal
> declaimed
>the following:
>
>
>>
>>
>>Byte Write
>
On Sun, 2 Apr 2023 07:31:43 +0200, Christo Crause via fpc-pascal
wrote:
>On Sat, Apr 1, 2023 at 9:57?PM Bo Berglund via fpc-pascal <
>fpc-pascal@lists.freepascal.org> wrote:
>
>> Question:
>> Can I use Linux file system commands to read/write the data on the i2c
>&g
On Sun, 02 Apr 2023 10:23:24 +0200, Bo Berglund via fpc-pascal
wrote:
>On Sun, 2 Apr 2023 07:31:43 +0200, Christo Crause via fpc-pascal
> wrote:
>
>>On Sat, Apr 1, 2023 at 9:57?PM Bo Berglund via fpc-pascal <
>>fpc-pascal@lists.freepascal.org> wrote:
>>
>&
On Sun, 2 Apr 2023 07:31:43 +0200, Christo Crause via fpc-pascal
wrote:
>On Sat, Apr 1, 2023 at 9:57?PM Bo Berglund via fpc-pascal <
>fpc-pascal@lists.freepascal.org> wrote:
>
>> Question:
>> Can I use Linux file system commands to read/write the data on the i2c
>&g
On Sat, 1 Apr 2023 20:30:02 -0400, Travis Siegel via fpc-pascal
wrote:
>Generally, raspberry pi devices connected to other devices will (by
>default) use python for their programming. The python libs have all the
>setup and tear down code built in. You can use C as well, so I see no
>reason
I need to read and write data to an EEPROM connected by I2C on a RaspberryPi4.
The I2C channel is found in /dev as i2c-1:
$ ll /dev/i2*
crw-rw 1 root i2c 89, 1 2019-02-14 11:12 /dev/i2c-1
In this channel the EEPROM CAT24C128 is at address 0x50
The data on the device is organized as 256 pages
On Thu, 30 Mar 2023 10:02:49 +0200, Tomas Hajny via fpc-pascal
wrote:
>On 30 March 2023 9:36:35 +0200, Marco van de Voort via fpc-pascal
> wrote:
>>On 30-3-2023 07:38, Bo Berglund via fpc-pascal wrote:
>>> The problem seems to be that neither is a valid COFF file acc
On Wed, 29 Mar 2023 19:27:12 -0400, Dennis Lee Bieber via fpc-pascal
wrote:
> I'd expect trying to link a 32-bit object file into a 64-bit
>application to result in all sorts of possible errors.
That is not the case here, they have supplied two obj files, one is 32 and the
other 64 bit.
Th
On Wed, 22 Mar 2023 14:17:23 +0100, Sven Barth via fpc-pascal
wrote:
>Then you should ask them for a suitable 64-bit object file (I assume that
>they'll provide the one for C which they probably also did for you back
>then and then you might need to adjust the import unit a bit to be usable
>with
On Tue, 28 Mar 2023 13:47:30 +0200, Marco van de Voort via fpc-pascal
wrote:
>
>On 28-3-2023 13:43, Bo Berglund via fpc-pascal wrote:
>> make install prefix="$HOME" FPC="$HOME/dev/fpc/3.2.2/compiler/ppcarm"
>
>It is install_prefix= not install prefix= iow,
I have a RaspberryPi4 where I have installed several versions of Lazarus/Fpc
over some time.
The latest versions are (fpc from Tools/Options/Compiler_executable):
Laz 2.0.8 with Fpc 3.0.4 set to use fpc: fpc
Laz 2.0.10 with Fpc 3.2.0 set to use fpc: /home/pi/lib/fpc/3.2.0/ppcarm
Laz 2.0.12 with F
On Sat, 25 Mar 2023 23:25:07 +0100, Bo Berglund via fpc-pascal
wrote:
>I have latest Lazarus/Fpc on my Windows 10 main computer, but also on a number
>of RaspberryPi (3 and 4) devices. If I create an application on Windows and
>want
>to build the same for RPi, then I have to
I have latest Lazarus/Fpc on my Windows 10 main computer, but also on a number
of RaspberryPi (3 and 4) devices. If I create an application on Windows and want
to build the same for RPi, then I have to transfer the sources (via Subversion)
to the RPi and build there.
And doing so requires me to us
On Fri, 24 Mar 2023 22:20:15 +0100, Bo Berglund via fpc-pascal
wrote:
>I thought Online Package Manager was standard since it appeared in all earlier
>installs I have made both using Sourceforge Windows installers or via sources
>downloaded with SVN or Git and building on Linux.
>
I thought Online Package Manager was standard since it appeared in all earlier
installs I have made both using Sourceforge Windows installers or via sources
downloaded with SVN or Git and building on Linux.
Now I have tested fpcupdeluxe on Windows and it looked at first to work OK, but
when I want
On Fri, 24 Mar 2023 07:38:30 +0100, Bo Berglund via fpc-pascal
wrote:
>On Thu, 23 Mar 2023 09:47:36 +0100, Martin Frb via fpc-pascal
> wrote:
>
>>On 23/03/2023 09:25, Bo Berglund via fpc-pascal wrote:
>>>
>>> Then opened Lazarus 2.2.4 with my project and chang
On Thu, 23 Mar 2023 09:47:36 +0100, Martin Frb via fpc-pascal
wrote:
>On 23/03/2023 09:25, Bo Berglund via fpc-pascal wrote:
>>
>> Then opened Lazarus 2.2.4 with my project and changed project options as
>> follows:
>>
>> Compiler_Options/Config_and_Target/Targ
On Wed, 22 Mar 2023 13:56:59 +0100, Bo Berglund via fpc-pascal
wrote:
>On Wed, 22 Mar 2023 12:33:16 +0100, Giuliano Colla via fpc-pascal
> wrote:
>
>>Il 22/03/2023 11:18, Bo Berglund via fpc-pascal ha scritto:
>>
>>> If I have fpc 3.2.2 inbstalled on Windows
I tried to add a cross-compiler for Win32 to my existing Lazarus 2.2.4
installation on Windows 10 x64.
So I followed the instructions on the fpc wiki:
https://wiki.freepascal.org/Cross_compiling#From_win64_to_win32
The link to SF from the Wiki got me to SF and I could download the cross exe I
nee
On Wed, 22 Mar 2023 12:33:16 +0100, Giuliano Colla via fpc-pascal
wrote:
>Il 22/03/2023 11:18, Bo Berglund via fpc-pascal ha scritto:
>
>> If I have fpc 3.2.2 inbstalled on Windows 10 x64 I assume it is a 64 bit
>> target
>> exe which will be the output, right?
>If i
On Wed, 22 Mar 2023 12:33:16 +0100, Giuliano Colla via fpc-pascal
wrote:
>Il 22/03/2023 11:18, Bo Berglund via fpc-pascal ha scritto:
>
>> If I have fpc 3.2.2 inbstalled on Windows 10 x64 I assume it is a 64 bit
>> target
>> exe which will be the output, right?
>If i
On Wed, 22 Mar 2023 11:18:10 +0100, Bo Berglund via fpc-pascal
wrote:
>
>I guess I have to just create a simple program which reads the key data and
>does
>nothing else to check if the handling will actually work...
>Or convert a small tool we already have from Delphi7 to Laza
On Wed, 22 Mar 2023 08:01:57 +0100, Sven Barth via fpc-pascal
wrote:
>Bo Berglund via fpc-pascal schrieb am
>Di., 21. März 2023, 23:54:
>
>> 1) How should I go about translating the above to current FreePascal
>> syntax?
>>
>> This involves:
>>
On Wed, 22 Mar 2023 00:19:58 +0100 (CET), Michael Van Canneyt via fpc-pascal
wrote:
>Maybe the THALES company has a 64-bit version of the .OBJ file.
OK, I will try and get some answers from them.
Problem is that they seem to have concentrated on Microsoft dev tools so lat
time I looked there was
We have a number of old Delphi7 applications which are in need of porting over
to FreePascal. I have successfully done a number of these ports in the last few
years...
But now I am up against a bit of a problem regarding software we have protected
using an USB connected hardware key originally boug
On Tue, 25 Oct 2022 08:30:19 +0200, Bo Berglund via fpc-pascal
wrote:
>I am working on a handler for IoT data from an electricity meter which
>communicates via TTL serial at 115200 baud. It only sends data in packets of
>less than 1 kbytes every 5-10 seconds.
>
>In order to vali
I am working on a handler for IoT data from an electricity meter which
communicates via TTL serial at 115200 baud. It only sends data in packets of
less than 1 kbytes every 5-10 seconds.
In order to validate the data I need to check the CRC16 checksum at the end and
here is where I don't find a go
On Sun, 23 Oct 2022 23:40:32 +0200, Jean SUZINEAU via fpc-pascal
wrote:
>Le 23/10/2022 à 22:50, Jean SUZINEAU via fpc-pascal a écrit :
>>
>> This way you'll receive the output of mosquitto_sub on the standard
>> input of SomePascalProgram.
>>
>A very small example for SomePascalProgram for use
On Sun, 23 Oct 2022 11:51:31 +0200, Bo Berglund via fpc-pascal
wrote:
>TESTING.
>No it does not work!
>The mosquitto output cannot be redirected like this because it seems to be
>printed to an output screen which is not redirectable...
>All that happens is that an empty fil
On Sun, 23 Oct 2022 05:19:24 +0200, Jean SUZINEAU via fpc-pascal
wrote:
>Le 22/10/2022 à 23:37, Bo Berglund via fpc-pascal a écrit :
>> If I could get at each output that mosquitto_cli writes into a script or such
>> then I would be good to go.
>Maybe with a redirection ( >
On Fri, 21 Oct 2022 16:32:17 +0200, Koenraad Lelong via fpc-pascal
wrote:
>FWIW,
>I'm using MQTT via cmd-line. I.e. I call
> ExecuteProcess(MQTTExec,MQTTStrArr);
>while MQTTExec is /usr/bin/mosquitto_pub
>
>That's on a linux-server.
I can use mosquitto for the pub part because that is a one-tim
On Thu, 20 Oct 2022 11:11:17 +0200, Bo Berglund via fpc-pascal
wrote:
>On Tue, 11 Oct 2022 19:42:26 +0200 (CEST), Karoly Balogh via fpc-pascal
> wrote:
>
>>Hi,
>>
>>On Tue, 11 Oct 2022, Bo Berglund via fpc-pascal wrote:
>>
>>> I am looking for a pascal
On Tue, 11 Oct 2022 19:42:26 +0200 (CEST), Karoly Balogh via fpc-pascal
wrote:
>Hi,
>
>On Tue, 11 Oct 2022, Bo Berglund via fpc-pascal wrote:
>
>> I am looking for a pascal implementation of the MQTT protocol.
>> I could not find anything inside Lazarus' OnLineP
I am looking for a pascal implementation of the MQTT protocol.
I could not find anything inside Lazarus' OnLinePackageManager.
Is there something like that available?
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.free
On Mon, 6 Jun 2022 08:26:47 +0700, Hairy Pixels via fpc-pascal
wrote:
>First off I didnt see Anthonys original email, just like Sven says he
>doesnt see mine.
>Whats going on here? Im using a Gmail account because my personal domain was
>getting
>rejected for some reason, is Anthony on G
On Sun, 09 Jan 2022 17:46:00 +0100, Bo Berglund via fpc-pascal
wrote:
>I have been adviced to use xidel to analyze the content of websites, so when
>searcing for it I found that it is a FreePascal utility with the sources on
>GitHub.
>https://www.videlibri.de/xidel.html
>So I
I have been adviced to use xidel to analyze the content of websites, so when
searcing for it I found that it is a FreePascal utility with the sources on
GitHub.
https://www.videlibri.de/xidel.html
So I tried to get it going.
Buit when I tried to compile the utility using Lazarus 2.0.12/FPC 3.2.0 it
On Wed, 22 Dec 2021 17:07:55 +0100, Sven Barth via fpc-pascal
wrote:
>Bo Berglund via fpc-pascal schrieb am
>Mi., 22. Dez. 2021, 16:08:
>
>> So I wonder if there is a value range limitation for the arguments inside
>> an in
>> command like:
>> if a in [x..y] th
I have been debugging a file analyzer program which is supposed to show a record
if one clicks in the hex representation of the binary file content.
I have a function which will grab the start and length of a record given the
address clicked on.
The file contains several different sections, basic
On Mon, 6 Dec 2021 13:29:31 +0100, Marco van de Voort via fpc-pascal
wrote:
>
>Op 6-12-2021 om 12:53 schreef Bo Berglund via fpc-pascal:
>>
>>
>> I.e. should I use the newly compiled 3.2.2 in this step or the seed compiler,
>> which is the previous version?
>
I am building fpc 3.2.2 from sources on a Linux Mint x64 box.
When I compile fpc inside the downloaded source folder I use this:
make all FPC="$HOME/devel/fpc/ppcx64"
The FPC compiler in this case is 3.2.0, which I have built earlier on another
box. This works fine.
Now I am at the next step and
On Mon, 22 Nov 2021 16:47:29 +0100, Tomas Hajny via fpc-pascal
wrote:
>On 2021-11-22 16:21, Jonas Maebe via fpc-pascal wrote:
>> On 22/11/2021 16:02, Bo Berglund via fpc-pascal wrote:
>>> This is what happens when I execute the first make command inside the
>
I am trying to build fpc 3.2.2 on an Ubuntu 20.04.3 virtual machine while
documenting my steps along the way.
I am doing this so I can later repeat it on the real target and after getting
the fpc sources not through SVN but using this wget command which I received
after asking on the forum:
wget
h
On Sun, 24 Oct 2021 08:18:31 +, Alexander Grotewohl via fpc-pascal
wrote:
>In the end we have a black box with Indy that isn't going to be opened..
>and from the sound of it, a dated method of manually checking for i/o
>(in this case likely with select() and a zero timeout..). Calling that
On Sun, 17 Oct 2021 12:03:44 +0200 (CEST), Michael Van Canneyt via fpc-pascal
wrote:
>> Does this mean that:
>> _newselect is running for 207 ms during the 3 second test time?
>> (Which is 17 ms per call)
>>
>> And what is _newselect in the first place?
>
>Select (or _newselect) checks if there i
On Sun, 17 Oct 2021 00:43:51 +0200, Bo Berglund via fpc-pascal
wrote:
>timeout --signal=2 3s strace -f -c -p 488 -o tracelog2.log
>
>% time seconds usecs/call callserrors syscall
>-- --- --- - -
> 46.470.348
On Sat, 16 Oct 2021 18:16:57 -0400, Travis Siegel via fpc-pascal
wrote:
>
>On 10/16/2021 6:06 PM, Bo Berglund via fpc-pascal wrote:
>> Meanwhile the strace outputs stuff like this to the screen:
>> strace: Process 6360 attached
>> strace: Process 6361 attached
>>
On Fri, 8 Oct 2021 00:12:50 +0200 (CEST), Michael Van Canneyt via fpc-pascal
wrote:
>> No matter how long I wait it is now stuck at that double value.
>>
>> So clearly something must be left behind after the task has finished...
>>
>> The question is: how to find what is still using CPU?
>
>Run t
On Tue, 5 Oct 2021 10:22:44 +0200 (CEST), Michael Van Canneyt via fpc-pascal
wrote:
>> My program in Lazarus *is* a "simple program" and it has no GUI components.
>>
>> I never even looked at the implementation of CheckSynchronize()...
>> It was just given in another thread when I was working on
On Mon, 04 Oct 2021 12:46:32 -0400, Dennis Lee Bieber via fpc-pascal
wrote:
>
> COMMENT: here you ask about a non-GU /service/ application, but in your
>prior post you gave a code snippet. It may just be a documentation flaw,
>but...
>
>-=-=-
>{ function to be called when gui thread is read
On Mon, 04 Oct 2021 06:45:23 -0400, DougC via fpc-pascal
wrote:
> On Mon, 04 Oct 2021 04:36:32 -0400 Bo Berglund via fpc-pascal
> wrote
>
>
>>On Mon, 04 Oct 2021 10:28:38 +0200, Bo Berglund via fpc-pascal
><mailto:fpc-pascal@lists.freepascal.org> wrote:
>&g
On Mon, 04 Oct 2021 10:28:38 +0200, Bo Berglund via fpc-pascal
wrote:
>I have tried to post to the list (via GMane) but it does not come through.
>And the last post made seems to be on 2021-10-01...
>Is the list itself down or is there a GMane problem?
Seems to be GMane...
I rep
I have tried to post to the list (via GMane) but it does not come through.
And the last post made seems to be on 2021-10-01...
Is the list itself down or is there a GMane problem?
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pasc
On Sun, 03 Oct 2021 19:51:49 +0200, Bo Berglund via fpc-pascal
wrote:
>In this scenario I expected next to no CPU usage when this is running as a
>service controlled by systemd, but in fact top shows the service to consume 10%
>CPU when it is doing nothing, no client connected an
So I have this service application which is ported from a Windows Delphi 2007
TService app to a regular command line program for use in Linux.
It runs on a RaspberryPi3B+
Normally it sits idle doing nothing but waiting for a client to connect via TCP
or a time to occur when it needs to execute a t
On Fri, 10 Sep 2021 09:46:11 +0200, Sven Barth via fpc-pascal
wrote:
>You can use the ipconfig command and parse its output (especially ipconfig
>/all).
I also figured that to be the case, so I will run TProcess with Ipconfig /all
and then parse the result line by line.
It looks like there is a
1 - 100 of 251 matches
Mail list logo