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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,840862173a9768da,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!l24g2000vby.googlegroups.com!not-for-mail From: Michael A Newsgroups: comp.lang.ada Subject: GPS 4.4.1. ADA 95: Calling ASCII codes for ESC and display row colum control Date: Mon, 10 Jan 2011 05:44:19 -0800 (PST) Organization: http://groups.google.com Message-ID: <7a8136c2-07a3-4742-add5-073e87bbae0d@l24g2000vby.googlegroups.com> NNTP-Posting-Host: 216.81.94.73 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1294667059 4428 127.0.0.1 (10 Jan 2011 13:44:19 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 10 Jan 2011 13:44:19 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l24g2000vby.googlegroups.com; posting-host=216.81.94.73; posting-account=Pw7W1woAAACPS8TUlpur8cTXodOcJutq User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E; InfoPath.3; IE8Mercury),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:17324 Date: 2011-01-10T05:44:19-08:00 List-Id: I know this topic was disucssed in the 90's on the forum and is an old question, but. I am trying to control the display row,col for terminal output of my ADA 95 simple program. I have tried several ways but to no avail: -- keep out put of a loop at line 20 column 20 put (ASCII.ESC & "[" & "20" & ";" & "20" & "H") ; put (ASCII.ESC&"[20;20H") ; put (ada.Characters.latin_1.ESC&"20"&";"&"20H"); put (Character'val (91) & "20;20H" ); I get the literal out put on the screen " <-20;20H " but not keeping the output on line 20, col 20. I do get put(ascii.bel); to ring the bell OK. Thanks