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-Thread: 103376,c2cd81e4fa47ca1a X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon02.news.prodigy.net!prodigy.net!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: New_Page Date: Thu, 02 Nov 2006 20:17:16 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <4I52h.1046417$084.952815@attbi_s22> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1162516642 4088 192.74.137.71 (3 Nov 2006 01:17:22 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Fri, 3 Nov 2006 01:17:22 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:Bk9fOldr9pC4TL4fag6hZUixMWk= Xref: g2news2.google.com comp.lang.ada:7337 Date: 2006-11-02T20:17:16-05:00 List-Id: Keith Thompson writes: > Robert A Duff writes: >> "Jeffrey R. Carter" writes: >> >>> In short, New_Page is device-specific, should probably not have been >>> included in Text_IO, and should be avoided in portable SW. >> >> New_Line isn't exactly portable, either. ;-) > > New_Line produces an end-of-line marker. The way this is represented > varies from one system to another, but this is a *very* well-known > issue, and translating from one format to another is extremely common. Indeed. It's sad, but true. > New_Page produces an end-of-page marker. Most systems don't even have > such a thing. Well, control-L is pretty widely recognized as a form-feed, at least on hardware where that makes sense. > I agree that all the page-oriented stuff should have been left out of > the language. Not sure whom you're agreeing with, but I agree with that, too. I think Text_IO is badly designed, for many reasons, including this one. - Bob > We must do something. This is something. Therefore, we must do this. ;-)