The History of the "Undo" Function?
TheLocustNMI asks: "So, earlier today as I was typing out some magnum opus of a stored procedure, I highlighted to copy it, and hit SPACE instead of Ctrl-C. Without thinking, I hit Ctrl-Z to 'undo' my folly. Pausing a moment to reflect, I realized that I own countless hours of thanks to whomever came up with the "undo" button. In short -- my question is this -- where did it come from? What are the earliest implementations of the 'undo'? (a quick googling returns this page, a cornucopia of undo and history related treatises)"
My guess would be that it's been around since the late '60s, if not earlier. It's something so useful, and so easy to implement, that I would be suprised if it hasn't been around at least that long.
Repeal the DMCA!
The "undo" button before computers was white-out. You could never have enough of that stuff around. Especially if you were from a family like mine with several kids doing term papers.
A better place to ask this question would be alt.folklore.computers on usenet.
Seeing how things have been lately, it's worth finding an answer for this question before someone attempts to patent the idea.
IIRC, there was an example in the Arabian Nights. Of course, this was long before computers but it still worked like magic.
-- MarkusQ
P.S. On a more serious note, I wouldn't be all that shocked to learn that 'undo' wasn't implemented on a computer before the 1970s. My main reason for thinking that is that it is relatively expensive, and really only useful in interactive environments. When you're editing your program by manually shuffling h-cards, there isn't much sense in having "undo".
how the undo data is stored. I mean, every keystroke in Word can be undone, does the undo simply go through the list of most recently done actions and invert them, does that mean when programming a big application with 'undo' features that every function you write has to be able to work 'backwards'?
Or is it just incremental changes saved in memory?
.. or do you find yourself saying "Control-Z" in your mind whenever you find yourself making mistakes while not sitting in front of a computer..spilling a glass of milk...etc
That's right people ... Apple did it first (at least in a consumer machine).
The original Macintosh had "undo" functionality in its applications, right from the start.
The Apple IIGS also had "undo" functionality.
There may have been one or two individual applications before it (I don't know) but the Mac made "undo" ubiquitous.
I bet amazon wishes they could undo this... mistake
In 1984 history undoes YOU!
Yes, MIT's Lincoln Reckoner had multiple-level undo/redo in 1968. That used a screen editor, so it would be the kind of undo you are talking about, however it was probably inspired by IBM's APL line-based workspace editor.
APL programmers had multiple-level undo/redo on their selectric typewriters around 1965. Each interaction was numbered, and you could select the number of the last interaction you wanted to keep. This would reset the entire workspace so that all variables, your program image, and options would be restored. This worked by saving the workspace each time a command completed, and was also useful for restoring sessions after interrupted connections.
Single-level undo appeared much earlier -- the first IBM teletype line editors in the late 1950s had single-level undo.
So, earlier today as I was typing out some magnum opus of an e-mail message in Outlook, I highlighted to copy it, and hit SPACE instead of Ctrl-C. Without thinking, I hit Ctrl-Z twice to 'undo' my folly. While the spaced-over text reappeared with the first Ctrl-Z, it disappeared again with the second Ctrl-Z. My typing was now undone forever, leaving me with a blank message. Pausing a moment to reflect, I realized that whoever came up with the "undo" button without providing a "redo" button only did a half-hearted job.
btw, the "Done buns can't be undone" saying from Insomnia keeps on playing in my head...
Flourescent (adj): smelling like ground wheat.
... where the Z is located, well, I guess you can figure it out.
This sig under construction. Please check back later.
Drive a nail where you didn't want it?
Wee ... Offtopic +1!
--- Jason Olshefsky
Karma: Poser (mostly affected by adding this line long after everyone else did)
NI added undo to LabVIEW in the 5.0 release (ca. 1997) of the product. It was really funny how the marketing from NI revolved around that feature. "Now with UNDO!" You would think that promoting the introduction of a feature that is so ubiquitous in most other desktop software would be less than effective--that people would groan because they had expected it for so long. However, at one of their trade shows, the presenter mentioned the new UNDO and got a standing ovation.
Don't, things are sure to 'break' if you hit Ctrl+C.
thank God the internet isn't a human right.
The Xerox Alto system I first used around 1980 (and it wasn't new that year) had an undo function that worked in every program and could take you all the way back to the beginning of your session. If I remember you could have it work contiuously somehow, and it would undo all your work before your eyes.
BTW, the system was also a WYSIWYG high res windowed display, with three button mouse, laser printer, removable (personal) hard drive, drag and drop file handling, ethernet with an internet (arpanet, actually) connection. The first thing I ever saw on it was someone in Rochester, NY playing a 3-D real-time multiplayer game (mazewars?) with someone in California.
I have never quite recovered from the IBM PC downgrade.
You ever tried to pick up chicks by elaborating on the history of the undo command in a dark bar?
Let me know how it works out.
It's Christmas everyday with BitTorrent.
The Atari ST series certainly weren't the first to support undo in applications, but they did have a dedicated "Undo" key (as well as a dedicated "Help" key). Far more useful to a new user than Ctrl-Z or F1 yet something that is still missing, even from most of the current range of expanded keyboards.
The Interlisp Editor had an "Undo" function in 1975. See the directory listing here.
Interlisp in all its incarnations had a module called DWIM (Do What I Mean) which caught typos and thinkos in your input and offered to correct them for you. It was at its smartest fixing spelling errors and inserting parentheses (it would guess '(foo)' when you typed 9foo0, for example).
DWIM could be turned off, set so it asked you before changing anything, or set to automatically fix your inputs. That last setting would be completely intolerable without UNDO, which Interlisp also had, so even if DWIM guessed wrong, corrected your input to the moral equivalent of 'rm *', and ran it, you could still recover with UNDO and try again.
The oldest Interlisp reference I can find is the 1978 Interlisp reference manual. Lisp was on Altos as early as 1973, hacked up by L. Peter Deutsch. For an academic take on UNDO, see this paper from ACM TOPLAS (courtesy of Citeseer).
To a Lisp hacker, XML is S-expressions in drag.
I remember a rudimentary CAD program for the Apple ][+, circa 1982 or 1983. I wish I could remember the name...
I personally first encountered "Undo" on the Mac in 1984. But this CAD program had a function... they didn't call it "commit." I don't remember the exact language they DID use.
The idea was that you never had to worry about making mistakes, because every action you took was tentative, and would be shown to you as a preview before taking effect.
So you'd give a command to draw a line, you'd see the line onscreen, and you could either accept it (in which case it became part of the drawing) or reject it (in which case it disappeared).
The weird thing about all this is that logically, it is exactly equivalent to an "undo" function.
And the even weirder thing is that while an "undo" function feels empowering and liberating... when the exact same function was presented as "tentative action, preview, accept/reject" it felt clumsy and laborious.
To me, anyway.
"How to Do Nothing," kids activities, back in print!
Lawyers, for instance, routinely re-use the headers and formatting from old documents. With [undo across save], sensitive information from a client's case can make its way into documents for other cases.
Can't a user configure Microsoft Word to "slow save" a document, deleting all undo-across-save information, whenever closing it? If so, how? If not, would all the attorneys in the audience please throw a few dollars this way?
Will I retire or break 10K?
Control-Z brings to mind the old DOS EOF character. The proper "undo" is either "u" or Control-Shift-_
What about Command+Z, the Mac OS undo keystroke that Microsoft shamelessly copied into Ctrl+Z in the Windows OS?
Will I retire or break 10K?
Oracle doesn't seem inclined to add this functionality to a lot of it's products...great way to ruin productivity...