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=unavailable autolearn_force=no version=3.4.4 Path: border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Assembling Complex Strings Containing Carriage Returns Prior to Using Ada.Text_IO.Put? Date: Wed, 22 Oct 2014 19:59:29 +0100 Organization: A noiseless patient Spider Message-ID: References: <7c1b89e6-9ab8-4faa-b60c-c5c4683f0bff@googlegroups.com> <87d29kfwip.fsf@ludovic-brenta.org> <4xQ1w.331852$Ub6.99057@fx20.iad> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="71797db6fbf0039ebda7a9c799ddb33f"; logging-data="1168"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18xeaKcIiG0IE1pBgOQOx/hsaOTRQojpJY=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:qQC+JirDxeKS7xJ+BL7TltBK/dg= sha1:EXuZca9zKmIPEsKwDigx2b+kS4o= Xref: number.nntp.giganews.com comp.lang.ada:189984 Date: 2014-10-22T19:59:29+01:00 List-Id: Jeffrey Carter writes: > CR & LF come to us from the Good Old Days of teletypes. CR returned > the mechanism so the next character would print in the 1st column; LF > advanced the paper a line. The 2 were separate so that a CR by itself > could be used to overprint a line. And you needed to do it in that order, because CR could take much longer than LF; do it in the wrong order and the first character of the next line would be a flying smudge in the middle of the line as the printing head glanced off the paper.