Marshall:

FYI: I can corroborate the Wikipedia story that if you printed a character immediately after the CR that it appears as a smudge during the carriage return. It's a remarkably clever, but dumb device. I can still imagine the sound of our school's teletype.

Boring story: When I was in High School, my friend Tim came up to me, and says "Hey, Marco! We have a computer at our school!" Needless to say, this was when having a computer at school would be a remarkable thing. Anyway, he leads me to Mr. Lamkin's math class, and shows me the teletype. It turns out that we didn't have a computer at school, but all the schools in the district were issued a teletype, acoustic MODEM and accounts on the timeshare (an HP-2000, if I recall correctly).

There were no computer classes at our school, so when Mr. Lamkin saw that we were interested in it, he gave us accounts on the computer and said we could use it as much as we liked.

We liked quite a lot! So we would often cut other classes to work on the computer in his math class, while he was teaching Trigonometry and Pre-calculus. As the teletype was a noisy beast, he got tired of hearing it during class. But rather than revoking our computer privileges, he got the school to move the teletype to an unused storage room, and gave us access to it there.

A few other guys were interested, and soon afterwards, we had a gang of us teaching ourselves computer programming.

One other fun fact: One of the guys in the group was my boss up until a few months ago.

Ah, well, end of old-man reminiscences...

...roboticus

When your only tool is a hammer, all problems look like your thumb.


In reply to Re^4: Carrige Return and Line Feed in Perl. by roboticus
in thread Carrige Return and Line Feed in Perl. by dannyd

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.