[fpc-pascal] Spammers are growing, should admin kick them?
I saw that more and more spammers are coming into this list and populating with irrelevant topics. I think we should get them removed. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Spammers-are-growing-should-admin-kick-them-tp5715686.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Spammers are growing, should admin kick them?
On 08 Jul 2013, at 11:13, leledumbo wrote: I saw that more and more spammers are coming into this list and populating with irrelevant topics. I think we should get them removed. The spam only appears on Nabble. They are held for moderation before they appear on the mailing list and I discard them. I've been in contact with Nabble about this, and the only solution they offered was to make me an admin on the Nabble group and make me moderate their forums and kill the spam they can't stop. I'm not interested in doing that. If anyone wants to do so, let me know and I will give your email address to the Nabble people. Otherwise I would suggest to stop using Nabble and subscribe directly to the FPC mailing lists instead. Jonas FPC mailing lists admin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] synapser freezes on fopen(FDevice, 0_RDWR or 0_SYNC) on raspberry Pi
I downloaded http://www.turbocontrol.com/easyfpgui.htm which as a zip of example of using synapse on ARM platform. It worked on raspberry Pi (raspbian os) but it uses a specialized trimmed down version of Free Pascal library. I need to work with the traditional free pascal library since my other part of programs rely on them. However, when I extract the relevant code from that example and use the normal fpc compiler (2.6.0) instead of the pparm (2.6.2) and special fp lib inside that zip, my program freezes on synapser.pas TBlockSerial.Connect at the line of fopen(FDevice, 0_RDWR or 0_SYNC). I really don't understand what caused this? a different version of fpc compiler or a different fp lib or because their example is GUI app and mine is just a console mode app? Any advice will be appreciated. Thanks. Dennis ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] synapser freezes on fopen(FDevice, 0_RDWR or 0_SYNC) on raspberry Pi
In our previous episode, Dennis Poon said: However, when I extract the relevant code from that example and use the normal fpc compiler (2.6.0) instead of the pparm (2.6.2) The most recent version of the normal compiler is also 2.6.2 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Wiki licensing
As for platforms... I remember testing the m68k build on my Atari ST/TT. I remember it being discontinued after that though, so I suppose it's been re-resurrected, probably the TOS/GEM support is dead though. Thank you, Noah Silva 2013/7/7 Mark Morgan Lloyd markmll.fpc-pas...@telemetry.co.uk Reinier Olislagers wrote: Hi FPC Lazarus lists, The current wiki page has this in the footer: Content is available under . While on the subject of Wikis, perhaps somebody would update http://en.wikipedia.org/wiki/**Free_Pascal#Targetshttp://en.wikipedia.org/wiki/Free_Pascal#Targetsto include MIPS and 68K, and remove PPC Mac OS Classic which no longer builds. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] __**_ fpc-pascal maillist - fpc-pascal@lists.freepascal.**orgfpc-pascal@lists.freepascal.org http://lists.freepascal.org/**mailman/listinfo/fpc-pascalhttp://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] synapser freezes on fopen(FDevice, 0_RDWR or 0_SYNC) on raspberry Pi
On 08 Jul 2013, at 12:09, Dennis Poon wrote: However, when I extract the relevant code from that example and use the normal fpc compiler (2.6.0) instead of the pparm (2.6.2) and special fp lib inside that zip, my program freezes on synapser.pas TBlockSerial.Connect at the line of fopen(FDevice, 0_RDWR or 0_SYNC). Well, I recently had a similar issue, on Mac OS X and an USB to Serial converter (which had an FTDI chipset) -- maybe this issue is similar. The fix was really quite easy, but it took me a while to find out. Assume your fpOpen() call returns a handle called `Handle`. Now add the following lines after your open call: ===Code=== Var Attr: TTermios; tcgetattr(Handle, @Attr); Attr.c_cflag:= Attr.c_cflag or CREAD or CLOCAL; // -- This is the line that fixed the issue //Do fix your other attributes here aswell, like ispeed, ospeed, etc... tcsetattr(Handle, TCSADRAIN, @Attr);// Take a look at the documentation of this call to see what constant (TCSADRAIN) you want to use. ===EOC=== Hope it helps! -- Ewald ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] I have created this 1.3G SD Card Image for Raspberry Pi - Raspbian OS with FPC + Lazarus
Hi Dennis, Just a suggestion for your BT distribution. If you can provide an HTTP download link, then you can use BurnBit to convert it into a torrent. http://burnbit.com/ The link for your file will be: http://burnbit.com/torrent/249144/130702_Raspbian_Lazarus_VNC_Chrome_zip It comes in handy, and doesn't seem plagued with any kind of malware. Thank you, Noah Silva 2013/7/2 Dennis Poon den...@avidsoft.com.hk ** For new users of Raspbery Pi, you can download my SD Card image at: http://api.avidsoft.com.hk/fpc-arm/130702-Raspbian-Lazarus-VNC-Chrome.zip I have also created a BitTorrent file for it but I can only provide seeding during HK hours. Hope it can become prevalent so other seeders in other timezones can complement me. This image is based on 2013-05-25-wheezy-raspbian.img downloaded from raspberry's official web site. I applied the following steps to save you upgrade and installation time (about 45 minutes to an hour) and remove some packages (about 88M ) that FPC users normally don't need. What I did after the official image is loaded: sudo apt-get update sudo apt-get upgrade removed packages (size in M) scratch 45M tsconf 17m IDLE, python 13M python3 7M squeak-vm 1.4M dillo 1M midori 1M netsurf-common, netsurf-gtk 2M galculator 0.8m curl 0.4M xpdf 0.4M installed packages fpc 178 lazarus 522M tightvncserver chromium web browser Dennis ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] synapser freezes on fopen(FDevice, 0_RDWR or 0_SYNC) on raspberry Pi
Ewald, It does not fix it :-( The weird thing is, now even if I run the trimmed down version compiled with 2.6.2, it also freezes. But running sudo minicom -b 9600 -o -D /dev/ttyAMA0 has no problem at all. I tried sudo -i then startx to run X window as root then execute the program, still freezes on connect to /dev/ttyAMA0 It is so weird :-( Dennis Ewald wrote: On 08 Jul 2013, at 12:09, Dennis Poon wrote: However, when I extract the relevant code from that example and use the normal fpc compiler (2.6.0) instead of the pparm (2.6.2) and special fp lib inside that zip, my program freezes on synapser.pas TBlockSerial.Connect at the line of fopen(FDevice, 0_RDWR or 0_SYNC). Well, I recently had a similar issue, on Mac OS X and an USB to Serial converter (which had an FTDI chipset) -- maybe this issue is similar. The fix was really quite easy, but it took me a while to find out. Assume your fpOpen() call returns a handle called `Handle`. Now add the following lines after your open call: ===Code=== Var Attr: TTermios; tcgetattr(Handle, @Attr); Attr.c_cflag:= Attr.c_cflag or CREAD or CLOCAL; // -- This is the line that fixed the issue //Do fix your other attributes here aswell, like ispeed, ospeed, etc... tcsetattr(Handle, TCSADRAIN, @Attr); // Take a look at the documentation of this call to see what constant (TCSADRAIN) you want to use. ===EOC=== Hope it helps! -- Ewald ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal No virus found in this message. Checked by AVG - www.avg.com http://www.avg.com Version: 2013.0.3345 / Virus Database: 3204/6473 - Release Date: 07/08/13 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] synapser freezes on fopen(FDevice, 0_RDWR or 0_SYNC) on raspberry Pi
Although not 100% sure, I kinda fixed the problem. I remove a lot *.o *.ppu from the example and recompile again, both fpc 2.6 and ppcarm 2.6.2 can produce programs that work. I don't understand why and I am happy for now. thanks for advice. Dennis Dennis Poon wrote: Ewald, It does not fix it :-( The weird thing is, now even if I run the trimmed down version compiled with 2.6.2, it also freezes. But running sudo minicom -b 9600 -o -D /dev/ttyAMA0 has no problem at all. I tried sudo -i then startx to run X window as root then execute the program, still freezes on connect to /dev/ttyAMA0 It is so weird :-( Dennis Ewald wrote: On 08 Jul 2013, at 12:09, Dennis Poon wrote: However, when I extract the relevant code from that example and use the normal fpc compiler (2.6.0) instead of the pparm (2.6.2) and special fp lib inside that zip, my program freezes on synapser.pas TBlockSerial.Connect at the line of fopen(FDevice, 0_RDWR or 0_SYNC). Well, I recently had a similar issue, on Mac OS X and an USB to Serial converter (which had an FTDI chipset) -- maybe this issue is similar. The fix was really quite easy, but it took me a while to find out. Assume your fpOpen() call returns a handle called `Handle`. Now add the following lines after your open call: ===Code=== Var Attr: TTermios; tcgetattr(Handle, @Attr); Attr.c_cflag:= Attr.c_cflag or CREAD or CLOCAL; // -- This is the line that fixed the issue //Do fix your other attributes here aswell, like ispeed, ospeed, etc... tcsetattr(Handle, TCSADRAIN, @Attr); // Take a look at the documentation of this call to see what constant (TCSADRAIN) you want to use. ===EOC=== Hope it helps! -- Ewald ___ fpc-pascal maillist -fpc-pascal@lists.freepascal.org mailto:fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal No virus found in this message. Checked by AVG - www.avg.com http://www.avg.com Version: 2013.0.3345 / Virus Database: 3204/6473 - Release Date: 07/08/13 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal No virus found in this message. Checked by AVG - www.avg.com http://www.avg.com Version: 2013.0.3345 / Virus Database: 3204/6473 - Release Date: 07/08/13 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Spammers are growing, should admin kick them?
On 08.07.2013 11:23, Jonas Maebe wrote: On 08 Jul 2013, at 11:13, leledumbo wrote: I saw that more and more spammers are coming into this list and populating with irrelevant topics. I think we should get them removed. The spam only appears on Nabble. They are held for moderation before they appear on the mailing list and I discard them. I've been in contact with Nabble about this, and the only solution they offered was to make me an admin on the Nabble group and make me moderate their forums and kill the spam they can't stop. I'm not interested in doing that. If anyone wants to do so, let me know and I will give your email address to the Nabble people. Otherwise I would suggest to stop using Nabble and subscribe directly to the FPC mailing lists instead. And I already wondered what spam leledumbo is writing about ^^ Regards, Sven ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Wiki licensing
On 08.07.2013 13:14, Noah Silva wrote: As for platforms... I remember testing the m68k build on my Atari ST/TT. I remember it being discontinued after that though, so I suppose it's been re-resurrected, probably the TOS/GEM support is dead though. I did not yet test the Atari port. Also the m68k code generator is not yet stable enough again and at least for the next few months it does not look like I'll work on it that much (university and such...). But I nevertheless plan to continue the work I have started, since I have a little Coldfire board next to me which wants to be used :) Regards, Sven ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] Re: Spammers are growing, should admin kick them?
If anyone wants to do so, let me know and I will give your email address to the Nabble people. Because it looks like I'm the one that gets annoyed the most, I'll be the volunteer. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Spammers-are-growing-should-admin-kick-them-tp5715686p5715700.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal