[fpc-pascal]Capturing a Kernel Panic

2004-01-12 Thread Paul Aviles
I am writting a small LCD application that will run as a daemon (thanks for the tip on runing as a daemon) and I wanted to know if is possible to somehow capture when you get a Kernel Panic... Has anyone done that? Thanks -pa ___ fpc-pascal maillist

Re: [fpc-pascal]Runtime Error 216 (oCrt).

2004-01-12 Thread Michael . VanCanneyt
On Mon, 12 Jan 2004, Arne Hanssen wrote: > I've installed FPC 1.9 on Linux and try to use the oCrt unit. > It seems like my app crashes on this statement > > TitleWin^.FWrite(2,2,TextAttr,1,'Text'); > > When I try to compile and run the ocrt_demo program which is > included with FPC, it seem

[fpc-pascal]FPC 1.9.0 and oCrt.

2004-01-12 Thread Arne Hanssen
I've installed FPC 1.9 on Linux and try to use the oCrt unit. It seems like my app crashes on this statement TitleWin^.FWrite(2,2,TextAttr,1,'Text'); When I try to compile and run the ocrt_demo program which is included with FPC, it seems to crash also on such a statement (its the FWrite method

[fpc-pascal]Runtime Error 216 (oCrt).

2004-01-12 Thread Arne Hanssen
I've installed FPC 1.9 on Linux and try to use the oCrt unit. It seems like my app crashes on this statement TitleWin^.FWrite(2,2,TextAttr,1,'Text'); When I try to compile and run the ocrt_demo program which is included with FPC, it seems to crash also on such a statement (its the FWrite method

Re: [fpc-pascal]How to daemonize a program?

2004-01-12 Thread Matt Emson
> Hello all, > > I know I can start a program with & at the end and will run in the > background. Is there a way to do this without the & symbol in Linux? basically you fork the process, set session id to new process, signal if needed, and then fork again and let the initial process return. Matt