Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2004-05

project question

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

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.

The LCDd (daemon) program controls an LCD device that has several buttons. I can use a socket to make the LCDd receive messages from other programs and shell commands into the LCD daemon, but I was wondering if there is even an easier approach. Also, I have no idea how to "return" the output of the routine back to the shell or perl program.

For example, if during the normal run of an application I need to display a Yes/No question on the LCD display I need to be able to "pass" back to the application that created the Yes/No question the selection the user did.

Any ideas?

Also, I have been looking for a simple text IDE like the all TP. Is there something like that available?

Thanks

-pa

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.

The LCDd (daemon) program controls an LCD device that has several buttons. I can use a socket to make the LCDd receive messages from other programs and shell commands into the LCD daemon, but I was wondering if there is even an easier approach. Also, I have no idea how to "return" the output of the routine back to the shell or perl program.

For example, if during the normal run of an application I need to display a Yes/No question on the LCD display I need to be able to "pass" back to the application that created the Yes/No question the selection the user did.

Any ideas?

Also, I have been looking for a simple text IDE like the all TP. Is there something like that available?

Thanks

-pa

Marco van de Voort
to Paul Aviles
Show quoted text 13 lines
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. The LCDd (daemon) program controls an LCD device that has several buttons. I can use a socket to make the LCDd receive messages from other programs and shell commands into the LCD daemon, but I was wondering if there is even an easier approach. Also, I have no idea how to "return" the output of the routine back to the shell or perl program.

Same way, read from the socket.

If the shellscript or perl program can't, make a small pascal cmdline utiitlity that can.

Also, I have been looking for a simple text IDE like the all TP. Is there something like that available?

FPC has a full blown TP clone, however it is currently not maintained, and therefore not as good as it should be, specially on *NIX, which is why it is usally not included.

(some versions include it as "fp")

We are still seeking a serious maintainer.