comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Problem with output using Ada.Text_IO.Put
Date: Sun, 20 Jul 2014 11:36:20 +0100
Date: 2014-07-20T11:36:20+01:00	[thread overview]
Message-ID: <ly7g385nbv.fsf@pushface.org> (raw)
In-Reply-To: 66d3f30d-2a21-45e7-ad9b-ddc43d74fe8c@googlegroups.com

junior learning ADA <francois.chesnay@gmail.com> writes:

> If I run the program in an external terminal, launched through GPS,
> then It works properly. Except that the terminal closes automatically,
> I don't see the result of my program.

I can't try this directly, because I'm running GPS GPL 2014 on Mac OS X
(Mavericks) without Quartz (good for AdaCore!) and so I have no xterm.

A bit of googling led me to [1]; look at the second answer (use -hold).

In GPS, Edit > Preferences > External Command > Execute command, change
"xterm -e" to "xterm -hold -e".

Good luck!

[1] http://superuser.com/questions/363614/leave-xterm-open-after-task-is-complete


      parent reply	other threads:[~2014-07-20 10:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-19 21:37 Problem with output using Ada.Text_IO.Put junior learning ADA
2014-07-19 22:10 ` Jerry
2014-07-19 23:58 ` Jeffrey Carter
2014-07-20  5:22 ` Niklas Holsti
2014-07-20  6:52   ` junior learning ADA
2014-07-20  7:00     ` junior learning ADA
2014-07-20 14:51       ` Niklas Holsti
2014-07-20  8:53     ` Georg Bauhaus
2014-07-20 10:36     ` Simon Wright [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