[fpc-pascal] EOF on stdin

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Sat Dec 8 17:54:54 CET 2007


> Marco van de Voort wrote:

>> For unix one can simply use termio.isatty(input) I think.

I can confirm that that works.

Another implementation difference that I noticed between Win-32 and Linux was 
that FileExists() on Win-32 excludes directories while on Linux it matches 
them. Workaround was trivial in that case.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-pascal mailing list