[tex-live] ifplatform: Detection of TeX Live on Windows
t34www at googlemail.com
Tue Aug 25 17:56:07 CEST 2009
2009/8/25 Alexander Cherepanov <cherepan at mccme.ru>:
> Hi T!
> On Mon, 24 Aug 2009 22:20:22 +0100, T T <t34www at googlemail.com> wrote:
> It says "unix":-)
Not very useful then.
>> It works on my XP.
> In miktex or in texlive?
> BTW can you print something on your printer by \write'ing to prn?
> What's happening when you \read from con?
I haven't tried with tex but the following perl snippet works as you
would expect - it reads lines of input from console until you pass EOF
marker and then prints them to stdout:
open TMP, '<con:' or die "open con failed: $!";
my @lines = <TMP>;
I think that access to nul, con, prn, etc. has been made transparrent
to applications in NT.
More information about the tex-live