Linked by Thom Holwerda on Fri 9th Mar 2012 19:11 UTC
General Development "I was reading about vim the other day and found out why it used hjkl keys as arrow keys. When Bill Joy created the vi text editor he used the ADM-3A terminal, which had the arrows on hjkl keys, so naturally he reused the same keys." As interesting as that is, John Graham-Cumming goes even further back in history. "The reason that keyboard had those arrows keys on it was because those keys correspond to CTRL-H, J, K, L and the CTRL key back then worked by killing bit 6 (and bit 5) of the characters being typed." Truly fascinating stuff, even though it's from way before my time (I'm from 1984).
Permalink for comment 510130
To read all comments associated with this story, please click here.
RE: Comment by Kroc
by Hexadecima on Fri 9th Mar 2012 20:17 UTC in reply to "Comment by Kroc"
Hexadecima
Member since:
2010-09-01

Yes, ^M = 13 (carriage return). Similarly, ^H = 8 (backspace) and ^I = 9 (tab).

Reply Parent Score: 2