Grabbing Standard Input in Unix Pascal Programs


I would like to write a few simple pascal programs that receive and
manipulate standard input, but I am not sure how this is done

Is standard input passed to a pascal program as a variable?
Do I grab it with a `readln'?

If anybody knows an answer, or can point me in the right direction,
I would be much obliged.


Paul Lange