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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6aa6d133611419f5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-08-28 02:39:43 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news1.optus.net.au!optus!news.mel.connect.com.au!news.xtra.co.nz!53ab2750!not-for-mail From: "AG" Newsgroups: comp.lang.ada References: <3D6688E1.3A1797CC@san.rr.com> <1030464758.505647@master.nyc.kbcfp.com> <7vu1lfbejt.fsf@vlinux.voxelvision.no> Subject: Re: Thought this was interesting X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: Date: Wed, 28 Aug 2002 21:41:56 +1200 NNTP-Posting-Host: 203.96.108.253 X-Complaints-To: newsadmin@xtra.co.nz X-Trace: news.xtra.co.nz 1030527581 203.96.108.253 (Wed, 28 Aug 2002 21:39:41 NZST) NNTP-Posting-Date: Wed, 28 Aug 2002 21:39:41 NZST Organization: Xtra Xref: archiver1.google.com comp.lang.ada:28482 Date: 2002-08-28T21:41:56+12:00 List-Id: "Ole-Hjalmar Kristensen" wrote in message news:7vu1lfbejt.fsf@vlinux.voxelvision.no... > Hyman Rosen writes: > > > > > Apropos of this, if you have access to a Windows system, > > try running the following simple program there. Make sure > > to save all important work first! It just prints out a > > string over and over again. It couldn't do anything bad, > > could it? Especially not on WinNT or WIn2K, right? > > Especially if you have no special privileges, right? :-) > > > > with text_io; use text_io; > > with ada.characters.latin_1; use ada.characters.latin_1; > > procedure crash is > > begin > > loop > > put("Hung up!" & HT & BS & BS & BS & BS & BS & BS); > > end loop; > > end; > > Bizarre behaviour indeed. What puzzles me is that I attempted briefly > to write an equivalent C program, and it did not give the same > results. Any idea of what's so special about text_io? > My guess would be [guess - mind you] that it relies on some API function which is supposed to handle it but does not. Well, of course, it was not written in our favorite language :-)