<br><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Thu, Aug 09, 2012 at 07:01:47AM +0200, David Klasinc wrote:<br>
> >I can tell you the historical reasons. All windowing systems<br>
> >began with their coordinate systems with 0,0 in the upper left<br>
> >because that is where the scan lines begin. Lines are written<br>
> >from left to right, top to bottom.<br>
><br>
> Why the top left corner? I believe that even those historical<br>
> reasons are there for a, hehe, reason.<br>
><br>
> It has nothing to do with the hand movement and in which direction<br>
> it is easier to move the mouse. Honestly, moving mouse to the left<br>
> or to the right feels pretty much the same to me. We're moving a<br>
> relatively small and light mouse, we're not rowing a boat.<br>
><br>
> Focus is the key here. We are more focused on the top left corner<br>
> because (most of us) read from left to right and from top to bottom.<br>
> That is why putting everything in that corner is completely natural<br>
> and most ergonomic.<br>
<br>
The historical reasons have nothing to do with human factors and<br>
everything to do with the details of an electron beam scan in a<br>
CRT. Beams go left to right, flyback and scan lines go top to bottom<br>
on each frame. All the electronics (remember these kind of units<br>
were around when a large integrated circuit had an 8 bit shift<br>
register and most were TTL 7400 series... I suspect some even<br>
predated TTL. Characters were in hardware. There was one character<br>
set. The origin was upper left, the origin of the electron beam<br>
scan.<br>
<br>
Now, perhaps someone can dig back into the 1930's or earlier and<br>
find a reason for CRT's being left to right and top to bottom, but<br>
in the time frames we are talking about it is simply that technology<br>
builds on things that work and rarely is it worth the effort to<br>
go back and redo decades of engineering from scratch.<br>
<br>
You will always know that if you write to screen coordinate 0,0, it<br>
will be visible. Anything beyond that is an unknown.<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br>Well, CRT's probably went left to right, top to bottom, because Philo T. Farsworth<br>

was American, and therefor was used to reading and writing in that direction.<br>(My son once had a crush on Philo's granddaughter, BTW -- she was right handed.)<br><br>None of that had anything to do with computers, though. Most early computers<br>

did not use CRTs, which were too expensive and didn't display enough characters<br>(40 wide by 12 down) to be very useful.   "Real" computers used teletypes.<br><br>Bell ASR33 teletypewriters printed left to right, because they were designed<br>

to use English, and because they were basically typewriters. The had upper<br>case only, with the ASCII character set in hardware -- steel hardware. The<br>repairman's most important tool was an oil can. There was no electronics,<br>

only gears, levers, switches, motors, and electromagnets.<br><br>The carriage return (CR) button returned the print cylinder to the left margin.  <br>The line feed (LF) button scrolled the paper up one row, so the print went down.<br>

There was no backspace, form feed, or tab. These were inexpensive<br>machines, and that is why they were used for console devices on most<br>computers, and consequently, why the console device on your *nix box<br>today is still called a "tty".   <br>

<br>"ASR" stands for "Automatic Send Receive" which means that these units<br>were equipped with a paper tape reader and punch. An operator could <br>pre-punch a tape offline, using the "Rubout" key for editing.  Rubout<br>

(binary 11111111, or octal 377, nobody referred to 0xFF or decimal 256)<br>punched holes in all eight columns of the tape, which the receiving tty<br>would ignore by sputtering, but not advancing the carriage. (You could manually<br>

backspace the TAPE, just not the CARRIAGE).  The pre-punched tape was<br>then placed into the reader, and the tty connected to the telegraph line or<br>radio transmitter, and the message sent out.  This allowed the message<br>

to be transmitted at the full 110 baud rate of the machine, preserving<br>valuable bandwidth, and far surpassing the fastest telegraphers.<br><br>These machines were easy to adapt for computer consoles, then.  The paper tape<br>

punch would happily punch binary information, and you learned to ignore the<br>gymnastics of the print cylinder as it rattled against the right margin while the <br>binary tape was being produced.  The operator could then enter a short "bootstrap"<br>

program into the core memory using the binary switches on the console, and <br>the tape reader would load the working program automatically and (usually)<br>perfectly. It required less than 15 minutes to completely load a 4K word BASIC <br>

interpreter program.  [Using a PDP-8 with 12 bit words.] Once the interpreter was<br>running, you could read your BASIC program in using a paper tape, and modify it<br>line by line.  Then, by listing the program with the punch turned on, you made a new <br>

(edited) copy.<br><br>In interactive use, the Rubout key changed definitions. Rather than being ignored,<br>it was used to substitute for the non-existent backspace key. The interactive program<br>would echo a backslant, then one rubbed-out letter for each keypress, so you would <br>

have a printed record of your errors and corrections:<br>SEE WHAT HAPPENS WHEN WE EDIT THIS\SIHT TIDE\CHANGE THAT.<br> <br>The guys at Bell labs had better teletypes (their company made the things) so when<br>they made the UNIX operating system, they made use of such modern conveniences<br>

as lower case letters, working backspace keys, and 80 character wide carriages.<br>They could even assume that all of their computers would have disk drives, and <br>that the operating system would always be there to add a carriage return if you<br>

stored your text file with only a linefeed at the end of each line.  And, more and more<br>frequently, you would see people working with "glass teletypes" which used CRT tubes<br>rather than paper.<br><br>Then someone in Palo Alto hooked a mouse to a glass teletype, and the world changed again.<br>

<br>But the cursor still runs left to right, top to bottom.<br>--<br>Vernon<br><br></div></div>