Thursday, December 6, 2018

Tabulature was a metal gear, by the way

The TAB key. It really did not come from making tips to the secretary.

The old typewriters, our first computers, quantum fixed through out,  had a mechanical device. You pounded on this tab key hard enough and you launched the carriage down the line until,whop, the next tab gear grabbed it. Let us get a picture, 1950s version:

Here it is. It did a mechanical puthar(); and device really did come from real device. 

It has the \r\n char in the arm to the left, it did the /r first, it a stop and forced a \n; and that is the source of the endless end of line confusion between linux and windows. Sometime, \r\n would spring load the tab with force for the return, and that is the endless debate about making tab stepped pretty code.  It felt the same, the preload tab, you hit the tab key, and shezzam, the carriage popped right, as you you were writing pretty code.

We kept the key board, miracles of miracles.  That is because we evolved to play pianos much earlier.

Do you see the first windows scroll bar ever?  Look hard, yes, they have the old mouse roll bar, on either side.  They had backspace often, another mechanical force derive from a whopper key on one side,  this has it, upper right. And when they said sift, boy they meant it.  Those shift keys would tilt and lift that whole typesetting ring, which were your font characters.

You could change the color of fonts, see the red stripe? They had black and red; and blue if you were special.  You could actually do Ncurses with this, kids did it all the time.  Using the scroll wheel to select Y, and with a release, the X axis would move freely.  Kids made character graphics straight away, and did not read 20,000 line of config a makefile.

The thing is, this did ncurses exactly like the current version.  All those special mechanical gears and swings and shifts, each lever, translated into a special char and inserted into Ncurses lib. You can literally make an emulator for this. Then take one of the character graphics generated by the kids on this typewriter. Scan it into a compiler, and generate the properly translated mechanical codes, send it to Ncurses, and it would draw the exact same thing on the screen, a friggin miracle as this was 1954, we were still vacuum tubing it.  By the way, we have software radios these days that emulate vacuum tubes.

The whole point, let us move to structured data, comma, dotted and parenthed system. Let us emulate the text itself and imagine bots who never in their day had ever seen a typewriter. Bots know Xchars fairly well.

No comments: