Re: [fpc-pascal] String literals and code page of .pas source file

2020-09-14 Thread Tomas Hajny via fpc-pascal
On 2020-09-14 16:09, Michael Van Canneyt wrote: On Mon, 14 Sep 2020, Tomas Hajny via fpc-pascal wrote: application (let's say notepad.exe) will result in garbage. I don't say that it is necessarily bad, but it should be documented at least if we want to keep it that way. I would definitely

Re: [fpc-pascal] String literals and code page of .pas source file

2020-09-14 Thread Tomas Hajny via fpc-pascal
On 2020-09-14 16:09, Michael Van Canneyt wrote: On Mon, 14 Sep 2020, Tomas Hajny via fpc-pascal wrote: application (let's say notepad.exe) will result in garbage. I don't say that it is necessarily bad, but it should be documented at least if we want to keep it that way. I would definitely

Re: [fpc-pascal] String literals and code page of .pas source file

2020-09-14 Thread Benito van der Zander via fpc-pascal
Hi, I would definitely keep it that way. As I see it: Redirection or not should not matter, the system should assume console output. Things like 'tee' make this concept dubious in any case: If you pipe output to a program, you don't expect the codepage to change because of the redirection.

Re: [fpc-pascal] Ethernet Relays

2020-09-14 Thread James Richters via fpc-pascal
I put my project to control these ethernet relays on Git Hub at https://github.com/Zaaphod/Ethernet-HTTP-Relays/ I thought I would post it here so if someone comes across this while searching for information about them they will find it. This is a library to control Ethernet Relays that use w

Re: [fpc-pascal] FPC for FreeBSD/PowerPC64

2020-09-14 Thread Curtis Hamilton via fpc-pascal
I've resolved my initial issue. It was something included in the command-line that was causing the error. I'm trying to use the unmodified linux/powerpc64 files with freebsd. When building bsd/system.pp I get the following: /root/Downloads/fpc-3.2.0/rtl/units/powerpc64-freebsd/system.s: Assembl

Re: [fpc-pascal] String literals and code page of .pas source file

2020-09-14 Thread Michael Van Canneyt via fpc-pascal
On Mon, 14 Sep 2020, Tomas Hajny via fpc-pascal wrote: application (let's say notepad.exe) will result in garbage. I don't say that it is necessarily bad, but it should be documented at least if we want to keep it that way. I would definitely keep it that way. As I see it: Redirection or

Re: [fpc-pascal] String literals and code page of .pas source file

2020-09-14 Thread Tomas Hajny via fpc-pascal
On 2020-09-14 14:51, Michael Van Canneyt wrote: On Mon, 14 Sep 2020, Tomas Hajny via fpc-pascal wrote: opened: {$ifdef FPC_HAS_FEATURE_ANSISTRINGS} { if no codepage is yet assigned then assign default ansi codepage } TextRec(t).CodePage:=TranslatePlaceholderCP(TextRec(t).CodePage); {$else

Re: [fpc-pascal] String literals and code page of .pas source file

2020-09-14 Thread Michael Van Canneyt via fpc-pascal
On Mon, 14 Sep 2020, Tomas Hajny via fpc-pascal wrote: opened: {$ifdef FPC_HAS_FEATURE_ANSISTRINGS} { if no codepage is yet assigned then assign default ansi codepage } TextRec(t).CodePage:=TranslatePlaceholderCP(TextRec(t).CodePage); {$else FPC_HAS_FEATURE_ANSISTRINGS} I see no need to c

Re: [fpc-pascal] String literals and code page of .pas source file

2020-09-14 Thread Tomas Hajny via fpc-pascal
On 2020-09-14 14:20, Michael Van Canneyt wrote: On Mon, 14 Sep 2020, Tomas Hajny via fpc-pascal wrote: On 2020-09-14 13:39, Michael Van Canneyt wrote: On Mon, 14 Sep 2020, Tomas Hajny via fpc-pascal wrote: On 2020-09-12 23:03, Tomas Hajny wrote: On 2020-09-12 18:51, Jonas Maebe via fpc-pasca

Re: [fpc-pascal] String literals and code page of .pas source file

2020-09-14 Thread Michael Van Canneyt via fpc-pascal
On Mon, 14 Sep 2020, Tomas Hajny via fpc-pascal wrote: On 2020-09-14 13:39, Michael Van Canneyt wrote: On Mon, 14 Sep 2020, Tomas Hajny via fpc-pascal wrote: On 2020-09-12 23:03, Tomas Hajny wrote: On 2020-09-12 18:51, Jonas Maebe via fpc-pascal wrote: On 12/09/2020 18:44, Sven Barth via

Re: [fpc-pascal] String literals and code page of .pas source file

2020-09-14 Thread Tomas Hajny via fpc-pascal
On 2020-09-14 13:39, Michael Van Canneyt wrote: On Mon, 14 Sep 2020, Tomas Hajny via fpc-pascal wrote: On 2020-09-12 23:03, Tomas Hajny wrote: On 2020-09-12 18:51, Jonas Maebe via fpc-pascal wrote: On 12/09/2020 18:44, Sven Barth via fpc-pascal wrote: Jonas Maebe via fpc-pascal

Re: [fpc-pascal] String literals and code page of .pas source file

2020-09-14 Thread Michael Van Canneyt via fpc-pascal
On Mon, 14 Sep 2020, Tomas Hajny via fpc-pascal wrote: On 2020-09-12 23:03, Tomas Hajny wrote: On 2020-09-12 18:51, Jonas Maebe via fpc-pascal wrote: On 12/09/2020 18:44, Sven Barth via fpc-pascal wrote: Jonas Maebe via fpc-pascal > schrieb am Sa., 12

Re: [fpc-pascal] How to build for arm6 in RaspberryPi on arm7?

2020-09-14 Thread Bo Berglund via fpc-pascal
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 favourite .bashrc and i