[fpc-pascal] Calling a C library

2005-08-09 Thread Paul Aviles
How do you call a C library or .h file from FPC in linux? Any samples? Thanks Paul ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Small project $

2005-06-20 Thread Paul Aviles
Basically a way to enable a web version of tail -f for log files. There is a java version but we don't want the dependencies associated with java there. Please contact me directly if anyone is interested on doing this. Regards, Paul ___ fpc-pasc

[fpc-pascal]linux ques

2004-09-22 Thread Paul Aviles
I have been task to write a routing for a web server running apache under linux that will basically have the same functionality as a tail -f /var/log/messages. I guess since the web server account does not have access to those files, there must be some type of listener/socket written to accompl

[fpc-pascal]linux question

2004-09-20 Thread Paul Aviles
Forgive me for asking.. I need to do a few things, one is to run a shell script and invoque program "prgA" and pass the result of program A back to the shell script. I guess I can do: BACK = /sbin/prgA; echo $? A) is that correct? B) how does prgA report the output back, using a simple write st

[fpc-pascal]Read mac address

2004-09-17 Thread Paul Aviles
This is a linux box. FC1 Thanks Message: 2 From: "Tomas Hajny" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [fpc-pascal]Read mac address Date: Fri, 17 Sep 2004 09:44:01 +0200 Reply-To: [EMAIL PROTECTED] On Thu, 16 Sep 2004 15:44:00 -0400, Paul Aviles wrote Is it possib

[fpc-pascal]Read mac address

2004-09-16 Thread Paul Aviles
Is it possible to detect and read the mac addresses of the nic cards installed on a motherboard? Thanks Paul -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ fpc-pascal maillist - [E

[fpc-pascal]Access BIOS from fpc

2004-05-10 Thread Paul Aviles
Hello all, Is it possible to access the PC BIOS from FPC? I want to create a fpc program to read the name and version of the BIOS or maybe even change some settings like boot from cdrom or IDE or PXE using FPC. The PC has Phoenix bios, is that possible? Thanks Paul Anthony Aviles ___

[fpc-pascal]project question

2004-05-04 Thread Paul Aviles
Hello all, I have a small project and wanted to know what suggestions you all will have. This is what the system must do. Runs in Linux Run as a daemon (not a problem) Be able to pass some parameters while the program is running and obtain the results back to a shell script of a perl program. Th

[fpc-pascal]project question

2004-05-02 Thread Paul Aviles
Hello all, I have a small project and wanted to know what suggestions you all will have. This is what the system must do. Runs in Linux Run as a daemon (not a problem) Be able to pass some parameters while the program is running and obtain the results back to a shell script of a perl program. Th

[fpc-pascal]Linux IDE

2004-04-26 Thread Paul Aviles
according to the doc, there is some IDE that you can start byt using ./fp. No such luck for me. I am using: Free Pascal Compiler version 1.0.10 [2003/06/26] for i386 under FC1 and I also tried installing and running RHIDE to get : error: Failed dependencies: libstdc++-libc6.2-2.so.3 is n

[fpc-pascal]Hex values

2004-04-22 Thread Paul Aviles
How do you represent Hex values in FPX, I now I can use #141 for example using the ASCII value of the Hex characted converted ahead of time, but is there a way to send the Hex values like 0x70 for example? Thanks ___ fpc-pascal maillist - [EMAIL PROT

[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

[fpc-pascal]How to daemonize a program?

2004-01-11 Thread Paul Aviles
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? Thanks -pa ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/f

[fpc-pascal]Linux USB?

2003-09-16 Thread Paul Aviles
Hello, guys, I am working on a project to control a MatrixOrbital LCD panel and keyboard from FPC and I got it working great with a serial interface, but what about a USB unit? Is it possible to use USB devices directly from FPC? Any samples out there? Thanks -- Paul Aviles http

[fpc-pascal]Hex chars

2003-09-07 Thread Paul Aviles
I am trying to write to a serial LCD device on /dev/ttys0 and I need to pass hex codes to it. According to the documentation, in C is done like this:   putch(0xfe); putch('X');   What will be the similar commad in FPC?   Thanks -pa  

[fpc-pascal]Read from command line

2003-09-07 Thread Paul Aviles
Hello all,   In the old TP there just to be a way to read a string from the command line at the same time you invoked the program thus doing:   myprogram param1 param2   made those two variables available to the program and you could do some action, just like passing variables to a function.