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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e61c8636ef35379d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-01-12 11:40:08 PST Path: supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!news1.frmt1.sfba.home.com.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Escape Sequences in Strings References: <3A17B0E2@MailAndNews.com> X-Newsreader: Tom's custom newsreader Message-ID: Date: Fri, 12 Jan 2001 19:37:46 GMT NNTP-Posting-Host: 24.20.190.201 X-Complaints-To: abuse@home.net X-Trace: news1.frmt1.sfba.home.com 979328266 24.20.190.201 (Fri, 12 Jan 2001 11:37:46 PST) NNTP-Posting-Date: Fri, 12 Jan 2001 11:37:46 PST Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: supernews.google.com comp.lang.ada:3964 Date: 2001-01-12T19:37:46+00:00 List-Id: > straightforward in C++ to set cursor positions, > the format (tabulators, newlines etc.) of a string etc. by using escape > sequences. Ada.Text_IO.Put(ascii.esc & "[0p"); (My memory of these is hazy so that particular example may make no sense.) A better way is to define routines to clear the screen, set position, etc. Check: http://www.seas.gwu.edu/faculty/mfeldman/papers/portable-diners.html