IBM Common User Access
Common User Access (CUA) is a standard for user interfaces to operating systems and computer programs. It was developed by IBM and first published in 1987 as part of their Systems Application Architecture. Used originally in the MVS/ESA, VM/CMS, OS/400, OS/2 and Microsoft Windows operating systems, parts of the CUA standard are now implemented in programs for other operating systems, including variants of Unix. It is also used by Java AWT and Swing.
Motivations and inspirations
CUA was a detailed specification and set strict rules about how applications should look and function. Its aim was in part to bring about harmony among DOS applications, which until then had independently implemented different user interfaces.
- In WordPerfect, the command to open a file was F7, 3.
- In Lotus 1-2-3, a file was opened with / (to open the menus), F (for File), R (for Retrieve).
- In Microsoft Word, a file was opened with Esc (to open the menus), T (for Transfer), L (for Load).
- In WordStar, it was Ctrl+K+O.
- In emacs, a file is opened with Ctrl+x followed by Ctrl+f (for find-file).
Some programs used Esc to cancel an action, while some used it to complete one; WordPerfect used it to repeat a character. Some programs used End to go to the end of a line, while some used it to complete filling in a form. F1 was often help, but in WordPerfect, help was on F3 instead. Ins sometimes toggled between overtype and inserting characters, but some programs used it for "paste".
Thus, every program had to be learned individually and its complete user interface memorized. It was a sign of expertise to have learned the UIs of dozens of applications, since a novice user facing a new program would find their existing knowledge of a similar application either of no use or actively a hindrance to understanding as learned behaviour might need to be unlearned for the new application.
The detailed CUA specification had similarities to Apple Computer's lavishly detailed human interface guidelines and may have been inspired from it. The Apple HIG is a detailed book specifying exactly how software for the Apple Macintosh computer should look and function. When it was first written, the Mac was new, and Graphical user interface (GUI) software was a novelty, so Apple took great pains to ensure that programs would conform to a single shared look and feel. CUA had a similar aim, but it faced the more difficult task of trying to impose this retroactively on an existing, thriving but chaotic industry, with the much more ambitious goal of unifying all UI— from personal computers to minicomputers to mainframes; and supporting both character and GUI modes; and both batch and interactive designs. By comparison, the Apple HIG only supported Interactive GUI on a single personal computer.
The CUA contains standards for the operation of elements such as dialog boxes, menus and keyboard shortcuts that have become so influential that they are implemented today by many programmers who have never read the CUA.
- All operations could be done with either the mouse or the keyboard;
- Menus are activated/deactivated with the F10 key;
- Menus are opened by pressing the Alt key plus the underlined letter of the menu name;
- Menu commands that require parameters to proceed are suffixed with an ellipsis ("…");
- Options are requested using secondary windows (often called dialog boxes);
- Options are divided into sections using notebook tabs;
- Navigation within fields in dialog boxes is by cursor key; navigation between fields is by pressing the Tab ↹ key; ⇧ Shift+Tab ↹ moves backwards;
- Dialog boxes have a 'Cancel' button, activated by pressing the Esc key, which discards changes, and an 'OK' button, activated by pressing Return, which accepts changes;
- Applications have online help accessed by a Help menu, which is the last option on the menu bar; context sensitive help can be summoned by F1;
- The first menu is to be called 'File' and contains operations for handling files (new, open, save, save as) as well as quitting the program; the next menu 'Edit' has commands for undo, redo, cut, copy, delete, paste commands;
- The Cut command is ⇧ Shift+Del; Copy is Ctrl+Ins; Paste is ⇧ Shift+Ins;
- The size of a window can be changed by dragging one of the 8 segments of the border.
CUA not only covered DOS applications, but was also the basis for the Windows Consistent User Interface standard (CUI), as well as that for OS/2 applications — both text-mode and the Presentation Manager GUI — and IBM mainframes which conformed to the Systems Application Architecture.
CUA was more than just an attempt to rationalise DOS applications — it was part of a larger scheme to bring together, rationalise and harmonise the overall functions of software and hardware across IBM's entire computing range from microcomputers to mainframes. This is perhaps partly why it was not completely successful.
The third edition of CUA took a radical departure from the first two by introducing the object-oriented workplace. This changed the emphasis of the user's interactions to be the data (documents, pictures, and so on) that the user worked on. The emphasis on applications was removed with the intention of making the computer easier to use by matching users' expectations that they would work on documents using programs (rather than operating programs to work on documents). (See also object-oriented user interface.)
CUA strongly influenced the early Microsoft Windows operating system during the period of joint IBM and Microsoft cooperation on OS/2 Presentation Manager. But later releases of IBM's CUA documents were not used for Microsoft products, and so CUA became less significant in the Windows environment. For instance, the Start menu was introduced. Most of the standard keystrokes and basic GUI widgets specified by the CUA remain available in Windows.
CUA has never had significant impact on Unix terminal (character-mode) applications. However, all major Unix GUI environments/toolkits (whether or not based on the X Window System) have featured varying levels of CUA compatibility, with Motif/CDE explicitly featuring it as a design goal. The current major environments, GNOME and KDE, also feature extensive CUA compatibility. The subset of CUA implemented in Microsoft Windows or OSF/Motif is generally considered a de facto standard to be followed by any new Unix GUI environment.
- IBM, Systems Application Architecture: Common User Access: Panel Design and User Interaction, Document SC26-4351-0, 1987.
- IBM, Systems Application Architecture: Common User Access: Advanced Interface Design Guide, Document SC26-4582-0, 1990.
- IBM, Systems Application Architecture: Common User Access: Basic Interface Design Guide, Document SC26-4583-00 , 1992.
- IBM, Systems Application Architecture: Common User Access: Guide to User Interface Design, Document SC34-4289-00 1991 
- IBM, Systems Application Architecture: Common User Access: Advanced Interface Design Reference, Document SC34-4290-00 1991 
- PDF (1.95 MiB), by Richard E. Berry, IBM Systems Journal, Volume 27, Nº 3, 1988. Citations. This link is down, PDF still available at: http://web.archive.org/web/20070927082756/http://www.research.ibm.com/journal/sj/273/ibmsj2703E.pdf
- PDF (2.68 MiB), by Richard E. Berry, Cliff J. Reeves, IBM Systems Journal, Volume 31, Nº 3, 1992. Citations.
- PDF (3.74 MiB), by Richard E. Berry, IBM Systems Journal, Volume 31, Nº 3, 1992. Citations.
- IBM BookManager SAA CUA bookshelf 1992