From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: how to read status of current_output
Date: Wed, 6 Jun 2018 15:28:04 -0500
Date: 2018-06-06T15:28:04-05:00 [thread overview]
Message-ID: <pf9g4k$p1m$1@franka.jacob-sparre.dk> (raw)
In-Reply-To: 81876d1e-5b36-40fb-89a4-57d9b1d10662@googlegroups.com
<mario.blunk.gplus@gmail.com> wrote in message
news:81876d1e-5b36-40fb-89a4-57d9b1d10662@googlegroups.com...
> On Wednesday, June 6, 2018 at 1:01:51 PM UTC+2, Marius Amado-Alves wrote:
>> Status = Name ?!?!?
>
> name (current_output) returns the absolute path and the file name where
> the
> output data goes. Something like /home/mike/tmp/dummy.txt. It is not
> exactly
> what I was looking for but, however it solves my problem.
> The interesting question is: What does name (current_output) return if the
> current_output is the standard_output ? Under Linux/UNIX one would expect
> something like /dev/tty... But what under Windows ?
I don't think there is a standard name, but every Ada compiler ought to use
something. Janus/Ada gives them device names STI:, STO:, and ERR:. I've also
seen them given unix-like device paths. So your compare above ought to work.
Randy.
prev parent reply other threads:[~2018-06-06 20:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-05 9:54 how to read status of current_output mario.blunk.gplus
2018-06-05 11:44 ` AdaMagica
2018-06-06 7:12 ` mario.blunk.gplus
2018-06-05 17:24 ` G. B.
2018-06-06 7:14 ` mario.blunk.gplus
2018-06-06 11:01 ` Marius Amado-Alves
2018-06-06 17:20 ` mario.blunk.gplus
2018-06-06 20:28 ` Randy Brukardt [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox