Re: [fpc-devel] What I've been using Free Pascal For... Jegas Information Server (JIS)

2007-01-31 Thread Bisma Jayadi
I've been very busy using Free Pascal and I wanted to show what can be done with Free Pascal. I know the core development team will not be surprised but other developers and indecisive C++ programmers who are tuned in might be! Congratulations, Jason! You're one of my Pascal heroes. I know you h

[fpc-devel] What I've been using Free Pascal For... Jegas Information Server (JIS)

2007-01-31 Thread Jason P Sage
Hello everyone. I've been very busy using Free Pascal and I wanted to show what can be done with Free Pascal. I know the core development team will not be surprised but other developers and indecisive C++ programmers who are tuned in might be! I really am not sure how or if this should become an

[fpc-devel] FPC support for Windows Service apps or Unix Daemons.

2007-01-31 Thread Michael Van Canneyt
Hello, I committed to SVN a unit that implements support for services on Windows. On unix, it'll work as a simple console application, with the same semantics as a service. The unit is called daemonapp. I've succesfully written a test application (it's in fcl/tests/daemon.pp) which runs cross-pla

Re: [fpc-devel] TProcess.NumBytesAvailable

2007-01-31 Thread Michael Van Canneyt
On Wed, 31 Jan 2007, Vincent Snijders wrote: > Vincent Snijders schreef: > > Marc Weustink schreef: > > > Vincent Snijders wrote: > > > > Hi, > > > > > > > > TAsyncProcess from the LCL has a property NumBytesAvailable. Attached > > > > patch adds it to TProcess in the FCL. > > > > > > > > NumByt

Re: [fpc-devel] TProcess.NumBytesAvailable

2007-01-31 Thread Vincent Snijders
Vincent Snijders schreef: Marc Weustink schreef: Vincent Snijders wrote: Hi, TAsyncProcess from the LCL has a property NumBytesAvailable. Attached patch adds it to TProcess in the FCL. NumBytesAvailable checks how many bytes are available in TProcess.Output, so you can decide not to read

Re: [fpc-devel] TProcess.NumBytesAvailable

2007-01-31 Thread Vincent Snijders
Marc Weustink schreef: Vincent Snijders wrote: Hi, TAsyncProcess from the LCL has a property NumBytesAvailable. Attached patch adds it to TProcess in the FCL. NumBytesAvailable checks how many bytes are available in TProcess.Output, so you can decide not to read from it if there are no by

Re: [fpc-devel] TProcess.NumBytesAvailable

2007-01-31 Thread Marc Weustink
Vincent Snijders wrote: Hi, TAsyncProcess from the LCL has a property NumBytesAvailable. Attached patch adds it to TProcess in the FCL. NumBytesAvailable checks how many bytes are available in TProcess.Output, so you can decide not to read from it if there are no bytes available. What ab

Re: [fpc-devel] TProcess.NumBytesAvailable

2007-01-31 Thread Jonas Maebe
On 31 jan 2007, at 12:49, Vincent Snijders wrote: +{$ifdef BSD} +const + FIONREAD = $4004667F; +{$endif} + The FIONREAD constant is available in the termio units of both Darwin and FreeBSD as of 2.0.4 (not for Open/NetBSD, but that's probably the least of the things which need to be chan

[fpc-devel] TProcess.NumBytesAvailable

2007-01-31 Thread Vincent Snijders
Hi, TAsyncProcess from the LCL has a property NumBytesAvailable. Attached patch adds it to TProcess in the FCL. NumBytesAvailable checks how many bytes are available in TProcess.Output, so you can decide not to read from it if there are no bytes available. Maybe you want a different name f