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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a24:5353:: with SMTP id n80-v6mr3672956itb.6.1532033280285; Thu, 19 Jul 2018 13:48:00 -0700 (PDT) X-Received: by 2002:aca:de07:: with SMTP id v7-v6mr2016963oig.5.1532033280161; Thu, 19 Jul 2018 13:48:00 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.swapon.de!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!d7-v6no1112068itj.0!news-out.google.com!k71-v6ni2151itk.0!nntp.google.com!g2-v6no1078204itf.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 19 Jul 2018 13:47:59 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=71.209.154.211; posting-account=x5rpZwoAAABMN2XPwcebPWPkebpwQNJG NNTP-Posting-Host: 71.209.154.211 References: <7461ada5-9bc3-43f5-98b0-b2930d9145bc@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <09720e13-affa-482c-85d3-67d4c58ef9f4@googlegroups.com> Subject: Re: How to run a GNAT program without starting a terminal session From: Jerry Injection-Date: Thu, 19 Jul 2018 20:48:00 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:53914 Date: 2018-07-19T13:47:59-07:00 List-Id: On Thursday, July 19, 2018 at 9:50:24 AM UTC-7, Jeffrey R. Carter wrote: > On 07/19/2018 08:59 AM, Jerry wrote: > >=20 > > Sort-of-bottom-line: Calling the Ada executable in Applescript or Autom= ator without invoking a terminal will allow "say" and probably "afplay" to = work but not ASCII bell . ASCII bell works when executing Ada from a termin= al and also "say" and probably "afplay". >=20 > Since you're sending BEL to standard output, you need a standard output t= o send=20 > it to that responds to a BEL as you desire. When you run a program withou= t a=20 > terminal, standard output is usually sent to a bit bucket. If you want to= use=20 > BEL and get a sound, you'll need a terminal. If you don't want a terminal= ,=20 > you'll have to use something other than BEL, like afplay. >=20 Sounds right. Jerry Soun