comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: New_Page
Date: Thu, 02 Nov 2006 20:17:16 -0500
Date: 2006-11-02T20:17:16-05:00	[thread overview]
Message-ID: <wccirhx2usj.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: lnwt6dpnwz.fsf@nuthaus.mib.org

Keith Thompson <kst-u@mib.org> writes:

> Robert A Duff <bobduff@shell01.TheWorld.com> writes:
>> "Jeffrey R. Carter" <spam.not.jrcarter@acm.not.spam.org> 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.

;-)



      reply	other threads:[~2006-11-03  1:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <zH%1h.42912$XE5.888@reader1.news.jippii.net>
2006-11-01 12:19 ` New_Page Georg Bauhaus
2006-11-01 18:29 ` New_Page Jeffrey R. Carter
2006-11-01 19:35   ` New_Page Robert A Duff
2006-11-02  2:14     ` New_Page Jeffrey R. Carter
2006-11-02 19:20       ` New_Page Tapio Marjom�ki
2006-11-02 19:53         ` New_Page Pascal Obry
2006-11-02 20:57     ` New_Page Keith Thompson
2006-11-03  1:17       ` Robert A Duff [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox