Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: trubolotta
For the life of me though, I can’t recall how we edited errors on the tape.

Read faulty tape to the spots that needed correction. Type in the changes. Write corrected program to fresh tape.

http://en.wikipedia.org/wiki/TECO_(text_editor)

How to change "Hello" to "Goodbye", from the above:

*EBhello.c$$                     Open file for read/write with backup
*P$$                             Read in the first page
*SHello$0TT$$                    Search for "Hello" and print the line
    printf("Hello world!\n");    The line
*-5DIGoodbye$0TT$$               Delete "Hello", insert "Goodbye", and print the line
    printf("Goodbye world!\n");  The updated line
*EX$$                            Copy the remainder of the file and exit

Then there were punched cards. There would be one card per line with punches to encode the characters and the characters dot-matrix printed across the top. To edit, you

At some point in the seventies, they introduced a new, improved key punch machine which had a buffer that could hold a one card in memory. It didn't have a display, however, just a two-digit position readout. However, if you realized you made a typo, you could back up and re-key. It didn't physically punch the card until you were done and hit the Release key.

91 posted on 09/26/2013 5:21:54 PM PDT by cynwoody
[ Post Reply | Private Reply | To 88 | View Replies ]


To: cynwoody

Thanks. That looks right (shaking cobwebs from cerebrum). Punch cards were never a problem. Those I remember how to do.


96 posted on 09/26/2013 5:38:07 PM PDT by trubolotta
[ Post Reply | Private Reply | To 91 | View Replies ]

To: cynwoody

I bow to superior old school knowledge!


112 posted on 09/26/2013 6:59:59 PM PDT by piytar (The predator-class is furious that their prey are shooting back.)
[ Post Reply | Private Reply | To 91 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson