From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: How to run a GNAT program without starting a terminal session Date: Wed, 18 Jul 2018 08:27:12 +0200 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <95d4a3bb-8b17-4979-b60c-b9d6e3ff666f@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 18 Jul 2018 06:27:12 -0000 (UTC) Injection-Info: h2725194.stratoserver.net; posting-host="edec1cc8930f6608df0be7c7deb1a2a7"; logging-data="24597"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/+EcSKy7pfMyUAS8Kivt3lBvcfR0Cfyjk=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 Cancel-Lock: sha1:VRb5PsczEVWQ31jxpMJyN9zD77Q= In-Reply-To: <95d4a3bb-8b17-4979-b60c-b9d6e3ff666f@googlegroups.com> Content-Language: en-US Xref: reader02.eternal-september.org comp.lang.ada:53886 Date: 2018-07-18T08:27:12+02:00 List-Id: On 07/17/2018 11:10 PM, Jerry wrote: > On Tuesday, July 17, 2018 at 9:20:58 AM UTC-7, Jeffrey R. Carter wrote: >> >> I don't know how much MacOS is like Linux, but with the latter, if I create a >> menu entry for my program, there's a check box "Run in terminal". If I leave >> that unchecked, I don't get a terminal window. > > This sounds interesting but I think I'm missing some context. What do you mean by "create a menu entry for my program" and where is the mentioned check box? Are you referring to GPS? If so, what switch does GPS change to make this happen? No, this is part of the Linux desktop. In my case, I'm running Xubuntu. The task bar (by default at the top of the screen) has a menu button that opens a menu that lets you run programs. You can edit the menu, adding and removing menu items. Existing menu items may be modified. The "Run in terminal" check box is available when adding and editing menu items. The menu items are technically "Launchers", things that launch programs. I think you can also have launchers not in the menu, such as on the desktop, but I've never used that. Xubuntu uses the XFCE desktop; other flavors of Linux use other desktops, but most have something similar. Since MacOS, like Linux, is Yet Another Version of Unix (YAVU) with a graphical desktop, it probably has something similar. -- Jeff Carter "When Bell Labs were invited to evaluate C against the DoD requirements [for Ada], they said that there was no chance of C meeting the requirements of readability, safety, etc. for which we were striving, and that it should not even be on the list of evaluated languages." William Whitaker 116