Re : [fpc-pascal] check if process ID is running under BSD

2011-06-06 Thread phoebus phoebus
Hi Mattias, I don't know if it exist a FPC function for that. i'll do an external commad like " ps -ef | grep bash | grep -v grep | awk '{print $8}'". I 'm assuming the output is: user12793 2789 0 22:52 pts/000:00:00 bash and encapsulate the command is one of the following system ca

Re : Re : [fpc-pascal] fpc binary port on aix: It's avaliable ?

2010-09-27 Thread phoebus phoebus
Hi, Thanks for your feedback. >> Lack of ssh access to a machine that runs AIX, and to a lesser extent lack >> of >>someone doing it (I can do an initial port, but I'm getting overloaded >>regarding >>the number of platforms I maintain). I understand that not an easy things. Here, i have som

Re : [fpc-pascal] fpc binary port on aix: It's avaliable ?

2010-09-27 Thread phoebus phoebus
Jonas Maebe À : FPC-Pascal users discussions Envoyé le : Lun 27 septembre 2010, 11h 00min 38s Objet : Re: [fpc-pascal] fpc binary port on aix: It's avaliable ? On 27 Sep 2010, at 10:20, phoebus phoebus wrote: > Do you know if there are some binary port for aix ? There is none. > Do yo

[fpc-pascal] fpc binary port on aix: It's avaliable ?

2010-09-27 Thread phoebus phoebus
Hi, I find the interesting thread baout fpc on AIX platform: "How hard is it to port FPC to AIX" on http://lists.freepascal.org/lists/fpc-devel/2008-September/thread.html   (classified under the wrong thread, because they were posted  starting with a rely to another thread). "AIX port" on h

Re : [fpc-pascal] TEventLog.FileName : Hot to do an append to existing log file

2010-09-22 Thread phoebus phoebus
Hi, >> This is currently not possible. Please file a feature request in the >>bugtracker. I raised into bugtracker the id: 0017464 for this feature. Regards, Phoebus  ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepasc

[fpc-pascal] TEventLog.FileName : Hot to do an append to existing log file

2010-09-22 Thread phoebus phoebus
Hi, I'm not understand how to use unit Teventlog to no create each time a new file but to append to an existing log file. I want to do something like:   assign(f,filename);   if FileExists(filename) then Append(f)   else Rewrite(f);   Writeln(f,FormatDateTime('dd/mm/

Re : [fpc-pascal] TEventLog.FileName location: Change default file location for filename without change unit code.

2010-09-21 Thread phoebus phoebus
Hi, Thanks Michael for the update. >> The default is just that, the default. If you specify a filename, then that >> is >>used. Yes, that's right. Thanks also jeff for the advise on Windows platform. Regards, Frphoebus ___ fpc-pascal maill

[fpc-pascal] TEventLog.FileName location: Change default file location for filename without change unit code.

2010-09-21 Thread phoebus phoebus
Hi, I'm using FPC 2.2.4 with Lazarus. The unit eventlog is great for logging events. SO i use it.   My question is how to change the default location for the filename for Linxu ssytem which is harcoded in the code. The documentation for TEventLog.FileName wrote: " FileName is the name of the log