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

IBM wanted a standard way to interact with text-based user interface software, whether the screen was a dumb terminal connected to a mainframe or a PS/2 with VGA graphics.[1] 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.[citation needed]

For example, to open a file:

  • 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, ^ K D (to get to the Opening Menu), followed by D.[2]
  • In emacs, a file is opened with Ctrl+x followed by Ctrl+f (for find-file).
  • In vi, use Esc to allow commands, then :espace. to open the file browser.

F1 was often the help key (such as Volkswriter (1982)[3]), but in WordPerfect, help was on F3 instead. 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. 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 memorised. 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 behavior might need to be unlearned for the new application.

The detailed CUA specification, published in December 1987, is 328 pages long. It has similarities to Apple Computer's detailed human interface guidelines (139 pages).[1] The Apple HIG is a detailed book specifying how software for the 1984 Apple Macintosh computer should look and function.[4] 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.[citation needed] 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 standalone personal computer. CUA also attempted to be a more measurable standard than the Apple HIG and had large sections formatted as checklists to measure compliance.

Description

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.

Some of these standards can be seen in the operation of Windows itself and DOS-based applications like the MS-DOS 5 full-screen text editor edit.com. CUA hallmarks include:

  • All operations can be done with either the mouse or the keyboard;
  • If applicable to the page/screen in question F5 provides a refresh function;
  • 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 covers DOS applications, but is 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 conform 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.

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.)

Influence

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. The well-known combination for closing a window, Alt+F4, stems from CUA.[5]

CUA never had significant impact on the design of Unix terminal (character-mode) applications, which preceded CUA by more than a decade.[citation needed] 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.

See also

References

  • 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 [1], 1992. (Partial archive)
  • IBM, Systems Application Architecture: Common User Access: Guide to User Interface Design, Document SC34-4289-00 1991 [2] [dead link]
  • IBM, Systems Application Architecture: Common User Access: Advanced Interface Design Reference, Document SC34-4290-00 1991 [3] [dead link]
  • Object-oriented interface design: IBM common user access guidelines (1st ed.). Que. 1992. ISBN 1565291700.
  1. ^ a b Alsop, Stewart II (1988-01-18). "Microsoft Windows: Eclectism in UI" (PDF). P.C. Letter. 4 (2): 6–7.
  2. ^ "WordStar reference manual for release 3.3" (PDF).
  3. ^ Shuford, Richard S. (May 1983). "Word Tools for the IBM Personal Computer". BYTE. Vol. 8, no. 5. pp. 176–216. Retrieved 19 October 2013.
  4. ^ Human Interface Guidelines: The Apple Desktop Interface. Addison-Wesley. 1987. ISBN 0-201-17753-6.
  5. ^ Chen, Raymond (18 September 2018). "Why is Alt+F4 the hotkey for closing a window? Why not Alt+F5 or Alt+F3?". The Old New Thing.