Re: [fpc-pascal] Ido not understand UTF8 in Windows console.

2010-02-17 Thread JoshyFun
Hello FPC-Pascal, Wednesday, February 17, 2010, 10:46:18 PM, you wrote: LFDAM> {código de página UTF8} LFDAM> //sin firma Unicode BOM LFDAM> Begin LFDAM> Writeln('code page UTF8 - 65001 en Windows'); LFDAM> Writeln('camión') LFDAM> End. LFDAM> Using the command chcp, change the code page to 650

[fpc-pascal] Ido not understand UTF8 in Windows console.

2010-02-17 Thread Luis Fernando Del Aguila Mejía
Translate Message : English Ido not understand UTF8 in Windows console. I wrote the following program, using an editor UTF8 without BOM mark. {código de página UTF8} //sin firma Unicode BOM Begin Writeln('code page UTF8 - 65001 en Windows'); Writeln('camión') End. Using the command chcp, change

Re: [fpc-pascal] Printing of FPC program listing

2010-02-17 Thread James Gibbens
Thank you - will try My computer runs on Windows XP. - Original Message - From: "Marco van de Voort" To: "FPC-Pascal users discussions" Sent: Wednesday, February 17, 2010 11:32 AM Subject: Re: [fpc-pascal] Printing of FPC program listing In our previous episode, James Gibbens said:

Re: [fpc-pascal] Is fppkg dead?

2010-02-17 Thread Graeme Geldenhuys
Michael Van Canneyt wrote: > > It is not dead, but it takes time to set it up. Good to know. In 2009-01 you mentioned in a message that it needs more testing. So what can I do to help the testing process? I already have a 90% working fpmake.pp for fpGUI, which I believe is required for 'fppkg a

Re: [fpc-pascal] C thread callbacks

2010-02-17 Thread Jonas Maebe
On 17 Feb 2010, at 09:41, Wimpie Nortje wrote: I have a C library that uses threads. These threads use callbacks into my pascal for events. What must happen for the pascal events handlers to be able to safely access the main thread's resources? The same as what must happen for C event hand

Re: [fpc-pascal] Is fppkg dead?

2010-02-17 Thread Jonas Maebe
On 17 Feb 2010, at 09:21, Graeme Geldenhuys wrote: Is fppkg a dead initiative? It is only sleeping. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Printing of FPC program listing

2010-02-17 Thread Marco van de Voort
In our previous episode, James Gibbens said: > Thank you for the answers and advice I have received. Three new issues if > you good people don't mind. Operating system? > 1. I want to print my program listing by using the print option in the > File drop-down menu (Free Pascal IDE window). I cl

[fpc-pascal] C thread callbacks

2010-02-17 Thread Wimpie Nortje
Hi I have a C library that uses threads. These threads use callbacks into my pascal for events. What must happen for the pascal events handlers to be able to safely access the main thread's resources? This is the same situation where I would use TThread.Synchronize if the threads were TThrea

Re: [fpc-pascal] Is fppkg dead?

2010-02-17 Thread Michael Van Canneyt
On Wed, 17 Feb 2010, Graeme Geldenhuys wrote: Is fppkg a dead initiative? Or is this ever going to go "live" for other developers or even FPC to push packages to the repository too? If so, what is the requirements to get access, or should we all host our own repositories? ---

[fpc-pascal] Is fppkg dead?

2010-02-17 Thread Graeme Geldenhuys
Is fppkg a dead initiative? Or is this ever going to go "live" for other developers or even FPC to push packages to the repository too? If so, what is the requirements to get access, or should we all host our own repositories? --- $ fppkg list Name Installe

Re: [fpc-pascal] Exec(), Linux, and /dev/null redirection

2010-02-17 Thread Marco van de Voort
In our previous episode, cobines said: > 2010/2/17 Zitt Zitterkopf : > > Exec( '/bin/mount', '/dev/'+ aline +' /media/' + aline + ' &> /dev/null'); > > Try: > > Exec( '/bin/mount', '/dev/'+ aline +' /media/' + aline + ' 1>/dev/null'); > > for redirecting STDOUT or > > Exec( '/bin/mount', '/dev/