Trisha Shetty (Editor)

IBM Common User Access

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

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.

Contents

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.

Examples:

  • 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 D.
  • In emacs, a file is opened with Ctrl+x followed by Ctrl+f (for find-file).
  • F1 was often the help key (such as VolksWriter (1982)), 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 had similarities to Apple Computer's lavishly detailed human interface guidelines and may have been inspired by it. The Apple HIG is a detailed book specifying 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 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 could be done with either the mouse or the keyboard;
  • If applicable to the page/screen in questionF5 would provide 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 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.)

    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.

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

    References

    IBM Common User Access Wikipedia