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!feeder.eternal-september.org!news.uzoreto.com!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 18 Jul 2018 21:31:57 -0500 From: Dennis Lee Bieber Newsgroups: comp.lang.ada Subject: Re: How to run a GNAT program without starting a terminal session Date: Wed, 18 Jul 2018 22:31:59 -0400 Organization: IISS Elusive Unicorn Message-ID: <3btvkdt8dvb02h29enbhicdaf6pdm0p06q@4ax.com> References: <95d4a3bb-8b17-4979-b60c-b9d6e3ff666f@googlegroups.com> User-Agent: ForteAgent/8.00.32.1272 X-No-Archive: YES MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-Cr6bVdA2k2Hv1VLXLm6QQQwPexqxB3rDNhXpwb8qwt4bTLIgCfVKUlGmP5l1ta9z4Z/vmaxWX7XxzW9!4XqT8NhNCrzNtCDaecpgAUU66daIbV4VN0MhD6upUafh0FvdwjsGj8lKAqJX8Kb/3DmxpVVU X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2903 Xref: reader02.eternal-september.org comp.lang.ada:53902 Date: 2018-07-18T22:31:59-04:00 List-Id: On Wed, 18 Jul 2018 18:41:10 -0700 (PDT), Jerry declaimed the following: >Thank you for that explanation. macOS has a dock to which you can drag application files or document files or whatever, which sounds like a similar feature. However there is no option to tell an Ada executable to not use the terminal. The macOS file manager, called "Finder," identifies the executable as "Unix executable" and defaults the parent application as Terminal.app, the macOS terminal program. That parent can be changed but the weird thing is the OS treats it as a file to be opened by another program. I can't see how to get around this. So whether I double-click the icon or launch it from the dock (the same thing, really), it opens the terminal. Also, when I tried to embed the Ada executable in an Applescript, it appeared to run (waiting the noted length of time specified by the Beep() commands) but nothing actually happened--no beeps to be heard. Behavior that would make me suspect that Beep() operation is what requires a terminal/console (though console \a typically doesn't offer duration or pitch options). What behavior do you get if you use a program that only opens a disk file, writes something to it, and closes it? No esoteric Beep() or anything else that might be construed to be a /user interface/. Where did the package Common come from? I'm not finding it in Google when searching. -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/