News for hackers. Stuff that matters.
Re:X to close by nwp90 on Wednesday August 13, 2014 @12:00AM (#8171377)
No 'x' to close vi? Was that not always there? I've certainly been using it as long as I can remember; that's not to say it's always been there though - does anyone know when it was first available?

Edit: seems Wordstar used X too, probably starting in 1978.

Re:X to close by atsaloli on Wednesday August 13, 2014 @12:09AM (#8171394)
Well, that's different. You are talking about an "x" that you type in, as opposed to an "x" you can click on.

To answer your question, "x" (short for eXit) was available in vi from the beginning:

ZZ Exits the editor. (Same as :xCR)

Source: Bill Joy's "An Introduction to Display Editing with Vi" http://www.verticalsysadmin.com/vi/vi_editor__bill_joy.pdf

Re:X to close by nwp90 on Wednesday August 13, 2014 @12:15AM (#8171412)
Yes, it's different, but the article was trying argue that since "X" wasn't used in that context at the time it was introduced as a GUI element, the GUI element couldn't possibly be referencing the letter as a way of closing a program. While I agree that it's unlikely that the GUI "X" refers to a letter "X", that's not a valid argument for that position.

Edit: and thanks for the vi ref.

Re:X to close by atsaloli on Wednesday August 13, 2014 @12:24AM (#8171441)
Understood, and you're welcome!
Re:X to close by tatterdemalion on Wednesday August 13, 2014 @01:02AM (#8171535)
Nano also uses Ctrl+X to exit.
Re:X to close by gpvos on Wednesday August 13, 2014 @03:15AM (#8171799)
nano is from 1999, so hardly relevant.
Re:X to close by _ak on Wednesday August 13, 2014 @06:22AM (#8172236)
But nano is just a pico clone, and pico started out as pine's text editor. pine as a project was initiated in 1989.
Re:X to close by lwh on Wednesday August 13, 2014 @05:38AM (#8172139)
ex uses x to exit as well (1976).