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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: "G.B." Newsgroups: comp.lang.ada Subject: Re: Assembling Complex Strings Containing Carriage Returns Prior to Using Ada.Text_IO.Put? Date: Thu, 23 Oct 2014 13:38:15 +0200 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> <79gg4ahc1jeu6k9cl0ubl3ot5fjbq6sbjg@4ax.com> Reply-To: nonlegitur@futureapps.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 23 Oct 2014 11:38:10 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="b96887e80893c84a90c3007226ca0d1c"; logging-data="8470"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/wnJY5IjaEz+z/0yAU0ETzf/p9Ua5Ak7c=" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <79gg4ahc1jeu6k9cl0ubl3ot5fjbq6sbjg@4ax.com> Cancel-Lock: sha1:FPJfY9UvdWj0diE3M7xaawjK3R4= Xref: news.eternal-september.org comp.lang.ada:22687 Date: 2014-10-23T13:38:15+02:00 List-Id: On 23.10.14 01:45, Dennis Lee Bieber wrote: > On Wed, 22 Oct 2014 19:59:29 +0100, Simon Wright > declaimed the following: > >> 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. > > Practice when I first learned BASIC (on an ASR-33 time-share dial-up > system) was to use the sequence to add additional > buffering time (especially when reading from the paper tape). My machine had an ingenious mechanism: at the end of line, you did push a lever which would first move the carriage in such a way that the head would return to the beginning of the line, and then, as an effect of some finely tuned resisting mechanism based on fuzzy logic, it would transform the mechanical force into a rotary motion. This motion would advance the head downwards by some distance, allowing the head to continue writing more characters on the 2-dimensional tape storage. The distance downwards could be set to a number of discrete quanta, like 'Small. In effect, this was an easy and flexible way to adjust memory storage density. It worked in the horizontal dimension, too, allowing e m p h a s i s of certain important memory locations at the cost of some tape storage.