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,9c0ab6f828790bc9 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-22 05:40:36 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!iad-peer.news.verio.net!news.verio.net!newsfeed.cwix.com!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: another text_io Date: 22 Dec 2002 06:40:23 -0600 Organization: LJK Software Message-ID: <40ZjOopnwCeR@eisner.encompasserve.org> References: <3e05aee0.3155187@news.freenet.de> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1040564432 7169 192.135.80.34 (22 Dec 2002 13:40:32 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Sun, 22 Dec 2002 13:40:32 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:32193 Date: 2002-12-22T06:40:23-06:00 List-Id: In article <3e05aee0.3155187@news.freenet.de>, see@messagebody.com (Jan) writes: > we all know that the standard package Text_IO doesn't have a good text > mode support, so here is my question: > > does someone know where to find a substitute for it, which would allow > me to: > > - place the cursor wherever I want (like gotoxy in Pascal) That sounds like some vendor-specific add-on rather than Standard Pascal. > - change the foreground and background color > - hide the cursor > - change text mode (at least 80x25 and 80x50) I would call that "ANSI terminal support" rather than text. Informally "text" support has been called (in another context) the "glass teletype". Someone already answered for Windows. On VMS one would obviously call SMG. Unless you are dealing with real terminals... A portable package is probably not possible, since it depends on the characteristics of the terminal emulator and the vast majority of those do not adequately emulate the relevant hardware. For the terminal emulator that ships with Microsoft Windows, the lack of correspondence to the hardware is legendary.