comp.lang.ada
 help / color / mirror / Atom feed
* Terminal Column Number
@ 1990-07-30 16:14 Charles H. Sampson
  0 siblings, 0 replies; only message in thread
From: Charles H. Sampson @ 1990-07-30 16:14 UTC (permalink / raw)



      Another article, titled TEXT_IO Anomaly, pointed out that the column
number for STANDARD_OUTPUT is unaffected by STANDARD_INPUT.  In particular,
the carriage return that terminates an input line does not set the column
number for STANDARD_OUTPUT to 1, even though the cursor is now blinking at
the left margin.

     From the ensuing discussion it seems clear to me that this behaviour is
a correct interpretation of the LRM.  My question is, "Is it useful?"  Does
anyone know of a meaningful piece of code that makes use of the column num-
ber for STANDARD_OUTPUT as it is currently implemented by (apparently) all
compiler writers?  (I don't know how other readers feel, but the less toy-
like an example is the more I find it convincing.)

                            Charlie Sampson

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1990-07-30 16:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1990-07-30 16:14 Terminal Column Number Charles H. Sampson

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