3 ms·
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 an
by nwp90 12y ago
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.
- atsaloli 12y agoWell, 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 http://www.verticalsysadmin.com/vi/vi_editor__bill_joy.pdf
- nwp90 12y agoYes, 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.
- atsaloli 12y agoUnderstood, and you're welcome!
- tatterdemalion 12y agoNano also uses Ctrl+X to exit.
- lwh 12y agoex uses x to exit as well (1976).