How did the word yank come to mean copying a text in vi and Emacs?
|
closed as off topic by TimLymington, Matt Эллен, F'x, simchona♦, kiamlaluno Sep 7 '11 at 11:15
Questions on English Language & Usage Stack Exchange are expected to relate to English language and usage within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.
|
Yank in the sense of pull is a BE term from early least 1800s - which makes sense in terms of "grab a copy of". It's still a common term for pull sharply. So if not older than yank (as a term for American) it is older than emacs (or even vi) |
|||||||||
|
|
The letter c was already taken for change so they couldn't use "copy". They needed another word. They couldn't use w for write, because it already means word. They couldn't use p for put, because it was already used for paste. And so on. (http://www.gammon.com.au/smaug/vi.htm has a list of vi commands.) Eventually someone came up with a word, yank, that didn't start with a letter that was already being used, and that at least vaguely carried the right meaning. Plus for some people, they remember it as the last letter of copy. The fact that you can think of words that better mean "copylike behaviour" isn't really the point. |
|||||
|